1. Woden
  2. WODEN-86

MessageTest-1G, Woden lacks support for IRI with variable substitution used by HTTP location


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: M7
    • Component/s: Parser
    • Labels:


      MessageTest-1G contains the XML:



      This is a valid IRI, but Woden currently handles URIs only so it does not create a URI to represent this value in the model and issues the error message:

      Woden[Error],0:0,WSDL506,Could not create a URI from the string "?op=EchoInt;int={int}

      ;".,java.net.URISyntaxException:Illegal character in query at index 16: ?op=EchoInt;int=



      For HTTP location, a new Woden class is required, instead of java.net.URI. to represent this IRI and handle the variable substitution curly braces syntax described for this property in the Part 2 Adjucts spec. This class could convert the IRI to a URI per the conversion described in RFC 3987 'IRI' (at least, convert the curly braces) then use the URI ctor to check that it is a valid URI, then store it internally in whatever format is appropriate (e.g. seperate fields, string, ...) and expose the IRI via the public methods of this new class. This class probably needs a toString method to return the original IRI string value.


        John Kaputin made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        John Kaputin made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        John Kaputin made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        John Kaputin made changes -
        Fix Version/s M7 [ 12312173 ]
        John Kaputin made changes -
        Field Original Value New Value
        Assignee John Kaputin [ jkaputin ]
        John Kaputin created issue -


          • Assignee:
            John Kaputin
            John Kaputin
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: