You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2010/02/07 17:04:28 UTC

[jira] Updated: (XERCESJ-1307) XSLoader can not load XSD which include relative schemaLocation while absolute path works

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

Michael Glavassevich updated XERCESJ-1307:
------------------------------------------

    Fix Version/s:     (was: 2.9.0)

> XSLoader can not load XSD which include relative schemaLocation while absolute path works
> -----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1307
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1307
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema API
>    Affects Versions: 2.9.0
>         Environment: Window XP
>            Reporter: xiaofeng.zhang
>
> We use XSLoader to load XML schema. If the xsd file include relative schemaLocation a warning is thrown:
> [Warning] :2:46: schema_reference.4: Failed to read schema document '../base.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
> Changing to absolute path <xsd:include schemaLocation="file:///C:/.../base.xsd"/> the XSLoader will work.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org