根據以下URL,我啓用了XSLT 2.0支持,看起來像TryIt服務的外觀如何,當我這樣做時。WSO2 ESB 4.0.3和XSLT 2.0支持
,當我嘗試使用TryIt服務我得到下面的錯誤。
[2012-09-10 11:47:03,491] INFO - CarbonAuthenticationUtil 'admin' logged in at [2012-09-10 11:47:03,0491] from IP address 0:0:0:0:0:0:0:1%0
Warning: at xsl:stylesheet on line 32 of :
Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Warning: on line 286 of :
The attribute axis starting at a namespace() node will never select anything
Error on line 1603 of :
XPTY0004: Required item type of second operand of '|' is node(); supplied value has item
type xs:string
[2012-09-10 11:47:09,515] ERROR - Util Required item type of second operand of '|' is node(); supplied value has item type xs:string
; SystemID: ; Line#: 1603; Column#: -1
net.sf.saxon.trans.DynamicError: Required item type of second operand of '|' is node(); supplied value has item type xs:string
有任何解決方法,這樣我們就可以使用XSLT 2.0和TryIt都與WSO2 ESB 4.0.3。
希望回答。 感謝 作者Abhijit
您可以提供您的.xsl文件嗎?因爲我的答案如下(來自Achala博客)適用於我 – FiveO