You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <ji...@apache.org> on 2010/12/07 04:39:20 UTC
[jira] Updated: (XMLCOMMONS-67) Base systemId not set when parsing
XML catalogs
[ https://issues.apache.org/jira/browse/XMLCOMMONS-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XMLCOMMONS-67:
-------------------------------------------
Fix Version/s: XML Commons Resolver 1.2.0
> Base systemId not set when parsing XML catalogs
> -----------------------------------------------
>
> Key: XMLCOMMONS-67
> URL: https://issues.apache.org/jira/browse/XMLCOMMONS-67
> Project: XmlCommons
> Issue Type: Bug
> Components: XML Commons Resolver (resolver.jar)
> Affects Versions: 1.x
> Environment: Operating System: All
> Platform: All
> Reporter: Earl Hood
> Assignee: Commons Developers Mailing List
> Fix For: XML Commons Resolver 1.2.0
>
> Attachments: sysid.patch
>
>
> Created an attachment (id=22130)
> Patch to specify systemId for catalog intput source
> The systemId of the XML input source of a catalog file
> is not set when calling SAX parser. This causes any
> relative external references in the file to resolve
> against the incorrect base (current working dir) versus the
> correct base (location of catalog file).
> This problem normally leads to a fatal exception by
> the SAX parser since the external entity cannot be found.
> Attached is a patch that supports setting the systemId of
> the catalog input source so relative external entities
> will be resolved against the proper base.
> NOTE: The classes DOMCatalogReader and TextCatalogReader
> currently have stubs for systemId support: they just call
> base readCatalog() method w/o systemId support. Unsure
> if these classes are even used in practice.
--
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: xml-commons-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: xml-commons-dev-help@xerces.apache.org