This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5329 - xsi:schemaLocation considered invalid
Summary: xsi:schemaLocation considered invalid
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://scooter.rubyforge.org/
Whiteboard:
Keywords:
: 5642 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-24 23:52 UTC by Daniel Brumbaugh Keeney
Modified: 2008-04-17 12:31 UTC (History)
1 user (show)

See Also:


Attachments

Description Daniel Brumbaugh Keeney 2007-12-24 23:52:27 UTC
At the beginning of an otherwise perfectly valid document:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd" xml:lang="en" dir="ltr">


will cause a validation error


Line 2, Column 116: there is no attribute "xsi:schemaLocation" .

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element.


even though schemaLocation is a valid attribute in a root element of a document according to http://www.w3.org/TR/xmlschema-1/#xsi_schemaLocation, a W3C recommendation.
Comment 1 Olivier Thereaux 2008-04-17 12:26:18 UTC
*** Bug 5642 has been marked as a duplicate of this bug. ***
Comment 2 Olivier Thereaux 2008-04-17 12:31:39 UTC
I forwarded the feedback to the group maintaining the machine-readable schemas for XHTML 1.1:
http://lists.w3.org/Archives/Public/www-html-editor/2008AprJun/0011.html