[jdom-interest] DOCTYPE still giving me the worst headache!

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Jan 30 20:31:43 PST 2002


The latest updates seem to have fixed everything. Once I had that 
working, it was straightforward to make the necessary mods to DocType 
to allow empty string system and public IDs. XMLOutputter also needed 
to be changed as did several of the other builder and outputter 
classes, though surprisingly not all of them. A couple were designed 
in such a way that no changes were required. One actually already 
assumed that an empty string ID was different than a null ID.

What tool are people using to produce diffs for patch? If you let me 
know, it shouldn't be too hard to send in the patches.

I notice we aren't currently doing any sanity checks on system or 
public IDs. This should probably be added to the Verifier class, and 
rolled into both DocType and EntityRef. I haven't looked at EntityRef 
yet but I bet it's got a lot of the same issues with public and 
system IDs as DocType.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list