[
https://issues.apache.org/jira/browse/XERCESJ-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Glavassevich updated XERCESJ-1366:
------------------------------------------
Affects Version/s: 2.9.1
> Honor xml:base for XML Schema Processing
> ----------------------------------------
>
> Key: XERCESJ-1366
> URL: https://issues.apache.org/jira/browse/XERCESJ-1366
> Project: Xerces2-J
> Issue Type: New Feature
> Components: XML Schema 1.0 Structures
> Affects Versions: 2.9.1
> Environment: all
> Reporter: Philipp Wagner
>
> Currently xml:base is used when doing XInclude processing but not when
> processing XML Schema files (for @schemaLocation or xsd:include/xsd:import).
> The XML Schema specs don't mention xml:base (it wasn't ready at that time),
> so using xml:base for schemas does not seem to be strictly necessary for a
> processor.
> Still, honoring xml:base for XInclude but not for Schemas creates the problem
> that the same relative path resolves to two different paths for XInclude and
> XML Schema (which might be used within the same document). This is at least
> confusing for the reader of a XML file.
> My proposal would be to have a config option to honor xml:base for schema
> processing but leave the default behavior as is in order to maintain backward
> compatibility.
--
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]