[jdom-interest] Namespace.hashcode patch

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu May 31 07:13:38 PDT 2001


At 8:17 AM -0500 5/31/01, philip.nelson at omniresources.com wrote:

>This will not work.  In SOAP and other xml applications the prefix is quite
>significant.  A prefix used in one element is part of an attribute value
>later and the processor ties them together that way.

Are you absolutely sure of this? If so, it's a major flaw in SOAP. If 
so it's a major flaw in SOAP. Processors should tie things together 
based on namespace URIs, not prefixes. Can you provide an example of 
what you mean?

>Namespaces without
>prefixes cannot just have a new one added because the default namespace has
>special meaning in xml.

Actually they can. You can change the default namespace on every 
element if you care to.
-- 

+-----------------------+------------------------+-------------------+
| 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