[jdom-interest] SAXBuilder build error

Neuman, Ben Ben.Neuman at ImpactInnovations.com
Tue Dec 12 13:45:36 PST 2000


I am trying to build a document using SaxBuilder and a String...

SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(docString);

where docString=
<?xml version='1.0'?>
  <LookupData>
  -1<Sites>
    <Site Name="10000000001001">
    </Site>
    <Site Name="10000000001002">
    </Site>
    <Site Name="10000000001003">
    </Site>
</LookupData>

I get a JDOMException stating that </LookupData> is not found. 
Any help would be greatly appreciated.



More information about the jdom-interest mailing list