Hi, Chris.

"Chris Bare" <[EMAIL PROTECTED]> wrote on 2005-11-21 08:25:14 PM:
> I'm wondering if I've run into a mis-feature. The crux of the problem is
> that I'm trying use the following as the input to a transform:
> 
> new DOMSource(doc.getDocumentElement())
> 
> Why would I want to do that? Especially when new DOMSource(doc) works
> just fine? Well, I'm trying to conform to an interface that's part of
> Apache Axis and what you get from that interface is an Element rather
> than a Node or a Document.
> 
> And what happens when I try this? The root element appears not to exist.

     There are bug reports open against both XSLTC and Xalan-J 
Interpretive due to incorrect implementations of DOMSource(Node).  See [1] 
and [2].

     I believe the behaviour you've observed is the same as that described 
by the XSLTC bug report.  If you agree, and this is an important problem 
for you (or for Axis), please feel free to adjust the priority 
accordingly.

Thanks,

Henry
[1] http://issues.apache.org/jira/browse/XALANJ-1639
[2] http://issues.apache.org/jira/browse/XALANJ-1638
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]

Reply via email to