Re: XML::LibXML search path for DTDs

Liam R E Quin <[email protected]> Mon, 08 Oct 2012 14:20:03 -0400
Newsgroups gmane.comp.lang.perl.xml
Organization W3C - World Wide Web Consortium
Message-ID <[email protected]>
On Mon, 2012-10-08 at 10:03 -0700, Roger Pepitone wrote:

> The absolute path of where my file is located contains some non-ascii characters.
> If I take URI::file->new_abs ("./${SVN}/dtds/type.dtd"), and put that in the catalog, then libxml2 complains about broken URIs.
> (File path contains \x81 \x59, which is CP932 for U2010. URI contains "%81]".)
> Is this a bug in URI::file or libxml2?


Try encoding it as %E2%80%90 maybe (the UTF-8 sequence).

Without seeing the full code and catalog and knowing the operating
environment (e.g. Microsoft Windows XP SP2?) it's hard to know.

"CP932 for U2010" is not well-formed URI-speak :-)

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs