W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Character ranges in the XSD version XHTML 1.0 Strict

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 4 May 2005 19:50:04 +0300
Message-Id: <a0a4c8e4ff23427ddbf7b93a1fbbf056@iki.fi>
To: www-html@w3.org

I tried out the XSD support of Jing using the XSD version of XHTML 1.0.
(Please reload if IO times out. The eager timeout is a known problem.)

Jing (or presumably Xerces used by it) complains about regexp character  
ranges of the form '[-+]'. It says '-' must be escaped as '\-'. This  
makes sense considering the examples at

However, I have trouble deciphering what  
http://www.w3.org/TR/xmlschema-2/#regexs actually says. It looks like  
'[-+]' could be allowed.

Which one is wrong: the validator or the schema?

Henri Sivonen
Received on Wednesday, 4 May 2005 16:50:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC