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>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:27 UTC