Subject: [xsl] Strange Parsing Error - DTMLiaison From: "Damon Williams" <dwilliams@xxxxxxxxxxxxx> Date: Tue, 9 Jan 2001 18:02:57 -0600 |
i'd appreciate any help debugging this error, using Xalan-Java 1.2.2: org.xml.sax.SAXException: DTMLiaison can not handle nodes of type class org.apache.xerces.dom.DeferredElementNSImpl at org.apache.xalan.xpath.dtm.DTMLiaison.checkNode(DTMLiaison.java:161) at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java, Compiled Code) ...... here are the conditions: - i am using xalan-java 1.2 - opening server socket and accepting input stream of XML - using precompiled XSL sheet (org.apache.xalan.xslt.StylesheetRoot) and calling the process() method - here is the XML, the parser gets past the processing instruction just fine, but croaks on the <doc> element <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="foo.xsl"?> <doc>Hello</doc> very simple XML but i am getting this strange error trying to transform it! here is the XSL (straight from samples that come with Xalan): <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="doc"> <out><xsl:value-of select="."/></out> </xsl:template> </xsl:stylesheet> thanks in advance XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] variables/parameters in m, Kay Michael | Thread | [xsl] XSL FO - DTD, Joshua . Kuswadi |
[xsl] variables/parameters in match, Daniel Bowen | Date | RE: [xsl] xsl:script: functions wri, Nacho |
Month |