We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Greetings,
I think I have found an erratum in the compact syntax spec (compact-20021121.html).
compact-20021121.html
§ A.1 contains the following production primary:
primary returns Element ::= "element" nameClass(isElem := true)x "{" patterny "}" { <element> x y </element> } | "attribute" nameClass(isElem := false)x "{" patterny "}" { <attribute> x y </attribute> } | "mixed" "{" patternx "}" { <mixed> x </mixed> } | "list" "{" patternx "}" { <list> x </list> } | datatypeNamex optParamsy { <data x > y </data> } | datatypeNamex datatypeValuey { <value x > y </value> } | datatypeValuex { <value> x </value> } | "empty" { <empty/> } | "notAllowed" { <notAllowed/> } | "empty" { <text/> } | refx { <ref name= x /> } | "parent" refx { <parentRef name= x /> } | "grammar" "{" grammarx "}" { <grammar> x </grammar> } | "external" anyURILiteralx optInherity { <externalRef href=mapSchemaRef(x) y /> }
"element"
"{"
"}"
<element>
</element>
"attribute"
<attribute>
</attribute>
"mixed"
<mixed>
</mixed>
"list"
<list>
</list>
<data
>
</data>
<value
</value>
<value>
"empty"
<empty/>
"notAllowed"
<notAllowed/>
<text/>
<ref name=
/>
"parent"
<parentRef name=
"grammar"
<grammar>
</grammar>
"external"
<externalRef href=
Two alternatives match on the keyword "empty", one producing <empty/> and the other producing <text/>.
My assumption is that the one producing <text/> should be matching the keyword "text" instead.
"text"
The text was updated successfully, but these errors were encountered:
Yes, I think that's right.
Sorry, something went wrong.
No branches or pull requests
Greetings,
I think I have found an erratum in the compact syntax spec (
compact-20021121.html
).§ A.1 contains the following production primary:
primary returns Element ::=
"element"
nameClass(isElem := true)x"{"
patterny"}"
{
<element>
x y</element>
}|
"attribute"
nameClass(isElem := false)x"{"
patterny"}"
{
<attribute>
x y</attribute>
}|
"mixed"
"{"
patternx"}"
{
<mixed>
x</mixed>
}|
"list"
"{"
patternx"}"
{
<list>
x</list>
}| datatypeNamex optParamsy
{
<data
x>
y</data>
}| datatypeNamex datatypeValuey
{
<value
x>
y</value>
}| datatypeValuex
{
<value>
x</value>
}|
"empty"
{
<empty/>
}|
"notAllowed"
{
<notAllowed/>
}|
"empty"
{
<text/>
}| refx
{
<ref name=
x/>
}|
"parent"
refx{
<parentRef name=
x/>
}|
"grammar"
"{"
grammarx"}"
{
<grammar>
x</grammar>
}|
"external"
anyURILiteralx optInherity{
<externalRef href=
mapSchemaRef(x) y/>
}Two alternatives match on the keyword
"empty"
, one producing<empty/>
and the other producing<text/>
.My assumption is that the one producing
<text/>
should be matching the keyword"text"
instead.The text was updated successfully, but these errors were encountered: