Ant Task Generates Duplicate Element ID's
-----------------------------------------
Key: WODEN-82
URL: http://issues.apache.org/jira/browse/WODEN-82
Project: Woden
Issue Type: Bug
Components: Tools
Reporter: Arthur Ryman
Assigned To: Arthur Ryman
The Ant task uses generates ids for elements. These must be unique. In the
following result, there are duplicate ids:
<bindingOperationComponent xml:id='id-512829983'>
<typeDefinitionComponent xml:id='id-512829983'>
This seems like a huge coincidence since object hashes are used. Apparently,
this is not reliable (or I have a bug).
<?xml version='1.0' encoding='UTF-8'?>
<descriptionComponent xmlns='http://www.w3.org/2002/ws/desc/wsdl/component'
xmlns:cmextensions='http://www.w3.org/2002/ws/desc/wsdl/component-extensions'
xmlns:cmbase='http://www.w3.org/2002/ws/desc/wsdl/component-base'
xmlns:cmhttp='http://www.w3.org/2002/ws/desc/wsdl/component-http'
xmlns:cmrpc='http://www.w3.org/2002/ws/desc/wsdl/component-rpc'
xmlns:cmsoap='http://www.w3.org/2002/ws/desc/wsdl/component-soap'
xml:id='id-2094344735'>
<extensions>
<cmbase:uri>http://www.w3.org/2006/01/wsdl-extensions</cmbase:uri>
<cmbase:uri>http://www.w3.org/2006/01/wsdl/http</cmbase:uri>
<cmbase:uri>http://www.w3.org/2006/01/wsdl/rpc</cmbase:uri>
<cmbase:uri>http://www.w3.org/2006/01/wsdl/soap</cmbase:uri>
</extensions>
<interfaces>
<interfaceComponent xml:id='id-139684383'>
<name>
<cmbase:namespaceName>http://soapinterop.org/</cmbase:namespaceName>
<cmbase:localName>SoapInteropCompound1PortType</cmbase:localName>
</name>
<interfaceOperations>
<interfaceOperationComponent xml:id='id-244345375'>
<name>
<cmbase:namespaceName>http://soapinterop.org/</cmbase:namespaceName>
<cmbase:localName>echoDocument</cmbase:localName>
</name>
<messageExchangePattern>http://www.w3.org/2006/01/wsdl/in-out</messageExchangePattern>
<interfaceMessageReferences>
<interfaceMessageReferenceComponent xml:id='id-250522143'>
<messageLabel>In</messageLabel>
<direction>in</direction>
<messageContentModel>#element</messageContentModel>
<elementDeclaration ref='id-517122591'/>
<cmbase:parent ref='id-244345375'/>
</interfaceMessageReferenceComponent>
<interfaceMessageReferenceComponent xml:id='id-206350879'>
<messageLabel>Out</messageLabel>
<direction>out</direction>
<messageContentModel>#element</messageContentModel>
<elementDeclaration ref='id-517188127'/>
<cmbase:parent ref='id-244345375'/>
</interfaceMessageReferenceComponent>
</interfaceMessageReferences>
<cmbase:parent ref='id-139684383'/>
<cmextensions:wsdlInterfaceOperationExtension>
<cmextensions:safety>false</cmextensions:safety>
</cmextensions:wsdlInterfaceOperationExtension>
</interfaceOperationComponent>
<interfaceOperationComponent xml:id='id-235923999'>
<name>
<cmbase:namespaceName>http://soapinterop.org/</cmbase:namespaceName>
<cmbase:localName>echoPerson</cmbase:localName>
</name>
<messageExchangePattern>http://www.w3.org/2006/01/wsdl/in-out</messageExchangePattern>
<interfaceMessageReferences>
<interfaceMessageReferenceComponent xml:id='id-239741471'>
<messageLabel>In</messageLabel>
<direction>in</direction>
<messageContentModel>#element</messageContentModel>
<elementDeclaration ref='id-517253663'/>
<cmbase:parent ref='id-235923999'/>
</interfaceMessageReferenceComponent>
<interfaceMessageReferenceComponent xml:id='id-261188127'>
<messageLabel>Out</messageLabel>
<direction>out</direction>
<messageContentModel>#element</messageContentModel>
<elementDeclaration ref='id-517319199'/>
<cmbase:parent ref='id-235923999'/>
</interfaceMessageReferenceComponent>
</interfaceMessageReferences>
<cmbase:parent ref='id-139684383'/>
<cmextensions:wsdlInterfaceOperationExtension>
<cmextensions:safety>false</cmextensions:safety>
</cmextensions:wsdlInterfaceOperationExtension>
</interfaceOperationComponent>
</interfaceOperations>
</interfaceComponent>
</interfaces>
<bindings>
<bindingComponent xml:id='id-26389023'>
<name>
<cmbase:namespaceName>http://soapinterop.org/</cmbase:namespaceName>
<cmbase:localName>SoapInteropCompound1Binding</cmbase:localName>
</name>
<interface ref='id-139684383'/>
<type>http://www.w3.org/2006/01/wsdl/soap</type>
<bindingOperations>
<bindingOperationComponent xml:id='id-512829983'>
<interfaceOperation ref='id-235923999'/>
<cmbase:parent ref='id-26389023'/>
<cmsoap:soapBindingOperationExtension>
<cmsoap:soapAction>http://soapinterop/echoPerson</cmsoap:soapAction>
</cmsoap:soapBindingOperationExtension>
</bindingOperationComponent>
<bindingOperationComponent xml:id='id-685959711'>
<interfaceOperation ref='id-244345375'/>
<cmbase:parent ref='id-26389023'/>
<cmsoap:soapBindingOperationExtension>
<cmsoap:soapAction>http://soapinterop/echoDocument</cmsoap:soapAction>
</cmsoap:soapBindingOperationExtension>
</bindingOperationComponent>
</bindingOperations>
<cmsoap:soapBindingExtension>
<cmsoap:soapUnderlyingProtocol>http://www.w3.org/2006/01/soap11/bindings/HTTP/</cmsoap:soapUnderlyingProtocol>
<cmsoap:soapVersion>1.1</cmsoap:soapVersion>
</cmsoap:soapBindingExtension>
</bindingComponent>
</bindings>
<services>
<serviceComponent xml:id='id-1096264223'>
<name>
<cmbase:namespaceName>http://soapinterop.org/</cmbase:namespaceName>
<cmbase:localName>Compound1</cmbase:localName>
</name>
<interface ref='id-139684383'/>
<endpoints>
<endpointComponent xml:id='id-1761962527'>
<name>SoapInteropCompound1Port</name>
<binding ref='id-26389023'/>
<address>http://127.0.0.1:8080/axis2/services/Compound1</address>
<cmbase:parent ref='id-1096264223'/>
</endpointComponent>
</endpoints>
</serviceComponent>
</services>
<elementDeclarations>
<elementDeclarationComponent xml:id='id-517188127'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>result_Document</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</elementDeclarationComponent>
<elementDeclarationComponent xml:id='id-517319199'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>result_Person</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</elementDeclarationComponent>
<elementDeclarationComponent xml:id='id-517122591'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>x_Document</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</elementDeclarationComponent>
<elementDeclarationComponent xml:id='id-517253663'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>x_Person</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</elementDeclarationComponent>
</elementDeclarations>
<typeDefinitions>
<typeDefinitionComponent xml:id='id-517368351'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>Document</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-517564959'>
<name>
<cmbase:namespaceName>http://soapinterop.org/xsd</cmbase:namespaceName>
<cmbase:localName>Person</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513223199'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>ENTITIES</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514337311'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>ENTITY</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512207391'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>ID</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512338463'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>IDREF</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512272927'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>IDREFS</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-519088671'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>NCName</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-519907871'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>NMTOKEN</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514730527'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>NMTOKENS</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514075167'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>NOTATION</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512731679'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>Name</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-511945247'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>QName</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514140703'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>anyURI</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514533919'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>base64Binary</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-519154207'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>boolean</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-511814175'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>byte</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512010783'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>date</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512961055'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>dateTime</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512829983'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>decimal</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514009631'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>double</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514271775'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>duration</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513714719'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>float</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512403999'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>gDay</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514796063'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>gMonth</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512895519'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>gMonthDay</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512666143'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>gYear</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512535071'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>gYearMonth</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513944095'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>hexBinary</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512141855'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>int</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-518072863'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>integer</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513092127'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>language</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-519842335'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>long</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-519973407'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>negativeInteger</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514206239'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>nonNegativeInteger</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513157663'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>nonPositiveInteger</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513026591'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>normalizedString</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-511748639'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>positiveInteger</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-520038943'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>short</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-514402847'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>string</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512076319'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>time</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512764447'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>token</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-513780255'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>unsignedByte</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512469535'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>unsignedInt</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-511879711'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>unsignedLong</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
<typeDefinitionComponent xml:id='id-512600607'>
<name>
<cmbase:namespaceName>http://www.w3.org/2001/XMLSchema</cmbase:namespaceName>
<cmbase:localName>unsignedShort</cmbase:localName>
</name>
<system>http://www.w3.org/2001/XMLSchema</system>
</typeDefinitionComponent>
</typeDefinitions>
</descriptionComponent>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]