W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2003

Regular expressions: confirmation needed

From: Eric van der Vlist <vdv@dyomedea.com>
Date: 27 Jun 2003 10:46:37 +0200
To: xmlschema-dev@w3.org
Message-Id: <1056703596.16048.145.camel@delleric>


Many (most?) languages do accept octal and hex escapes (such as \x#20)
in regular expressions.

The rec is clear (IMO) that these escapes are not allowed (at least I
haven't found them in the EBNF for patterns) and Xerces agrees and
rejects them. 

However, I have a customer who insists using them, saying that they are
mentioned in Microsoft's doc (but I haven't found where) and that MSXML
4.0 does accept them (which I can confirm).

Can you confirm that these escapes are forbidden and that numeric
entities should be used instead?



Did you know it? Python has now a Relax NG (partial) implementation.
Upcoming Schema languages tutorial (registration open):
 - July 7th   (Portland, OR)      http://makeashorterlink.com/?K27A527A4
 - August 4th (Montreal, Canada)  http://makeashorterlink.com/?U28A217A4
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
Received on Friday, 27 June 2003 04:46:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:11 UTC