Re: [xml] Dokument encoding depends on plattform?



On Thu, Mar 25, 2004 at 07:31:12AM +0100, Oliver Fischer wrote:
Hello,

I have a document which starts with

<?xml version="1.0" encoding="ISO-8859-15"?>

I can process this document with xsltproc (libxml 2.6.5/libxslt 1.1.2) 
without any problems on Linux and FreeBSD. Processing the same document 
under Solaris results in

artikel.xml:1: parser error : Unsupported encoding ISO-8859-15
<?xml version="1.0" encoding="ISO-8859-15"?>

Does the supported encoding depend on the plattform?

  My guess is that iconv was found at compile time, so the specific
ISO-8859-* encoding handlers from libxml2 were not included, but unfortunately
the iconv on your platform is too old to recognize ISO-8859-15.
  You can try to compile without iconv support and with iso8859x
or try to upgrade your system iconv libraries...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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