Google AppEngine

2009-04-23 Thread jharrop
Hi On Google's AppEngine, it doesn't appear that one can use Xalan via trax. (1) it says java.lang.NoClassDefFoundError: com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary is a restricted class. (2) System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.process

Re: Xalan-J 2.7.1: document() function disregards URI fragment identifier

2009-04-23 Thread David Bertoni
Michael Ludwig wrote: Michael Ludwig schrieb: When passed a URI containing a fragment identifier ("doc#bla"), the document() function should interpret it according to the document's ID table, which can be accessed using the id() function. [example snipped] Xalan 2.7.1 disregards the fragment

Re: extending the org.apache.xalan.extensions.ExtensionHandlerJavaClass

2009-04-23 Thread keshlam
I can't remember whether we already mentioned that you can capture a template's results into a variable, which can also help avoid extensions: Of course that doesn't return the original nodes, just the result generated by the template. And in XSLT 1.0, if you

Re: extending the org.apache.xalan.extensions.ExtensionHandlerJavaClass

2009-04-23 Thread Adrian Herscu
kesh...@us.ibm.com wrote: The implementation details of calling a template are significantly different from those of calling an external function. I don't think you're going to be able to make this work easily. Suggestion: Can you rewrite the template you want to invoke as an XPath? If so, yo