A reference XHTML 1.1 document with XSD validation

For reference, as attachments to this message, follows an XHTML 1.1 
document whose validation rules are expressed via XSD. The document 
looks as follows:

<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.w3.org/1999/xhtml
                          http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
<head><title>Foo</title></head><body><h1>Bar</h1></body></html>

NOTE: The document breaks the XML 1.0 validity constraint that the name 
part of the DOCTYPE must match the root element. But this XML 1.0 
specified validity constrain does often not seem to be respected by 
schema based XML tools. The purpose of serving up these attachments (a 
.xhtml copy and a .html copy) is to serve as reference in a planned 
discussion at xmlschema-dev@.
-- 
leif halvard silli

Received on Saturday, 9 February 2013 22:23:49 UTC