[Top] [All Lists]

RE: schema aware - validating result using xhtml schema

2005-11-22 08:31:44
The schema for XHTML 1.1 is 
published in


which is a working draft, although it is described as "almost 
complete". If
you download the .ZIP version of that spec at
ion.zip, it includes the schema as a set of separate files; 
but I'm not
aware of a location where you can refer to the files directly.

Saxon unfortunately reports that schema as being invalid! - will have to
follow up on that.

In the past I've used a schema at


which is referenced from the NOTE at 


With that schema Saxon reports:

Saxon-SA 8.6.1 from Saxonica
Java version 1.5.0_05
Loading schema document
Loading schema document http://www.w3.org/2001/xml.xsd
Finished loading schema document http://www.w3.org/2001/xml.xsd
Finished loading schema document
Stylesheet compilation time: 5167 milliseconds
Processing file:/c:/temp/test.xsl
Building tree for file:/c:/temp/test.xsl using class
Tree built in 10 milliseconds
Tree size: 29 nodes, 66 characters, 10 attributes
Writing to anonymous output stream
Validation error on line 16 of file:/c:/temp/test.xsl:
  In content of element <html>: The content model does not allow element
<body> to appear
  here. Expected: {http://www.w3.org/1999/xhtml}head
Transformation failed: Run-time errors were reported

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>