Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5355

Adding and retrieving imported XSD Schema with relative path are not consistent with each other.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.6, 1.6.2
    • 1.6.3, 1.7.0
    • kernel
    • None

    Description

      When importing/adding a new XSD Schema from a relative path AxisService#insertIntoNameTable() method remove "./" part from the path and used as the key of internal Schema map. When retrieving Schema from same map AxisService and HTTPWorker don't do above modification on relative path available on request URI hence not possible to retrieve imported Schema if it imported from a relative path.

      e.g - Adding a imported Schema use "map" as a key but when retrieving it use "./map" as the key.

      Further in some cases this work for HTTPWorker because it try to load requested Schema from META-INF directory when it couldn't retrieve from Schema map but this is expensive operation.

      Attachments

        Activity

          People

            sagara Sagara Gunathunga
            sagara Sagara Gunathunga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: