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 5785 - errors in xhtml-mobile11.dtd DTD
Summary: errors in xhtml-mobile11.dtd DTD
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 04:10 UTC by Bryce Nesbitt
Modified: 2008-07-03 16:26 UTC (History)
1 user (show)

See Also:


Attachments

Description Bryce Nesbitt 2008-06-23 04:10:19 UTC
Validate this:

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

You'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:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
Comment 1 Olivier Thereaux 2008-06-23 12:56:14 UTC
Hi Bryce,

This is caused by problems with the xhtml-mobile11.dtd from OMA/WAP Forum. I'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.
Comment 2 Bryce Nesbitt 2008-06-23 17:36:58 UTC
Yep.  I've repeatedly reported bugs in those DTDs, but to no effect.  The 1.0 and 1.2 DTD's break my Java Integrated Development Environment, with a file not found error on:
http://www.openmobilealliance.org/tech/DTD/xhtml-special.ent
Comment 3 Olivier Thereaux 2008-06-27 13:04:41 UTC
(In reply to comment #1)
> This is caused by problems with the xhtml-mobile11.dtd from OMA/WAP Forum. I've
> 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'd the issue. I expect the DTD should be fixed very soon.
Comment 4 Olivier Thereaux 2008-07-03 15:56:50 UTC
(In reply to comment #3)
> Shane looked at the DTD for xhtml-mobile11. found a typo, and reported it to
> the right people, who ack'd the issue. I expect the DTD should be fixed very
> soon.


The DTD has been fixed on the OMA website.
Comment 5 Bryce Nesbitt 2008-07-03 16:26:23 UTC
Thanks, that's great!  Another blow for the cause of valid markup.

I hope that the Bug #301 issue is also eventually dealt with.