You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ġURDINA Michal <du...@asset.sk> on 2002/12/04 16:11:25 UTC

DOMStreamer doesn't work with Saxon

Hello!

I have a problem when using Saxon as my only TRAX Transformer. 
In XSP page I have the following:

myLogicsheet:
    org.w3c.dom.Element getElement() {...}

myXSPPage:
  <result>
 
<xsp:content><xsp:expr>myLogicSheet.myClass.getElement()</xsp:expr></xsp:con
tent>
  </result>

This construction creates XML with element returned by logicsheet function
i.e. <result><returned_element/></result>.

When using Xalan as my XSLT Transformer, this construction works. But NO
element is created when using Saxon.

Can anyone tell me, what's going on? (the problem must be somewhere in
XSPObjectHelper or in DOMStreamer).

Mike.

PS: I am using Tomcat 4.1.12, Cocoon 2.0.3 and Saxon 6.5.2.
PS2: Our logicsheets were created for Cocoon 1.8, and returns DOM objects,
but they should be working because of DOM->SAX wrapping in XSP we depend on.
Too much work to rewrite it.



-- MisoD --
Michal Durdina - durdina@asset.sk 
ASSET Soft a.s.,
Kosicka 56, Bratislava, 821 08
Slovakia, Europe


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>