Subject:Validation of XHTML with Saxon and .NET XML Parser Author:Vasil Rangelov Date:18 Aug 2007 10:25 AM Originally Posted: 18 Aug 2007 10:21 AM
This is more of a bug actually...
I just tried using Stylus Studio to write XHTML 1.1 document and validate it. It validated everywhere except with Saxon and .NET XML Parser. I believe however that the reason MAY be in Stylus Studio. Here's why.
Error on line 128 of http://www.w3.org/MarkUp/SCHEMA/xhtml11-modules-1.xsd:
Invalid restriction: attribute @version is inconsistent with the base type. Type FPI is
not validly derived from type FPI Warning: The schema is invalid
Warning: Validation will continue without the schema at http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd
Validation error on line 2 column 206 of file:///d:/htdocs/company/ilia_site/navigation.xml:
Cannot validate <html>: no element declaration available Validation error on line 2 column 206 of file:///d:/htdocs/company/ilia_site/navigation.xml:
Cannot validate <html>: no element declaration available Validation of source document failed
and with .NET XML Parser I get
Running custom validation engine .NET XML Parser...