Skip to content

Commit

Permalink
Merge pull request #159 from donmendelson/issue152
Browse files Browse the repository at this point in the history
[repositorySchema] mappedDatatype lacks size attribute #152
  • Loading branch information
donmendelson authored Apr 20, 2022
2 parents 7ab4750 + da08a11 commit 9bae267
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 15 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@

name: Java CI with Maven

on:
push:
branches:
- master
- 'v[1-9]**'
pull_request:
branches:
- master
- 'v[1-9]**'
on: [push, pull_request]

jobs:
build:
Expand Down
27 changes: 22 additions & 5 deletions repository/src/main/resources/xsd/repositorytypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -627,18 +627,35 @@
</xs:sequence>
<xs:attribute name="standard" type="fixr:datatypeStandard_t" use="required"/>
<xs:attribute name="builtin" type="xs:boolean"/>
<xs:attribute name="base" type="xs:string"/>
<xs:attribute name="pattern" type="xs:string"/>
<xs:attribute name="element" type="xs:string"/>
<xs:attribute name="base" type="xs:string">
<xs:annotation>
<xs:documentation>A datatype from which a subtype is created by restriction or a derived type is created by a generator</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="pattern" type="xs:string">
<xs:annotation>
<xs:documentation>A lexical restriction from a base type</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="element" type="xs:string">
<xs:annotation>
<xs:documentation>Element type of an aggregate type such as an array or sequence</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="size" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Size of an aggregate type such as an array. That is, the number of elements.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="parameter" type="xs:string"/>
<xs:attribute name="minInclusive" type="xs:string">
<xs:annotation>
<xs:documentation>Inclusive lower bound</xs:documentation>
<xs:documentation>Inclusive lower bound of values</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxInclusive" type="xs:string">
<xs:annotation>
<xs:documentation>Inclusive upper bound</xs:documentation>
<xs:documentation>Inclusive upper bound of values</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
Expand Down
2 changes: 1 addition & 1 deletion repository/src/test/resources/examples/mit_2016.xml

Large diffs are not rendered by default.

0 comments on commit 9bae267

Please sign in to comment.