-
Notifications
You must be signed in to change notification settings - Fork 22
Refactor/update simple types #350
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.
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.
nonNegativeInteger
looks great!
Got two minor questions on the general 'integer/decimal' restriction on Perimeter
and ConditionedVolume
.
@@ -709,7 +709,7 @@ | |||
</xs:annotation> | |||
<xs:complexType> | |||
<xs:simpleContent> | |||
<xs:extension base="xs:integer"> | |||
<xs:extension base="xs:nonNegativeInteger"> |
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.
Why is Perimeter
limited to integer
but not 'decimal`? @nllong
@@ -1794,7 +1794,7 @@ | |||
</xs:annotation> | |||
<xs:complexType> | |||
<xs:simpleContent> | |||
<xs:extension base="xs:integer"> | |||
<xs:extension base="xs:nonNegativeInteger"> |
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.
Again, why is ConditionedVolume
limited to integer
?
See proposal.