Easy-WSDL

deleteImportedDocumentsInWsdl() returns URI as '...xpath://description/importedDocuments/document/../../...'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.6.1
  • Fix Version/s: 2.6.2
  • Component/s: WSDL4ComplexWSDL
  • Security Level: Public
  • Description:
    Hide

    With the following code:

    1. Reading a WSDL importing the PES schema (https://www.collectivites-locales.gouv.fr/protocole-dechange-standard-pes-0)
    2. When trying to rewrite imports, we get some imports returned as ...xpath://description/importedDocuments/document/../../...


    final Description wsdlPesDesc = this.reader.read(wsdlPesURL);
    wsdlPesDesc.addImportedDocumentsInWsdl();
    final Map<URI, Document> imports = wsdlPesDesc.deleteImportedDocumentsInWsdl(URI.create("/"));
    Show
    With the following code:
    1. Reading a WSDL importing the PES schema (https://www.collectivites-locales.gouv.fr/protocole-dechange-standard-pes-0)
    2. When trying to rewrite imports, we get some imports returned as ...xpath://description/importedDocuments/document/../../...

    final Description wsdlPesDesc = this.reader.read(wsdlPesURL);
    wsdlPesDesc.addImportedDocumentsInWsdl();
    final Map<URI, Document> imports = wsdlPesDesc.deleteImportedDocumentsInWsdl(URI.create("/"));
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Fri, 6 Oct 2017 - 13:01:36 +0200
    Updated:
    Fri, 6 Oct 2017 - 17:53:14 +0200
    Resolved:
    Fri, 6 Oct 2017 - 17:53:14 +0200