[ http://issues.apache.org/jira/browse/XMLBEANS-171?page=all ]

Lawrence Jones reassigned XMLBEANS-171:
---------------------------------------

    Assign To: Radu Preotiuc-Pietro

> Broken resolving of ext. entities with relative system id (URI)
> ---------------------------------------------------------------
>
>          Key: XMLBEANS-171
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-171
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2 Beta 1
>     Reporter: Svata Dedic
>     Assignee: Radu Preotiuc-Pietro

>
> Usually an umbrella document contains inclusions using external entities, 
> defined by an URI relative to the umbrella document - this works OK in a 
> normal SAX environment. However with xmlbeans parse method, the relative 
> references are broken.
> I found out tha the class org.apache.xmlbeans.impl.newstore2.Locale.SAXLoader 
> does
> InputSource is;
> ...
> is.setSystemId( "file://" );
> with no respect to the value of
>    XmlOptions.safeGet( options, XmlOptions.DOCUMENT_SOURCE_NAME );
> which was set by the callers (e.g. from the URL that is being parsed).
> Thus all relative references are resolved relative to the system current 
> directory instead of the location of the including document.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to