buildingSMART / BCF-XML

XML specification for BIM Collaboration Format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markup schema defines File as required in markup header

TitouanGisle opened this issue · comments

Hi !

Currently, according to the markup.xsd schema, at least one File element is required in the Header of a Markup file, since its minOccurs attribute defaults to 1 :

<xs:complexType name="Header">
	<xs:sequence>
		<xs:element name="File" maxOccurs="unbounded">
                ...

Unless I am mistaken, it doesn't seem to be the intended behaviour, since a Topic doesn't need to be related to a File.

It should probably be

<xs:complexType name="Header">
	<xs:sequence>
		<xs:element name="File" minOccurs="0" maxOccurs="unbounded">
                ...

Thank you @TitouanGisle, we'll address the issue in BCF 3.0

This is fixed together with #260