Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Remove deprecated camelCase types from modules for usnistgov#558 (usn…
Browse files Browse the repository at this point in the history
…istgov#562)

Found a few deprecated cases in core Metaschema module and some examples
from the test suite.
  • Loading branch information
aj-stein-nist authored and david-waltermire committed Jun 20, 2024
1 parent f29dd9b commit e1260cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schema/metaschema/metaschema-module-metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
</constraint>
</define-field>

<define-flag name="alt-name-index" as-type="nonNegativeInteger">
<define-flag name="alt-name-index" as-type="non-negative-integer">
<formal-name>Numeric Index</formal-name>
<description>Used for binary formats instead of the textual name.</description>
<use-name>index</use-name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<formal-name>Integer</formal-name>
<description>Per W3C</description>
</define-field>
<define-field name="posInt" as-type="positiveInteger" min-occurs="1" max-occurs="1">
<define-field name="posInt" as-type="positive-integer" min-occurs="1" max-occurs="1">
<formal-name>Positive Integer</formal-name>
<description>1 or more</description>
</define-field>
<define-field name="nonNegInt" as-type="nonNegativeInteger" min-occurs="1" max-occurs="1">
<define-field name="nonNegInt" as-type="non-negative-integer" min-occurs="1" max-occurs="1">
<formal-name>Non-negative Integer</formal-name>
<description>zero or more</description>
</define-field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<description>A <b>collection</b> of literary excerpts</description>
<root-name>ANTHOLOGY</root-name>
<flag ref="id"/>
<define-flag name="fans" as-type="nonNegativeInteger">
<define-flag name="fans" as-type="non-negative-integer">
<formal-name>fans</formal-name>
<description>How many fans?</description>
</define-flag>
Expand Down

0 comments on commit e1260cc

Please sign in to comment.