Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: Redefine and Import used together - is this valid? >Thread Next - Re: schema for XHTML 1.0 schema for XHTML 1.0To: xmlschema-dev@--.--- Date: 9/15/2006 11:37:00 PM 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:43:27 2006 Received: f | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
