RE: Facing problem reading comments data, need help

"Michael Kay" <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <00cd01c7c076$51912890$6601a8c0@turtle>
> 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
hyphen.

Michael Kay
http://www.saxonica.com/


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.