[Bug 13484] New: XSLT bug in the transformation for XSD 1.1 CR

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13484

           Summary: XSLT bug in the transformation for XSD 1.1 CR
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: saasha@acc.umu.se
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


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!

Saašha,

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 31 July 2011 23:04:50 UTC