Trang conversion and validation errors
Posted: Wed Oct 05, 2005 11:28 pm
Hi,
I've been experimenting with James Clark's XHTML Modularization:
http://www.thaiopensource.com/relaxng/xhtml/
I downloaded the relaxng schema and validated a *simple* xhtml document against it in Oxygen 6.2. It validates no problem. So far so good.
I then convert the relax ng schema to a W3C XML schema, and use the resulting schema to validate the same XHTML document. This time I get a bunch of errors:
Location: 7:34
Description: E cos-nonambig: "http://www.w3.org/1999/xhtml":del and "http://www.w3.org/1999/xhtml":del (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
URL: http://www.w3.org/TR/xmlschema-1/#cos-nonambig
Any help on this greatly appreciated.
-Chris
I've been experimenting with James Clark's XHTML Modularization:
http://www.thaiopensource.com/relaxng/xhtml/
I downloaded the relaxng schema and validated a *simple* xhtml document against it in Oxygen 6.2. It validates no problem. So far so good.
I then convert the relax ng schema to a W3C XML schema, and use the resulting schema to validate the same XHTML document. This time I get a bunch of errors:
Location: 7:34
Description: E cos-nonambig: "http://www.w3.org/1999/xhtml":del and "http://www.w3.org/1999/xhtml":del (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
URL: http://www.w3.org/TR/xmlschema-1/#cos-nonambig
Any help on this greatly appreciated.
-Chris