Sam Ruby wrote:
...
Why would they be legal with the RNG grammar????
From <http://www.w3.org/TR/xmlschema-2/#dt-whiteSpace>:
For all ·atomic· datatypes other than string (and types ·derived· by
·restriction· from it) the value of whiteSpace is collapse and
cannot be changed by a schema author; for string the value of
whiteSpace is preserve; for any type ·derived· by ·restriction· from
string the value of whiteSpace can be any of the three legal values.
Thanks for the XML Schema lesson. I wasn't aware of that.
That being said, the RNC grammar for atom contains:
atomId = element atom:id {
atomCommonAttributes,
(atomUri)
}
# Unconstrained; it's not entirely clear how IRI fit into
# xsd:anyURI so let's not try to constrain it here
atomUri = text
Well, *now* it seems that we really need to clarify.
Best regards, Julian