[jdom-interest] help whit a JDOMException

Giambattista Negrin gnegrin2000 at yahoo.com
Fri May 18 04:05:42 PDT 2001


hi,
I'm unsuccessfully trying to get a org.jdom.Document
using a new SAXBuilder(true) and an XML String with a
DTD inside. I get this Exception:

org.jdom.JDOMException: Error on line 1: Document root
element "cro", must match DOCTYPE root "cro".

What does it mean? the root elemement actually IS
<cro> and the DTD part begins with 

<?xml version="1.0" encoding="ASCII"?><!DOCTYPE cro [
...

so, what's going on? Anyone can help me?
thanks

giambattista

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



More information about the jdom-interest mailing list