Re: javax.xml.transform.TransformerException: Extension function: '{http://www.w3.org/2005/xpath-functions}format-dateTime' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature i

2014-05-16 Thread techybolek
I replaced the XPATH 2.0 calls with Xalan extensions and now I'm getting: javax.xml.transform.TransformerException: Extension function: '{http://exslt.org/dates-and-times}date-time' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true. Is th

Re: javax.xml.transform.TransformerException: Extension function: '{http://www.w3.org/2005/xpath-functions}format-dateTime' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature i

2014-05-16 Thread techybolek
Found the answer here: http://comments.gmane.org/gmane.comp.apache.camel.user/15776 Basically the solution is to declare a transformer factory instance as a spring bean, ensure it's nonsecure (by simply not setting FEATURE_SECURE_PROCESSING) and indicate to use that factory in the transformation s

javax.xml.transform.TransformerException: Extension function: '{http://www.w3.org/2005/xpath-functions}format-dateTime' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature is se

2014-05-16 Thread techybolek
I defined an XSLT transform in my route using: .to("xslt:mytransform.xsl") The stylesheet is XSL 2.0 and is invoking a few 2.0 functions including current-dateTime. But I'm getting: javax.xml.transform.TransformerException: Extension function: '{http://www.w3.org/

Re: javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
the problem is with the encoding. It works properly when "UTF-8" is used -- View this message in context: http://camel.465427.n5.nabble.com/javax-xml-transform-TransformerException-tp5744321p5744325.html Sent from the Camel - Users mailing list archive at Nabble.com.

javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
Hi, I'm trying to transform a SOAP message using XSLT. But it throws "javax.xml.transform.TransformerException" saying Invalid encoding name. I use SOAP 1.2. The same error was given for SOAP 1.1 2013-12-04 21:45:37,306 | ERROR | qtp27828643-221 | DefaultErrorHandler