axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5355) Adding and retrieving imported XSD Schema with relative path are not consistent with each other.
Date Mon, 02 Jul 2012 06:43:42 GMT
Sagara Gunathunga  created AXIS2-5355:
-----------------------------------------

             Summary: Adding and retrieving imported XSD Schema with relative path are not
consistent with each other.   
                 Key: AXIS2-5355
                 URL: https://issues.apache.org/jira/browse/AXIS2-5355
             Project: Axis2
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.6.2, 1.5.6
            Reporter: Sagara Gunathunga 
            Assignee: Sagara Gunathunga 
            Priority: Critical
             Fix For: 1.5.7, 1.7.0, 1.6.3


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message