List Info

Thread: FW: xmlReadFile with filename instead of URL?




FW: xmlReadFile with filename instead of URL?
country flaguser name
Austria
2007-03-28 01:27:32
-----Original Message-----
From: Trappel Martin 
Sent: Wednesday, March 28, 2007 8:27 AM
To: 'Michael Day'
Subject: RE: [xml] xmlReadFile with filename instead of
URL?

> -----Original Message-----
> From: Michael Day [mailto:mikedayyeslogic.com]
> Cc: xmlgnome.org
> Subject: Re: [xml] xmlReadFile with filename instead of
URL?
> 
> Hi Daniel,
> 
> >  Works just fine here, if the
"foo%2Fbar.xml" file is
> present. If it
> > is absent, then the unescaping is tested. I don't
> understand why that
> > doesn't work for you.
> 
> The behaviour only seems to trigger when you configure
--without-zlib. 
> I don't know why yet, but there are zlib specific
#ifdefs in the 
> loading and URL mangling code, so there could be
something funny going 
> on that isn't triggered when zlib is disabled.
> 

Hello.

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.

best regards / mit freundlichen Grüßen,
Martin Trappel
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

Re: FW: xmlReadFile with filename instead of URL?
country flaguser name
Australia
2007-03-28 01:36:46
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

-- 
Print XML with Prince!
http://www.princexml.com

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )