[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

schema for XHTML 1.0

From: Wolfgang Jeltsch <wolfgang@jeltsch.net>
Date: Fri, 15 Sep 2006 21:36:51 +0200
To: xmlschema-dev@w3.org
Message-Id: <200609152136.51674.wolfgang@jeltsch.net>
schema for XHTML 1.0

Hello,

the schema for XHTML 1.0 Strict which is linked to from 
http://www.w3.org/TR/xhtml1-schema/ and whose URL is 
http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd seems to be incorrect.  
XMLmind's XML editor outputs the following validation errors upon loading 
this schema:

	[1]
	cannot derive simpleType by restriction: "([-+]?(\d+|\d+(\.\d+)?%)(,\s*[-+]?
	(\d+|\d+(\.\d+)?%))*)" invalid value for pattern facet: character "-" must be
	escaped with "\" in this context [st-props-correct.1]

	[2]
	cannot derive simpleType by restriction: "([-+]?(\d+|\d+(\.\d+)?%))" invalid
	value for pattern facet: character "-" must be escaped with "\" in this
	context [st-props-correct.1]

	[3]
	cannot derive simpleType by restriction: "([-+]?(\d+|\d+(\.\d+)?%)|[1-9]
	(\d+)?\*)" invalid value for pattern facet: character "-" must be escaped
	with "\" in this context [st-props-correct.1]

What's the reason for this?  Is escaping the - characters enough to get a 
correct schema?

Best wishes,
Wolfgang
Received on Friday, 15 September 2006 19:37:06 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.