|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] No more DTM IDs are available using xalan 2.6.0?
Thank you!! I had the classpath correct, but the endorsed dir needed to be in place. It's working like a champ now.
Thanks again,
Scott
i was also getting similar error till i placed xalan in the lib/endorsed
folder.other options are available at
http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError
----- Original Message -----
From: "Huggins, Scott" <ScottHuggins@xxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 06, 2004 8:27 AM
Subject: No more DTM IDs are available using xalan 2.6.0?
Hi,
I am getting the "No more DTM IDs are available" error during
transformation:
javax.xml.transform.TransformerException: org.apache.xml.dtm.DTMException:
No more DTM IDs are available
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1226)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
638)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1088)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1066)
when using this code:
TransformerFactory tFactory = TransformerFactory.newInstance();
// Set the stylesheet stuff
StringReader srStylesheet = new StringReader(stylesheet);
StreamSource ssStylesheet = new StreamSource(srStylesheet);
Transformer transformer = tFactory.newTransformer(ssStylesheet);
// Set the xml stuff
StringReader srXmlToConvert = new StringReader(xmlToConvert);
StreamSource ssXmlToConvert = new StreamSource(srXmlToConvert);
// Set the resulting HTML
StringWriter caw = new StringWriter();
StreamResult dest = new StreamResult(caw);
// Finally, do the real work
transformer.transform(ssXmlToConvert, dest);
html = caw.toString();
return html;
************
I am using xalan 2.6.0 (At least I am trying to). So when I run this in my
servlet:
out.println("Xalan Version: " + org.apache.xalan.Version.getVersion());
I get:
"Xalan Version: Xalan Java 2.6.0"
This is on windows 2000 server using bea web logic 8.1 and Java 1.4.1. I
know the 1.4.1 java version had old xalan so I (think I) upgraded. Is my
code still pointing to the old stuff? Any help is appreciated.
Thanks,
Scott
------------------------------
End of xsl-list Digest
***********************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








