Re: [xml] Duplicate PI nodes issue
- From: Daniel Veillard <veillard redhat com>
- To: Alistair Leslie-Hughes <leslie_alistair hotmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Duplicate PI nodes issue
- Date: Sun, 9 Mar 2008 11:42:18 -0400
On Sun, Mar 09, 2008 at 09:09:23PM +1100, Alistair Leslie-Hughes wrote:
"Daniel Veillard" <veillard redhat com> wrote in message
news:20080308104619 GB8438 redhat com
On Fri, Mar 07, 2008 at 04:47:31PM -0800, Cory Nelson wrote:
An XML declaration might look like it, but the standard says it is not
a PI and that PIs cant be named "xml" (or any case variant of it). So
I would say the only bug here is that xmlNewPI is not returning with
an error.
Agreed,
Thanks all your input.
Since its not a PI node, how do I change the encoding of the XML document.
there is a doc->encoding string, but the best is to use the proper
primitive, all xmlSave... from
http://xmlsoft.org/html/libxml-xmlsave.html
take an encoding input.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]