- From: Michael Kay <mhk@mhk.me.uk>
- Date: Thu, 12 Feb 2004 14:29:38 -0000
- To: "'Henry S. Thompson'" <ht@inf.ed.ac.uk>
- Cc: <www-xml-schema-comments@w3.org>
Thanks. Michael Kay > -----Original Message----- > From: Henry S. Thompson [mailto:ht@inf.ed.ac.uk] > Sent: 12 February 2004 13:35 > To: Michael Kay > Cc: www-xml-schema-comments@w3.org > Subject: Re: XML Schema XPath subset: NCName:* > > > "Michael Kay" <mhk@mhk.me.uk> writes: > > > In section 3.11.6 of XML Schema Part 1, the production rule > is given: > > > > [4] NameTest ::= QName | '*' | NCName ':' '*' > > > > This creates the impression that spaces are allowed either > side of the > > ":" in NCName:*, and some schema processors (e.g. Xerces) appear to > > allow such spaces. > > As published, the REC doesn't allow any whitespace _at all_ > in patterns, per the XML 1.0 interpretation of EBNF. > > Following a comment [1], an erratum [2] was issued clarifying > that whitespace was allowed as per XPath 1.0. This > clarification does not allow whitespace between the tokens of > a NameTest. > > ht > > [1] > http://www.w3.org/2001/05/xmlschema-rec-comments.html#pfiIdCon strWhiteSp [2] http://www.w3.org/2001/05/xmlschema-errata#e1-6 -- 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@inf.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 Thursday, 12 February 2004 09:29:01 UTC