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 13484 - XSLT bug in the transformation for XSD 1.1 CR
Summary: XSLT bug in the transformation for XSD 1.1 CR
Status: NEW
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: editorial
Depends on:
Blocks:
 
Reported: 2011-07-31 23:04 UTC by saasha
Modified: 2013-07-15 10:06 UTC (History)
1 user (show)

See Also:


Attachments

Description saasha 2011-07-31 23:04:47 UTC
Hello!

The two parts of the XHTML 1.0 version of the candidate recommendation for the XML schema definition language 1.1 are available at
http://www.w3.org/TR/2011/CR-xmlschema11-1-20110721/ and
http://www.w3.org/TR/2011/CR-xmlschema11-2-20110721/

These two documents link to their non-normative XML versions at
http://www.w3.org/TR/2011/CR-xmlschema11-2-20110721/datatypes.xml and
http://www.w3.org/TR/2011/CR-xmlschema11-1-20110721/structures.xml which, according to their first lines, should be transformed with a serie of XSL transformations.

None of these XML files seems to work with the web browsers I have used to try to read them. The reason for that seems to reside in one transformation called diffspec_custom.xsl and available at
http://www.w3.org/TR/2011/CR-xmlschema11-2-20110721/diffspec_custom.xsl (for example). This transformation uses XSLT version 1.1, which is retired and not well supported. The change from version 1.0 is annotated on line 28. Changing the version from 1.1 to 2.0 would require to fix some types mismatches, for example on lines 118 132 148 where the xs:boolean variable show.nsq.diffs is compared to the xs:integer 1. One the other hand, the XSLT version could be changed back to 1.0 combined with avoiding the xsl:with-param elements which are children of xsl:apply-imports on lines 266 and 295.

Regards!

Saaha,
Comment 1 David Ezell 2011-08-12 15:48:37 UTC
WG notes that the xml files indeed do not load properly.  We will investigate.