Skip to content
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

Element and simpletype have same name #428

Open
kflemin opened this issue Jan 12, 2022 · 0 comments
Open

Element and simpletype have same name #428

kflemin opened this issue Jan 12, 2022 · 0 comments

Comments

@kflemin
Copy link
Contributor

kflemin commented Jan 12, 2022

The Tightness element is defined twice in the schema.

First use at line 262: https://github.com/BuildingSync/schema/blob/develop-v3/BuildingSync.xsd#L262
and type: links back to "Tightness", which could be interpreted as line 262 or line 14697:
https://github.com/BuildingSync/schema/blob/develop-v3/BuildingSync.xsd#L14697

PROPOSAL: change type= to "TightnessType" rather than just "Tightness".

  1. change line 262 to:
    <xs:element name="Tightness" type="auc:TightnessType" minOccurs="0">
  2. change line 9894 to:
    <xs:element name="TightnessFitCondition" type="auc:TightnessType" minOccurs="0">
  3. change line 14697 to:
    <xs:simpleType name="TightnessType">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant