Skip to content

Commit

Permalink
Closes #337 (#372)
Browse files Browse the repository at this point in the history
Co-authored-by: Yoram Kulbak <[email protected]>
  • Loading branch information
ykulbak and Yoram Kulbak authored Oct 9, 2023
1 parent c86a4da commit 9e06008
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
10 changes: 2 additions & 8 deletions Schemas/markup.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
<xs:attributeGroup ref="FileAttributes"/>
</xs:complexType>
<xs:attributeGroup name="FileAttributes">
<xs:attribute name="IfcProject" type="IfcGuid" use="optional"/>
<xs:attribute name="IfcSpatialStructureElement" type="IfcGuid" use="optional"/>
<xs:attribute name="IfcProject" type="IfcGuid"/>
<xs:attribute name="IfcSpatialStructureElement" type="IfcGuid"/>
<xs:attribute name="IsExternal" type="xs:boolean" default="true"/>
</xs:attributeGroup>
<!-- Reference to a document inside of the topic folder or a url pointing to the web -->
Expand Down Expand Up @@ -165,10 +165,4 @@
</xs:sequence>
<xs:attribute name="Guid" type="Guid" use="required"/>
</xs:complexType>
<xs:simpleType name="IfcGuid">
<xs:restriction base="xs:string">
<xs:length value="22"/>
<xs:pattern value="[0-9A-Za-z_$]*"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
6 changes: 6 additions & 0 deletions Schemas/shared-types.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="IfcGuid">
<xs:restriction base="xs:normalizedString">
<xs:length value="22"/>
<xs:pattern value="[0-9A-Za-z_$]*"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
10 changes: 1 addition & 9 deletions Schemas/visinfo.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<xs:element name="OriginatingSystem" type="NonEmptyOrBlankString" minOccurs="0"/>
<xs:element name="AuthoringToolId" type="NonEmptyOrBlankString" minOccurs="0"/>
</xs:sequence>
<xs:attribute ref="IfcGuid"/>
<xs:attribute name="IfcGuid" type="IfcGuid"/>
</xs:complexType>
<xs:attribute name="Color">
<xs:simpleType>
Expand All @@ -173,14 +173,6 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="IfcGuid">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:length value="22"/>
<xs:pattern value="[0-9A-Za-z_$]*"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:complexType name="Line">
<xs:sequence>
<xs:element name="StartPoint" type="Point"/>
Expand Down

0 comments on commit 9e06008

Please sign in to comment.