[jdom-interest] Attributes as HashMap?

Elliotte Rusty Harold elharo at metalab.unc.edu
Sat Oct 7 13:42:28 PDT 2000


At 9:31 AM -0700 10/6/00, Alex Chaffee wrote:

>
>Not to beat the steamy, bloated remains of a large mammal, but
>attribute order is actually required for some uses, e.g. comparison
>between two documents by a program that doesn't understand XML, like
>diff.  I think it was Brad Morgan who wanted to use what eventually
>became trimText for this very purpose.
>

That's what canonical XML is for. You simply can't compare two XML 
documents with a program that doesn't understand XML. You can compare 
two XML files, but that's not quite the same thing.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list