-
Notifications
You must be signed in to change notification settings - Fork 22
Add eGRIDSubregionCodes #387
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
baller
BuildingSync.xsd
Outdated
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="eGRIDSubregionCode"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need a maxOccurs="unbounded" here, assuming we want to allow more than one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the xs:sequence element implies “unbounded" - if not, I should add maxOccurs="unbounded".
Similarly, do we need to add minOccurs="1" to make it valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nllong sorry which line is that? It's just linking to a file diff
The default value for both the minOccurs and the maxOccurs attributes is 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revised.
To allow multiple child elements under eGRIDSubregionCodes
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="eGRIDSubregionCode" maxOccurs="unbounded"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
See proposal.
Resolve #358 and #383