W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

XML Schema Part 2: Datatypes

From: Bruce D. Sinclair <b.sinclair@liant.com>
Date: Fri, 13 Apr 2001 14:52:04 -0500
To: <www-xml-schema-comments@w3.org>
Message-ID: <000001c0c453$372b7b20$5f03348a@liant.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT