Problem
The RELAX NG Compact schema currently contains a syntax error in the definition of propertyAttr.
The problematic fragment is:
propertyAttr =
attribute * - ( local:* | rdf:RDF | rdf:ID |
rdf:annotation | rdf:annotationNodeID |
rdf:about | rdf:parseType |
rdf:resource | rdf:nodeID | rdf:datatype | rdf:version |
rdf:li | its:dir | | its:version
rdf:Description | rdf:aboutEach |
rdf:aboutEachPrefix | rdf:bagID |
xml:* ) {
string
}
There is an extra | between its:dir and its:version:
rdf:li | its:dir | | its:version
This makes the RELAX NG Compact schema syntactically invalid.
Expected behavior
The RELAX NG Compact schema should be parseable as valid RNC.
Suggested fix
Remove the extra | and ensure that the exclusion list is syntactically valid, for example:
rdf:li | its:dir | its:version |
rdf:Description | rdf:aboutEach |
or reformat the exclusion list to make this kind of typo easier to detect.
Problem
The RELAX NG Compact schema currently contains a syntax error in the definition of
propertyAttr.The problematic fragment is:
There is an extra
|betweenits:dirandits:version:This makes the RELAX NG Compact schema syntactically invalid.
Expected behavior
The RELAX NG Compact schema should be parseable as valid RNC.
Suggested fix
Remove the extra
|and ensure that the exclusion list is syntactically valid, for example:or reformat the exclusion list to make this kind of typo easier to detect.