Re: [Xsltforms-support] XSLTForms browsers compatibility + Some issues using XSLTForms in server si
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2009-11-03 19:55:11
|
Hello Javier, > But using baseuri, if I leave uncommented the first > processing-instruction, I get when loading the xsl: > > javax.xml.transform.TransformerConfigurationException: No se ha podido > compilar la hoja de estilos > at > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:825) > > (No se ha podido compilar la hoja de estilos in spanish means that it > wasn't possible to compile the stylesheet) > > The code that is failing is (only fails when we have the processing > instructions): > > Templates template = null; > if( file != null ) > { > Source xslSource = new > StreamSource (new File(GRMEntorno.PATH_XSL + GRMEntorno.SEP + file) ); > TransformerFactory tFactory = > TransformerFactory.newInstance(); > *template = > tFactory.newTemplates( xslSource );* > } It sounds like a Xalan problem... Did you already have a look at posts concerning similar problems : http://stackoverflow.com/questions/1235121/java-problem-loading-stylesheet , http://dev.eclipse.org/newslists/news.eclipse.webtools/msg18031.html ? Best regards, -Alain |