Re: [xml] are "nameless" nodes allowed?
- From: Daniel Veillard <veillard redhat com>
- To: oliverst online de
- Cc: xml gnome org
- Subject: Re: [xml] are "nameless" nodes allowed?
- Date: Tue, 7 Sep 2004 08:39:44 -0400
On Tue, Sep 07, 2004 at 01:46:01PM +0200, oliverst online de wrote:
if I call
xmlNewNode(NULL, BAD_CAST "");
and put it into my tree, I get this node in my document:
<></>
Is this actually allowed? I am not familiar with the standard, but it
seems wrong to me.
Yes, don't do that !
Now I'm not sure we should change the API behaviour since people may want
to make nodes using their own string (though they could still do this
with xmlNewNodeEatName).
Daniel
--
Daniel Veillard | Red Hat Desktop team http://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]