[xsl] Strange Parsing Error - DTMLiaison

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
        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"?>

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";
  <xsl:template match="doc">
    <out><xsl:value-of select="."/></out>

thanks in advance

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread