[jdom-interest] Facing problem reading comments data, need help

Michael Kay mike at saxonica.com
Sat Jul 7 02:08:00 PDT 2007

> It's a malformed XML document. ...

> JDOM sounded off stating that the data is not legal for a JDOM comment:
Comment data 
> cannot start with a hyphen, giving an IllegalDataException.

Where does it say that a comment cannot start with a hyphen? The rule is
that it cannot contain two consecutive hyphens, and it cannot end with a

Michael Kay

More information about the jdom-interest mailing list