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 "Philipp Wagner (JIRA)" <xe...@xml.apache.org> on 2009/04/16 14:55:15 UTC
[jira] Created: (XERCESJ-1366) Honor xml:base for XML Schema
Processing
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
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1366) Honor xml:base for XML Schema
Processing
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org