Oxygen verion 9.3 doesn't recognise XLST 2.0 function "lower-case" [SEC=UNCLASSIFIED]

Hi, I am running Oxygen9.3. I am trying to use an XSLT 2.0 function "lower-case()". For some reason the XLST doesn't recognise this function. I get the error: SystemID: G:\asdd\work\dif2anzlic\DIF-ISO-ANZLIC.xsl Location: 1378:0 Description: Error in expression lower-case(.): Unknown system function: lower-case I don't understand why this is not working. I have set my preferences to use Saxon-B 9.0.0.6 for XSLT 2.0 Validation. Is there some other setting that I need to make? A snippet of the XSL code is: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" ... ... <xsl:for-each select="dif:ISO_Topic_Category"> <gmd:topicCategory> <gmd:MD_TopicCategoryCode> <xsl:value-of select="lower-case(normalize-space(.))"/> </gmd:MD_TopicCategoryCode> </gmd:topicCategory> </xsl:for-each> ... Thanks. John

On 30 okt 2008, at 04.36, <John.Hockaday@ga.gov.au> <John.Hockaday@ga.gov.au
wrote:
Hi,
I am running Oxygen9.3. I am trying to use an XSLT 2.0 function "lower-case()". For some reason the XLST doesn't recognise this function. I get the error:
SystemID: G:\asdd\work\dif2anzlic\DIF-ISO-ANZLIC.xsl Location: 1378:0 Description: Error in expression lower-case(.): Unknown system function: lower-case
I don't understand why this is not working. I have set my preferences to use Saxon-B 9.0.0.6 for XSLT 2.0 Validation. Is there some other setting that I need to make?
Check what xslt transformer is used for the actual transformation. As far as I know, it's Saxon 6.5 , (which is an xslt 1.0 transformer) by default.
A snippet of the XSL code is:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" ... ... <xsl:for-each select="dif:ISO_Topic_Category"> <gmd:topicCategory> <gmd:MD_TopicCategoryCode> <xsl:value-of select="lower-case(normalize-space(.))"/> </gmd:MD_TopicCategoryCode> </gmd:topicCategory> </xsl:for-each>
...
Thanks.
John _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
------ What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren tommy.nordgren@comhem.se

Tommy Nordgren wrote:
SystemID: G:\asdd\work\dif2anzlic\DIF-ISO-ANZLIC.xsl Location: 1378:0 Description: Error in expression lower-case(.): Unknown system function: lower-case
Check what xslt transformer is used for the actual transformation. As far as I know, it's Saxon 6.5 , (which is an xslt 1.0 transformer) by default.
Indeed, the above error message doesn't look like a Saxon 9 message. Hope that helps, -- Florent Georges http://www.fgeorges.org/

Hello, No, the default validator is Saxon 9 because the XSL editor will detect automatically the XSLT version from <xsl:stylesheet version="2.0" ... Your XSLT 2.0 code fragment is valid. I just tried that in Oxygen. Just to make sure the error refers to that code fragment please run the action Validate Document (the Validate toolbar or the Document -> Validate menu) on the attached stylesheet. Is there any validation error? Regards, Sorin Tommy Nordgren wrote:
Check what xslt transformer is used for the actual transformation. As far as I know, it's Saxon 6.5 , (which is an xslt 1.0 transformer) by default.
A snippet of the XSL code is:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" ... ...
participants (4)
-
Florent Georges
-
John.Hockaday@ga.gov.au
-
Sorin Ristache
-
Tommy Nordgren