Hey Jim From: "Brain, Jim" <[EMAIL PROTECTED]> > I wanted to thank James and the programming team for the following: > > Dom4j works on OS/390 USS (Read that as Unix on IBM Mainframe).
WOW! Thats great to know, thanks! Though I think the Java platform should take quite a lot of credit for that :-) > And the best part is that I didn't have to do anything. Load JAR onto big > iron, run program. Cool! > I don't know about all the parts of dom4j (my test is strenuous, but doesn't > use Streams much or rules.), but my code worked fine (actually, my code did > not, but it was my fault. You have to be careful about dumping byte arrays > into Strings when in an EBCDIC environment :-) :-) > Anyway, kudos for leaving one headache out of my life. > > A question to make this a useful post: > > Right now I am using the SAXReader to do all my builds. If I just switch > the code to use the XPPReader, will a lot break? I don't need validation, > but I didn't understand comments and CDATA fields not being supported. If all you really care about is text, elements and attributes then XPPReader is fine. If you really worry about preserving the exact textual format of the document or reading comments, CDATA, processing instructions and so forth, then stick with SAXReader - otherwise XPPReader should be fine. e.g. if you're working with SOAP, then XPPReader is great. One of these days it'd be really cool to get it working totally lazily too, so as you navigate the document it gets parsed. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user