xsl-list
[Top] [All Lists]

[xsl] loggin SAXON errors

2011-11-14 05:51:40
To whom it may concern,

we use SAXON 2.0 XSLT engine from Java. Is there a way to redirect this
kind of errors:

Error on line 367 of Albatravel_OTA_HotelAvailRS2OTA_HotelAvailRS.xslt:
  XPTY0004: A sequence of more than one item is not allowed as the
second operand of 'to' (1, 1) 
  at xsl:for-each
(file:///usr/local/tomcat/webapps/WS_DynPkg_1_6_1//xslt/OTA2OTAAlbatravel/Albatravel_OTA_HotelAvailRS2OTA_HotelAvailRS.xslt#66)

processing /siap-concat/envelope[1]/response[1]/hotels[1]/hotel[1]/agreement[1]
  at xsl:for-each
(file:///usr/local/tomcat/webapps/WS_DynPkg_1_6_1//xslt/OTA2OTAAlbatravel/Albatravel_OTA_HotelAvailRS2OTA_HotelAvailRS.xslt#52)
     processing /siap-concat/envelope[1]/response[1]/hotels[1]/hotel[1]
OTA_literal_HttpPost class
com.siap.DPKWebServices.Util.OTA_literal_HttpPost.queryHttp( String
uri=http://kalima.worldwidehotelink.com/call.php,
OTA_HotelAvail )net.sf.saxon.trans.XPathException: A sequence of more
than one item is not allowed as the second operand of 'to' (1, 1)

from Standard in to a String so that we can put then in a log?

Many thanks

Best regards

Bartolomeo


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>