xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45210] Base systemId not set when parsing XML catalogs
Date Fri, 18 Jul 2008 09:44:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45210





--- Comment #4 from David Crossley <crossley@apache.org>  2008-07-18 02:44:27 PST ---
I have not tried the patch yet, and now away for another week.

When you talked about relative references, i thought that you were referring to
entries within the catalog. See one of our examples at:
[1]
http://svn.apache.org/repos/asf/forrest/trunk/main/webapp/resources/schema/catalog.forrest.xcat
The "uri" attributes of the "public" elements do get resolved relative to the
catalog.forrest.xcat file.

Anyway, now i see that you mean the DTD for the catalog itself.

By the way, i think that i am still a bit confused by that "relative-catalogs"
property and will attempt again to understand the docs.

Note that we use a PublicIdentifier for our catalogs (e.g. [1] above). IIRC the
Resolver handles this internally when we do it that way. We don't need the
catalog.dtd to be present, and it doesn't bang on the net to try to get it from
that SystemIdentifier URL.

I will still investigate your patch and do some testing.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message