[Bug 24780] Request to clarify proper use of explicit UCS code point numbers in regular expression.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24780

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
If you want to refer to characters by codepoint in an XSD regex, use XML
numeric character references, e.g. value="&#x20AC;".

\x and \u are not permitted in an XSD regex. There are some XSD processors,
however, that are non-conformant in this regard, and that accept these even
though they are not allowed by the spec.

It is indeed confusing that the EBNF notation used to specify what is allowed
in regular expressions is similar to, but not the same as, the regular
expression syntax that it is specifying. Hence the note. As far as I can see,
you have read the note and it has helped to resolve the confusion.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 23 February 2014 23:58:03 UTC