W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2009

[Bug 6795] ^ should not be allowed by XmlCharIncDash

From: <bugzilla@wiggum.w3.org>
Date: Thu, 09 Apr 2009 07:28:33 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Lrogb-0001QL-HG@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6795





--- Comment #1 from Michael Kay <mike@saxonica.com>  2009-04-09 07:28:33 ---
Personal response:

I think this is covered by the prose rule in XML Schema Part 2:

"The ^ character is only valid at the beginning of a Ěpositive character groupĚ
if it is part of a Ěnegative character groupĚ"

(and the subsequent note which points out that this rule is needed to
disambiguate the grammar).

The revision to this text in XSD 1.1 Part 2 describes the rule more clearly:

"If the first character in a charGroup is '^', this is taken as indicating that
the charGroup starts with a negCharGroup. A posCharGroup can itself start with
'^' but only when it appears within a negCharGroup, that is, when the '^' is
preceded by another '^'. "

Come to think of it, I'm not sure why this needs to be written in English - it
feels like it could have been achieved in the BNF.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 9 April 2009 07:28:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:57 GMT