W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2005

schemaLocation attribute has no place in XHTML specification

From: Bob Foster <bob@objfac.com>
Date: Sun, 31 Jul 2005 18:46:19 -0700
Message-ID: <42ED7EEB.301@objfac.com>
To: www-html-editor@w3.org

I strongly object to the provision in section 3.1.1 that: "The start tag 
must also contain an xsi:schemaLocation attribute. The schema location 
for XHTML 2.0 is defined to be http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd."

This is absurd. XML Schema is incapable of expressing any but the most 
trivial constraints in this specification and thus is useless for any 
practical validation of XHTML.

But it would be just as wrong to require a reference to a RELAX NG (or a 
RELAX NG + Schematron, which would be more useful) schema. The XHTML 
committee should not be deciding for XHTML users how their XHTML 
documents are validated, much less specifying a specific schema for the job.

Bob Foster
Bocaloco Software LLC
http://xmlbuddy.com/
Received on Monday, 1 August 2005 01:46:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT