[jdom-interest] Namespace.hashcode patch

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu May 31 09:04:06 PDT 2001


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

That doesn't convince me. Suppose I use a different prefix later in 
the document  but tie it to the same URI. Does it still work? If so 
it's the URI that matters, not the prefix. For example,


<definitions name="A_Service"
   targetNamespace="urn:A_Service.com"
   xmlns="http://schemas.xmlsoap.org/wsdl/"
   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
   xmlns:tns="http://tempuri.org/AService" ******************
     xmlns:xsd="http://www.w3.org/2001/XMLSchema">


>Setup a port based on the  message and type

<portType name="A_Service" xmlns:newPrefix="http://tempuri.org/AService">
   <operation name="echo">
     <input message="newPrefix:InechoRequest"/> **************
   </operation>
</portType>

-- 

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