[jdom-interest] Re: [Jato-dev] Need for a SAXBuilder.build(String XMLString) method?

Jason Hunter jhunter at acm.org
Mon Apr 16 02:25:23 PDT 2001

Hi James,

We have a FAQ entry for this: "How do I construct a Document from a


James Sinnamon wrote:
> I may have missed something,but as far as I can tell, there doesn't seem to be any
> capability for the build() methods of both SAXBuilder and DOMBuilder classes to
> build documents directly from Strings declared from within the program.
> Does anyone else out there think that this might be useful?
> For myself, I can see that this would be helpful in writing JUnit tests  for  more
> simple
> cases.  Instead of having to read in from an external file, the whole XML document
> could simply be contained inside a String declared inside the program.
> regards,
> James
> --
> James Sinnamon  sinnamon at usq.edu.au
> ph 07 46315566,  0412 319669
> PO Box 517 Darling Heights QLD 4350
> _______________________________________________
> Jato-dev mailing list
> Jato-dev at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/jato-dev

More information about the jdom-interest mailing list