Altova Mailing List Archives

RE: [xsl] i18n and l10n question

From: "Michael Kay" <mike@------------>
Date: 11/13/2006 4:04:00 PM
>   The only place where the "my" prefix was used is the @name 
> of an xsl:function.  So I guess the processor is already an 
> XSLT 2.0 processor.  I guess the OP just copy and paste my 
> sample without adding the namespace declaration.

The stack trace showed that he was using Xalan/XSLTC. 

If you specify version="2.0" on a stylesheet and submit it to a 1.0
processor, it runs in forwards-compatibility mode. This means that the
<xsl:function> element will be ignored; but if there's an XPath expression
that calls my:function without declaring the prefix my, it's quite likely
this will give a compile-time error.

Michael Kay


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.