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

Re: Regular expressions: confirmation needed

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Jun 2003 10:08:51 +0100
To: Eric van der Vlist <vdv@dyomedea.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bu1a86ifw.fsf@erasmus.inf.ed.ac.uk>

Eric van der Vlist <vdv@dyomedea.com> writes:

> 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?

That's my reading.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 30 June 2003 05:11:25 UTC

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