Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: schema for XHTML 1.0

From: "Michael Kay" <mike@--------.--->
To: "'Wolfgang Jeltsch'" <wolfgang@-------.--->, <xmlschema-dev@--.--->
Date: 9/15/2006 9:54:00 PM
There's a long history to this. The original schema spec was inconsistent
about whether "-" had to be escaped or not; they then issued an erratum
saying it had to be escaped; this erratum was later withdrawn. It looks like
you are using a schema processor that implements the erratum that was
subsequently withdrawn.

Michael Kay 

> -----Original Message-----
> From: xmlschema-dev-request@w... 
> [mailto:xmlschema-dev-request@w...] On Behalf Of Wolfgang Jeltsch
> Sent: 15 September 2006 20:37
> To: xmlschema-dev@w...
> Subject: 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
> 


From wolfgang@j... Fri Sep 15 19:56:16 2006
Received: from lisa.w3.org ([128.30.52


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent