- From: Houghton,Andrew <houghtoa@oclc.org>
- Date: Thu, 20 Sep 2007 15:51:13 -0400
- To: <www-validator@w3.org>
I have the following XHTML 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" > <html xml:lang="en" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <!-- … --> </html> The validator complains with the message: Line ?, Column ??: there is no attribute "xsi:schemaLocation". When I look at the XHTML 1.1 specification, section 2.1.1, item 4, it says that you may include an xsi:schemaLocation. BTW, the example in the XHTML 1.1 specification, section 2.1.1 appears to be incorrect, since the xsi:schemaLocation is missing the namespace for XHTML and only gives the location of the schema definition. It seems to me that the validator should not be issuing a message on the above XHTML 1.1, but I might be overlooking something in the specification and would welcome some advice. Thanks, Andy.
Received on Thursday, 20 September 2007 19:51:32 UTC