[jdom-interest] Comment verification patch
Elliotte Rusty Harold
elharo at metalab.unc.edu
Sun Jun 16 06:31:55 PDT 2002
According to the XML 1.0 spec the following two comments are malformed:
<!---here's some data that begins with a hyphen-->
<!--here's some data that ends with a hyphen--->
Verifier is not currently checking for these two cases. I have attached
a patch that adds simple checks for these two cases. This is the first
patch I've built and sent from my new Linux box, so you may want to
double check it for sanity to make sure I haven't done anything too
stupid before applying it.
--
Elliotte Rusty Harold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Comment.patch
Type: text/x-diff
Size: 775 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20020616/2bd33735/Comment.bin
More information about the jdom-interest
mailing list