On Thu, Nov 15, 2001 at 01:42:16PM +0000, Matt Sergeant wrote:
The problem arises when catalog support is enabled. Now catalog support is a good thing, so I don't want to turn it off. The problem is the callbacks see a request for "/etc/xml/catalog", and try and resolve it from the web root. A fix for us, assuming it wouldn't break things for others, would be to send the callbacks "file:///etc/xml/catalog", which we treat as filesystem relative. Any chance we can get a patch into libxml2 to do that? Or would it break stuff?
Hum, thinking about it it just makes sense. It's an URI reference "nearly" like any other. I checked an this doesn't seems to break. This is actually saner for platform with file naming conventions distincts from Unix. I applied the enclosed patch, 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/
Attachment:
catalog.diff
Description: Text document