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

[repositorySchema] mappedDatatype lacks size attribute #152 #159

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.