[jdom-interest] saxbuilder
Bodo Teichmann
bodo at tanzerei.de
Wed Aug 13 03:57:42 PDT 2003
e.g. each xml file needs exactly one single root element , and your
exampel has none .
moreover a xml header is missing here.
bodo
salil khanwalkar schrieb:
> Hi
> My xml looks like this --
> <user username="1234" password="xxxxxx12" />
> <user username="user12345" password="xxxxxx123" />
> <user username="user123456" password="xxxxxx1234" />
> When parsing this file JDOM returns errors as i have turned on the
> check for
> validations and well formedness of the documents.
> SAXBuilder builder = new SAXBuilder(true);
>
>
> SAXBuilder builder = new SAXBuilder();--when is use this no errors will
> occur and i am able to parse the file properly.
> Why does this happen or is there anything wrong with my xml file?
> Thank You,
> Salil.
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder
> <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> -
> Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030813/b27de1c9/attachment.htm
More information about the jdom-interest
mailing list