Re: [xml] Using xmlCatalogResolveSystem



On Sat, Jan 19, 2002 at 06:10:13PM +1000, Keith Isdale wrote:
But NULL was always being returned for a public entity. I've attached a patch 
for this problem. Please note this patch will have no effect on the 
resolution of  an entity when a PublicID is provided. 

  Hum, that's wrong, the resolver does handle resulution with just
system IDs, look at the code in xmlCatalogXMLResolve(). The problem
seems to be that your XML catalog system is misinstalled, having
registered System ID using the directive for Public ID. this patch
would just make the XML Catalog implementation diverge from the spec
by requesting to match System ID against public entries
   http://www.oasis-open.org/committees/entity/spec-2001-08-06.html#s.public

  The real solution is to fix your catalog system it's not correct
it seems it uses "public" constructs to match system identifiers.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]