<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5996</bug_id>
          
          <creation_ts>2008-08-27 14:53:28 +0000</creation_ts>
          <short_desc>XHTML 1.1 specification example invalid</short_desc>
          <delta_ts>2009-02-02 21:22:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>HEAD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xhtml11/conformance.html#strict</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Sturm">kind</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>granroth</cc>
    
    <cc>ot</cc>
    
    <cc>shane</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21668</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Sturm">kind</who>
    <bug_when>2008-08-27 14:53:28 +0000</bug_when>
    <thetext>The validator says that the following example of the XHTML 1.1 Sepecification is invalid.
(it can be found here http://www.w3.org/TR/xhtml11/conformance.html#strict )

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot;
    &quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;
     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
     xsi:schemaLocation=&quot;http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd&quot;
     xml:lang=&quot;en&quot; &gt;
  &lt;head&gt;
    &lt;title&gt;Virtual Library&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;Moved to &lt;a href=&quot;http://example.org/&quot;&gt;example.org&lt;/a&gt;.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;

This shouldn&apos;t be possible, I guess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21669</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-08-27 20:31:52 +0000</bug_when>
    <thetext>After looking around a little, it looks like the validator is using the Recommendation (stable standard) version of the DTD in its catalog, while XHTML 1.1 has gone back to working draft.

in sgml-lib/xml.soc

-- XHTML --

PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot;
       &quot;REC-xhtml11-20010531/xhtml11-flat.dtd&quot;
PUBLIC &quot;-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN&quot;
       &quot;REC-xhtml11-20010531/xhtml11-model-1.mod&quot;

updating the DTD in my local instance of the validator (and on http://qa-dev.w3.org/wmvs/HEAD/ ) does NOT seem to have done the trick. I will check again when I return from this trip, in a week or so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21959</commentid>
    <comment_count>2</comment_count>
    <who name="Davin Granroth">granroth</who>
    <bug_when>2008-09-19 15:00:11 +0000</bug_when>
    <thetext>I also ran into this bug while attempting to build a page using the doctype from the referenced page.

The error pointed to xsi:schemaLocation as an issue. 

I&apos;m just a user of the validator, so don&apos;t know the ins-and-outs. Two basic observations:

1. The namespace prefix xsi on the schemaLocation attribute doesn&apos;t seem to register, so checking the attribute xsi:schemaLocation would fail outright.

2. Since 1, schemaLocation fails as it 
  1. isn&apos;t a listed attribute name
  2. it is uses mixed-case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23395</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2009-02-02 21:22:21 +0000</bug_when>
    <thetext>The example given now validates fine. I suspect whatever transient issue with the DTD hosted by the XHTML WG has recently been fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>