Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • PyI40AAS PyI40AAS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Lehrstuhl für Informations- und AutomatisierungssystemeLehrstuhl für Informations- und Automatisierungssysteme
  • PyI40AASPyI40AAS
  • Issues
  • #35
Closed
Open
Issue created Dec 26, 2019 by Sebastian Heppner@sebastian.heppnerOwner

XSD-Schema: missing `minOccurs="0"` in element `value` of `file_t`

Class File has attribute value with cardinality 0..1: File

Therefore, the XSD-Schema should have a minOccurs="0" in the element defintion of value to comply with this.

Current Version:

	<complexType name="file_t">
		<complexContent>
			<extension base="aas:submodelElementAbstract_t">
				<sequence>
					<element name="mimeType" type="string"/>
					<element name="value" type="aas:pathType_t"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>

Proposed Fix:

	<complexType name="file_t">
		<complexContent>
			<extension base="aas:submodelElementAbstract_t">
				<sequence>
					<element name="mimeType" type="string"/>
					<element minOccurs="0" name="value" type="aas:pathType_t"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
Edited Feb 28, 2020 by Sebastian Heppner
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking