<?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>5785</bug_id>
          
          <creation_ts>2008-06-23 04:10:19 +0000</creation_ts>
          <short_desc>errors in xhtml-mobile11.dtd DTD</short_desc>
          <delta_ts>2008-07-03 16:26:23 +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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bryce Nesbitt">bryce2</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ot</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>20738</commentid>
    <comment_count>0</comment_count>
    <who name="Bryce Nesbitt">bryce2</who>
    <bug_when>2008-06-23 04:10:19 +0000</bug_when>
    <thetext>Validate this:

&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//WAPFORUM//DTD XHTML Mobile 1.1//EN&quot;
&quot;http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;title&gt;test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

You&apos;ll get 10 errors with line numbers that are not even in the source file.  It seems to be having some issues with the DTD, and falsely blaming the input source code.  So this is really two bug report: improper line numbers, and a parsing issue with the 1.1 DTD.

----------------------

Replace the DTD with 1.0 or 1.2 and it works fine:

&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//WAPFORUM//DTD XHTML Mobile 1.0//EN&quot;
&quot;http://www.wapforum.org/DTD/xhtml-mobile10.dtd&quot;&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//WAPFORUM//DTD XHTML Mobile 1.2//EN&quot;
&quot;http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd&quot;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20746</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-06-23 12:56:14 +0000</bug_when>
    <thetext>Hi Bryce,

This is caused by problems with the xhtml-mobile11.dtd from OMA/WAP Forum. I&apos;ve contacted them regarding this issue.

The issue with errors in DTDs being shown as if they were errors in the document is already recorded in Bug 301.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20753</commentid>
    <comment_count>2</comment_count>
    <who name="Bryce Nesbitt">bryce2</who>
    <bug_when>2008-06-23 17:36:58 +0000</bug_when>
    <thetext>Yep.  I&apos;ve repeatedly reported bugs in those DTDs, but to no effect.  The 1.0 and 1.2 DTD&apos;s break my Java Integrated Development Environment, with a file not found error on:
http://www.openmobilealliance.org/tech/DTD/xhtml-special.ent
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20960</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-06-27 13:04:41 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This is caused by problems with the xhtml-mobile11.dtd from OMA/WAP Forum. I&apos;ve
&gt; contacted them regarding this issue.


Shane looked at the DTD for xhtml-mobile11. found a typo, and reported it to the right people, who ack&apos;d the issue. I expect the DTD should be fixed very soon.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21046</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-07-03 15:56:50 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Shane looked at the DTD for xhtml-mobile11. found a typo, and reported it to
&gt; the right people, who ack&apos;d the issue. I expect the DTD should be fixed very
&gt; soon.


The DTD has been fixed on the OMA website.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21051</commentid>
    <comment_count>5</comment_count>
    <who name="Bryce Nesbitt">bryce2</who>
    <bug_when>2008-07-03 16:26:23 +0000</bug_when>
    <thetext>Thanks, that&apos;s great!  Another blow for the cause of valid markup.

I hope that the Bug #301 issue is also eventually dealt with.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>