[Bug 6795] ^ should not be allowed by XmlCharIncDash

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 UTC