Bonjour,
Quelqu'un a-t-il déjà utilisé XSLTC (le XSL compilé de XALAN) avec WebLogic Server 8.1 ?
J'ai beau positionner directement "en dur" dans le code JAVA la propriété système "javax.xml.transform.TransformerFactory" à "org.apache.xalan.xsltc.trax.TransformerFactoryImpl" (la classe de transformation XSLTC) conformément à la doc XALAN/XSLTC, le transformer implémenté reste "org.apache.xalan.transformer.TransformerImpl" (la classe de transformation XALAN interprété).
Le code JAVA correspondant :
System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.xsltc.trax.TransformerFactoryImpl");
System.out.println("Property apres : " + System.getProperty("javax.xml.transform.TransformerFactory"));
TransformerFactory factory = TransformerFactory.newInstance();
Templates templates = factory.newTemplates(monXSL);
Transformer transformer = templates.newTransformer();
System.out.println("Classe de transformation XSLT : " + transformer.getClass().getName());
La sortie :
Property apres : org.apache.xalan.xsltc.trax.TransformerFactoryImpl
Classe de transformation XSLT : org.apache.xalan.transformer.TransformerImpl
Le contexte précis :
WebLogic Server 8.1 SP2
XALAN 2.5.1
XERCES 2.6.2
Merci à tous d'avance.
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Received on Wed Feb 2 11:56:54 2005