Hi Grégoire,
I don't know Xalan much. I just read that its conformance was not full.
XPath.create instructions are generated using *:node-set() function.
Apparently, old versions of Xalan define nodeset() instead. There might
be compatibility tricks to be added for Xalan...
Can you get the version number of Xalan you're using?
Thanks!
-Alain
Le 14/02/2011 20:28, Grégoire COLBERT a écrit :
> Hi!
>
> Following Evgeny Gazdovsky's idea, I try to do a server-side transformation of my XSLTForm, to bypass a Google Maps limitation (see http://code.google.com/p/gmaps-api-issues/issues/detail?id=2820).
>
> There are two news about this server-side XSL transformation :
>
> - The good news is that server-side XSLT works fine with XSLTProc;
> - The bad news is that it doesn't work with Xalan (and I must use Xalan because NetKernel's "active:xslt" accessor uses Xalan).
>
> When I "diff" the results, I notice that Xalan's output has two differences :
>
> - the lines beginning with "XPath.create" are missing (ouch!);
> - the< and> characters are escaped to< and>.
>
> Are these known issues? If yes, are there some work-arounds?
>
> * Attachments :
>
> - test-wrong-order.xml : the source XSLTForm
> - test-wrong-order-xalan.html : the file generated by Xalan
> - test-wrong-order-xsltproc.html : the file generated by "xsltproc"
>
> * Commands to generate the files :
>
> xalan -out test-wrong-order-xalan.html -xsl xsltforms/branches/dataisland/build/xsltforms.xsl< test-wrong-order.xml
>
> xsltproc -o test-wrong-order-xsltproc.html --path xsltforms/branches/dataisland/build/ xsltforms/branches/dataisland/build/xsltforms.xsl test-wrong-order.xml
>
> Any help would be very appreciated!
>
> Thanks!
> Grégoire
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
>
>
> _______________________________________________
> Xsltforms-support mailing list
> Xsl...@li...
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
|