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 6573 - Fix URI of recommended MathML2 System Identifier
Summary: Fix URI of recommended MathML2 System Identifier
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: Types Registry (show other bugs)
Version: 0.8.4
Hardware: PC All
: P2 normal
Target Milestone: 0.8.6
Assignee: Ville Skyttä
QA Contact: qa-dev tracking
URL: http://lists.w3.org/Archives/Public/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 15:21 UTC by Olivier Thereaux
Modified: 2010-03-02 18:56 UTC (History)
3 users (show)

See Also:


Attachments

Description Olivier Thereaux 2009-02-13 15:21:54 UTC
[ Copying from report on www-validator list:
  http://lists.w3.org/Archives/Public/www-validator/2009Feb/0025.html ]

According to 

Mathematical Markup Language (MathML) Version 2.0 (Second Edition)
W3C Recommendation 21 October 2003

A.2.3 MathML as a DTD Module
a document should contain the doctype declaration

<!DOCTYPE html
   PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
          "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"


But if this is doctype is used the validator at
http://validator.w3.org/

gives the following warning:

Mismatch between Public and System identifiers in the DOCTYPE declaration
   This document uses an inconsistent DOCTYPE declaration. 

   The Public Identifier  
	-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN 
declares the XHTML 1.1 plus MathML 2.0 document type, 
but the associated System Identifier
	http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd 
does not match this document type.
Comment 1 Ville Skyttä 2009-02-15 17:49:44 UTC
FWIW,

http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd
This seems to be a XHTML+MathML (no SVG) DTD

http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd
But this seems to be a XHTML+MathML+SVG one.  It doesn't mention the "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" public id which is what I gather the OP was using.

I don't know if it's a problem to refer to a XHTML+MathML+SVG DTD when one is looking for a XHTML+MathML (only) one.  If it is, I suppose it's a bug in the MathML spec.
Comment 2 Olivier Thereaux 2009-02-18 15:37:15 UTC
Forwarded to Math WG (password-protected link, but for reference, adding it anyway):
http://lists.w3.org/Archives/Member/member-math/2009Feb/0226.html
Comment 3 Olivier Thereaux 2009-02-18 20:13:31 UTC
(In reply to comment #2)
> Forwarded to Math WG 

Useful and fast reply from David Carlisle: 

[[
It's for mathml+xhtml, there are some param entities for svg but they
are set to ignore as the dtd is built using the xhtml+svh+html
modularisation dtd, but tuned for just mathml and html.

there's some information about the driver file used at
http://www.w3.org/Math/characters/
]]

So it looks like we should indeed be using :
http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd

I'll make sure the DTD used by the validator is up to date, too.
Comment 4 JoeJava 2009-04-03 19:37:00 UTC
What is holding up closing this bug?
Comment 5 Ville Skyttä 2009-09-21 20:07:15 UTC
Fixed in CVS, will be in 0.8.6.  The DTD in validator's sgml-lib was already the correct one.
Comment 6 Ville Skyttä 2009-11-12 21:33:54 UTC
*** Bug 8270 has been marked as a duplicate of this bug. ***
Comment 7 Ville Skyttä 2010-03-02 18:56:55 UTC
Fix included in 0.8.6.