XML Schema Part 2: Datatypes

In Appendix F, Regular Expressions, of XML Schema Part 2: Datatypes, there is a
problem with the interpretation of a '.' (period) character in a character class
expression.  From the text regarding character ranges, I believe it was intended
that a period in a character class expression should represent itself.  However,
a period is defined as being one of the multi-character escapes [39]
MultiCharEsc, which is a branch of [25] charClassEsc, which is a branch of [14]
posCharGroup.  The other branch of [14] posCharGroup is a charRange, which also
includes the period character (it is a valid per [20] XmlChar).  Thus, the
period character occurs in both branches of the formal definition and the
informal text does not make clear that the period should be interpreted as
representing itself within a class rather than as representing [^\n\r].

Received on Friday, 13 April 2001 15:53:37 UTC