OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xslt-conformance-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Public Comment


Comment from: elharo@metalab.unc.edu

I believe Microsoft test case Namespace__78027
is incorrect. It is as follows:

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="">  
 
<xsl:output method="xml"/>  
<xsl:template match="/">  
<xsl:copy-of select="/xslTutorial"/>  
</xsl:template>  

</xsl:stylesheet>  

The catalog says this is an error, but the XSLT spec requires this to be 
treated in forwards compatible mode:

An element enables forwards-compatible mode for itself, its attributes, its descendants and their attributes if either it is an xsl:stylesheet element whose version attribute is not equal to 1.0

Note the lack of a requirement that this be numerically greater than 1.0. It simply has to be anything other than 1.0, including the empty string. 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]