What version of Xalan are you using?
Anthony Ikeda,
Web Application Developer,
Proxima Technology,
Level 13,
181 Miller Street,
North Sydney
Australia
PH: +612-9458-1718
Mob: 041 624 5143
> -----Original Message-----
> From: Doug Ferguson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 31 January 2001 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat/Xalan
>
>
> Sorry if this post isn't a problem with tomcat but xml.apache.org sux.
> Please respond directly of cc: [EMAIL PROTECTED] I am
> not on the
> list
>
> Does anybody know if there is anything special you have to do
> with xalan
> to
> get it to work in a server/tomcat.
>
> I took one the the simple examples and made it a servlet and now it
> doesn't work.
> I was getting a namespace error. I added the following system
> properties which
> I found in an extremely cryptic servlet example that comes with xalan.
>
> System.setProperty("javax.xml.transform.TransformerFactory",
> "org.apache.xalan.processor.TransformerFactoryImpl");
> System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
> "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
> System.setProperty("javax.xml.parsers.SAXParserFactory",
> "org.apache.xerces.jaxp.SAXParserFactoryImpl");
>
> Now I am getting a no such mehtod exception
> which is pasted at the bottom.
>
> java.lang.NoSuchMethodError
> at
> org.apache.xpath.DOM2Helper.getLocalNameOfNode(DOM2Helper.java:326)
> at
> org.apache.xalan.templates.TemplateList.getHead(TemplateList.java:471)
> at
> org.apache.xalan.templates.TemplateList.getTemplate(TemplateLi
> st.java:528)
>
> at
> org.apache.xalan.templates.ElemForEach.transformSelectedNodes(
> ElemForEach.java:432)
>
> at
> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemAppl
> yTemplates.java:193)
>
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTempl
> ates(TransformerImpl.java:2083)
>
> at
> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNo
> de(TransformerImpl.java:1981)
>
> at
> org.apache.xalan.transformer.TransformerImpl.transformNode(Tra
> nsformerImpl.java:1151)
>
> at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerIm
> pl.java:2811)
>
> at java.lang.Thread.run(Thread.java:484)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]