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

Re: [xml] FW: xmlReadFile with filename instead of URL?



> -----Original Message-----
> From: Michael Day [mailto:mikeday yeslogic com] 
> Sent: Wednesday, March 28, 2007 8:37 AM
> Cc: xml gnome org
> Subject: Re: FW: [xml] xmlReadFile with filename instead of URL?
> 
> Hi Trappel,
> 
> > Since zlib is not compiled in in my Windows DLL I thought I 
> might give 
> > this a quick try:
> > I can xmlReadFile("te%2st.xml", NULL, 0); without problems.
> 
> Can you try again with a filename containing %2F rather than 
> %2s, as 2s is not valid hexadecimal code and won't be unescaped.
> 
> Michael
> 

Aha. It does not work with %2F:

Dir
...
23.03.2007  12:45             1.015 te%2Fst.xml
...

xmlReadFile("te%2Fst.xml", NULL, 0);

-> failed to load external entity

best regards / mit freundlichen Grüßen,
Martin Trappel



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