-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specification of the Elements in the info Element #27
Comments
In addition I would like to propose to put a maxOccurs=1 on all of the elements below Info, this helps tell the tooling that there will at most be one instance of each and therefore a singular field can be used instead of a list. Assuming the idea is no to have multiple "version", multiple "author" etc... |
As far as I know, in a XSD file is "maxOccurs=1" and "minOccurs=1" by default. But making it explicit is good style. |
I also think that the default value is 1 and except for the element version, all would then be present once per info element. But the info element content (sequence) can occur several times (if I have understood the schema correctly). |
Made some minor updates in 0.4.4 (now online)
|
I think the info element has the (impicit) definition minOccurs="1" maxOccurs="1" and occurs only once. |
Thanks for update. 'name' element as required makes sense. For the author element I would then separate it and not mix things up. The author element should be free text (prefered 'optional'; it makes sense to declare it in practice, but should not be 'required' by the specification). |
This is now processed in 0.5.0 |
Suggested changes to the info element:
In the info element the version element shouldn’t be decimal. E.g. version name '0.4.2' is not decimal compatible.
We prefer none of the elements are required (-> minOccurs="0") except the ifcversion element. Especially the copyright element shouldn’t be required. Copyright is an organizational/juridical/contractual question which shouldn’t be given by a technical specification.
The author element shouldn’t make any restriction, especially no constriction to email address.
The text was updated successfully, but these errors were encountered: