Skip to content
Snippets Groups Projects
Commit 86dbea1e authored by Anders Nilsson's avatar Anders Nilsson
Browse files

Some fixes

parent a0328cb9
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -49,6 +49,7 @@ XsList : ComplexElement;
XsMaxInclusive : ComplexElement;
XsMinInclusive : ComplexElement;
XsMinExclusive : ComplexElement;
XsMaxLength : ComplexElement;
XsMinLength : ComplexElement;
XsPattern : ComplexElement;
XsRestriction : ComplexElement;
......
......@@ -99,6 +99,7 @@ SPECIAL_TOKEN : /* COMMENTS */
| < XS_MAXINCLUSIVE : "xs:maxInclusive" >
| < XS_MININCLUSIVE : "xs:minInclusive" >
| < XS_MINEXCLUSIVE : "xs:minExclusive" >
| < XS_MAXLENGTH : "xs:maxLength" >
| < XS_MINLENGTH : "xs:minLength" >
| < XS_PATTERN : "xs:pattern" >
| < XS_RESTRICTION : "xs:restriction" >
......@@ -374,6 +375,7 @@ void Element() : {}
| XsMaxInclusive()
| XsMinInclusive()
| XsMinExclusive()
| XsMaxLength()
| XsMinLength()
| XsPattern()
| XsRestriction()
......@@ -499,6 +501,12 @@ void XsList() #XsList : {}
(">" ElementList() "</" <XS_LIST> ">" | ElementList() "/>")
}
void XsMaxLength() #XsMaxLength : {}
{
<XS_MAXLENGTH> AttributeList()
(">" ElementList() "</" <XS_MAXLENGTH> ">" | ElementList() "/>")
}
void XsMinLength() #XsMinLength : {}
{
<XS_MINLENGTH> AttributeList()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment