Character ranges in the XSD version XHTML 1.0 Strict

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