Re: [xml] Release of libxml2-2.4.28

On Fri, Nov 22, 2002 at 09:30:19PM +0300, Vitaly Ostanin wrote:
    * added encoding support for XInclude

What encoding are supported ? 

When I try to build DocBook document with
href="doc-template.xml" parse="text"

I get messages:
XInclude: encoding windows-1251 not supported
XInclude: could not load doc-template.xml, and no fallback was

  Hum, it's a limitation of the way I implemented it, currently
it's limited to the subset found in xmlCharEncoding in encoding.h,
there is no good reasons for it it was just an implementation convenience.

C.f. the comment around line 1166 in xinclude.c
         * TODO: we should not have to remap to the xmlCharEncoding
         *       predefined set, a better interface than
         *       xmlParserInputBufferCreateFilename should allow any
         *       encoding supported by iconv


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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