Project

Profile

Help

Bug #2957

closed

<xsl:variable> as attribute causes XTTE0570: The implicit value () is not valid for the declared type error

Added by Kerri Harris about 8 years ago. Updated almost 7 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
2016-09-23
Due date:
% Done:

0%

Estimated time:
Platforms:

Description

When using an XSLT2.0 xsl file that is using a xsl:variable with an as attribute like such:

<xsl:variable name="outerpacking" as="xsd:string" select="nsmpr1:LicensePlateNumber"/>

.

And the Saxon.newXSLT20Processor(xsl) and transformToDocument(xml) APIs we get the following error:

XTTE0570: The implicit value () is not valid for the declared type error

.

Saxon-CE should be able to handle the new XSLT 2.0 "as" attribute for xsl:variable.


Files

variableas.zip (2.33 KB) variableas.zip Kerri Harris, 2016-09-23 19:56
WSH_SHIPME_ADVICE_TO_OTM_01.00.0000.iar (70.1 KB) WSH_SHIPME_ADVICE_TO_OTM_01.00.0000.iar Kerri Harris, 2016-09-26 17:52

Please register to edit this issue

Also available in: Atom PDF