[ 
https://issues.apache.org/jira/browse/XERCESJ-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandy Gao resolved XERCESJ-809.
-------------------------------

    Resolution: Fixed

The fix is very similar to the patch Gareth submitted, to expand the location 
strings when they are stored in the hashtable.

> Not expanding URIs when storing them in locations hash
> ------------------------------------------------------
>
>                 Key: XERCESJ-809
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-809
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.0 Structures
>    Affects Versions: 2.5.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: gareth reakes
>            Assignee: Sandy Gao
>            Priority: Minor
>         Attachments: xercesPatch
>
>
> Currently we store uri -> location and only look this up when we require it. 
> The
> problem arises when this happens in a different schema (and therefore
> potentially a different directory). If the path was relative it is now 
> incorrect
> and we fail unable to find the schema.
> Suggested fix: expand the location part of the when inserting into the hash 
> table.
> Note: This problem still arises for the user defined schema location pairs (in
> DOMConfiguration), but the desired behaviour in this case is not so clear.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to