[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Strange Parsing Error - DTMLiaison
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
|
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
|