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

Activity

Christophe DENEUX made changes - Fri, 6 Oct 2017 - 13:02:01 +0200
Field Original Value New Value
Priority Major [ 3 ]
Description With the following code:
# Reading a WSDL importing the PES schema (https://www.collectivites-locales.gouv.fr/protocole-dechange-standard-pes-0)
# When trying to rewrite imports, we get some imports returned as {code}...xpath://description/importedDocuments/document/../../...{code}

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

{code:java}
final Description wsdlPesDesc = this.reader.read(wsdlPesURL);
wsdlPesDesc.addImportedDocumentsInWsdl();
final Map<URI, Document> imports = wsdlPesDesc.deleteImportedDocumentsInWsdl(URI.create("/"));
{code}
Christophe DENEUX made changes - Fri, 6 Oct 2017 - 13:02:13 +0200
Description With the following code:
# Reading a WSDL importing the PES schema (https://www.collectivites-locales.gouv.fr/protocole-dechange-standard-pes-0)
# When trying to rewrite imports, we get some imports returned as {{...xpath://description/importedDocuments/document/../../...}}

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


{code:java}
final Description wsdlPesDesc = this.reader.read(wsdlPesURL);
wsdlPesDesc.addImportedDocumentsInWsdl();
final Map<URI, Document> imports = wsdlPesDesc.deleteImportedDocumentsInWsdl(URI.create("/"));
{code}
Christophe DENEUX made changes - Fri, 6 Oct 2017 - 13:02:25 +0200
Description With the following code:
# Reading a WSDL importing the PES schema (https://www.collectivites-locales.gouv.fr/protocole-dechange-standard-pes-0)
# When trying to rewrite imports, we get some imports returned as {{...xpath://description/importedDocuments/document/../../...}}


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

\\
{code:java}
final Description wsdlPesDesc = this.reader.read(wsdlPesURL);
wsdlPesDesc.addImportedDocumentsInWsdl();
final Map<URI, Document> imports = wsdlPesDesc.deleteImportedDocumentsInWsdl(URI.create("/"));
{code}
Christophe DENEUX made changes - Fri, 6 Oct 2017 - 13:10:44 +0200
Link This issue blocks PETALSESBCONT-451 [ PETALSESBCONT-451 ]
Victor NOËL made changes - Fri, 6 Oct 2017 - 17:52:43 +0200
Status New [ 10000 ] Open [ 10002 ]
Victor NOËL made changes - Fri, 6 Oct 2017 - 17:52:46 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Victor NOËL made changes - Fri, 6 Oct 2017 - 17:53:14 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.6.2 [ 10742 ]
Resolution Fixed [ 1 ]

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