Re: [xml] xmlCheckFilename breaking stuff in 2.2.12

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@imag.fr)
Date: Sat Feb 03 2001 - 03:46:15 EST


On Fri, Feb 02, 2001 at 01:47:36PM -0500, Harry Blundell wrote:
>
> Hi Daniel,
>
> In 2.2.12, the function xmlCheckFilename was added to xmlIO.c - the
> header says it's checking to see if the passed path is a valid source,
> and it considers it an error for the file not to exist. However, it is
> called in xmlFileOpenW (used for output) as well as xmlFileOpen (used for
> input). This is a problem when using something like xmlSaveFile to save
> an XML document to a file that doesn't exist.
>
> Could the call to xmlCheckFilename be removed from xmlFileOpenW (and
> xmlGzfileOpenW)?

  Dohhhh ... right !
Fixed, will commit this to CVS ASAP !

  thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Feb 03 2001 - 04:47:47 EST