Re: [xml] Whitespaces within URI



On Tue, Sep 23, 2008 at 03:22:57PM +0200, Michael Buchner wrote:
Hello,

I have problems with URIs containing whitespaces using the XSLT document() 
function. It seems to be a general problem in libxml2 when loading 
external documents, for example
C:/Program Files/test.xml

  by definition document() requires URI References, and in URI space
need to be escaped.

File protocol with %20 as whitespace escaping doesn't work neither.

  now that's strange, are you sure you built the URI file correctly ?
Note that 'file' based URI are horribly undefined so what an apllication
or system may accept as a valid file URI may mean something completely
different for a different system using the same URI.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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