[jdom-interest] jdom & xalan

Paul Walk p.walk at unl.ac.uk
Wed Mar 7 02:17:21 PST 2001

you're right - it would have helped to have attached the two
files - I've attached them to this message.
In the meantime, I'll keep experimenting!


Scott_Boag at lotus.com wrote:
> > Whereas this does not:
> > <code>
> >          SAXBuilder builder = new SAXBuilder(false);
> >         DOMSource domSource = new DOMSource(new
> > DOMOutputter().output(builder.build(new
> > File("birds.xml"))));
> It would help to have 'birds.xml' to diagnose this problem, and maybe
> 'birds.xsl'.  If you send these to me, one interesting experiment I could
> run is to run it with a Xerces DOM (you can do this on the command line
> using the -flavor d2d option), to see if the problem is with the DOM
> representation or a mismatch between the way JDOM represents the xml as a
> DOM and the way that the DOM is "classically" built from XML.
> Frankly, I've not yet run Xalan with the JDOM DOM adapter (my bad).  If you
> bug me enough, I'll probably download it and give it a try, but I'm pretty
> backed up right now.
> I would suspect the problem to be with a) whitespace handling, b) multiple
> adjacent text nodes, or c) something with namespace handling.
> -scott
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

Paul Walk
Intranet Services
University of North London

Email:  p.walk at unl.ac.uk
Telephone (Direct Dial):        020 7753 3288
Telephone (Switchboard):        020 7607 2789 ext. 2690
-------------- next part --------------
A non-text attachment was scrubbed...
Name: birds.xml
Type: text/xml
Size: 9227 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010307/b0180431/birds.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: birds.xsl
Type: text/xml
Size: 1103 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010307/b0180431/birds-0001.xml

More information about the jdom-interest mailing list