[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Strange Parsing Error - DTMLiaison

Subject: Strange Parsing Error - DTMLiaison
From: "Damon Williams" <dwilliams@xxxxxxxxxxxxx>
Date: Tue, 9 Jan 2001 18:02:57 -0600
xslt input stream error
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.