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.
http://hsivonen.iki.fi/validator/? 
doc=http%3A%2F%2Fwww.w3.org%2F&schema=http%3A%2F%2Fwww.w3.org%2F2002%2F0 
8%2Fxhtml%2Fxhtml1-strict.xsd&laxtype=yes
(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
http://www.w3.org/TR/xmlschema-0/#regexAppendix

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
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 4 May 2005 16:50:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:04 UTC