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 5084 - Problem with display of XML version of datatypes.xml
Summary: Problem with display of XML version of datatypes.xml
Status: ASSIGNED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: needsDrafting
Depends on:
Blocks:
 
Reported: 2007-09-28 21:02 UTC by C. M. Sperberg-McQueen
Modified: 2008-07-29 01:17 UTC (History)
0 users

See Also:


Attachments

Description C. M. Sperberg-McQueen 2007-09-28 21:02:57 UTC
In both the 1E (2001) and 2E (2004) publications of XSDL 1.0 Datatypes,
there is a problem which prevents the proper display of the XML version
of the document in Firefox:  the entity nbsp is referred to, but not
defined in the internal DTD subset.  (Since Firefox and other Mozilla-based
browsers do not consult the external DTD subset, all entities used must be
defined in the internal subset in order for things to work as they should.)

Tests run locally suggest that adding a definition of nbsp suffices to
make both the 2001 and 2004 versions of datatypes.xml, and the 
2004 version of datatypes-with-errata.xml, display correctly in Firefox.

There is no analogous problem in either the Primer or in Structures;
the XML versions of both display fine in Firefox.

Other browsers do not display the formatted XML even with the change
described above:  Opera reports an XSLT processing error because the 
stylesheet uses the document() function, which Opera does not currently 
support.  Safari reports no error, but also displays only a blank window.  
I haven't found an error console in Safari, so I don't know what the problem 
is.  I have not been able to check in Internet Explorer.

We should probably request that 1E and 2E be republished in place, with
the missing entity declaration supplied.  (An entity may also be
missing in compDefs.xml, but I don't have time to track that down just
now.)

For the future, we may wish to consider whether we want to publish the
XML version of the spec in a form that does not require the stylesheet
to use the document() function.
Comment 1 C. M. Sperberg-McQueen 2007-09-28 21:05:24 UTC
Sorry; I should have mentioned that bug 5084 reflects an error report 
originally filed by Jes Burkitt on 10 January 2007 at 
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2007JanMar/0030