Re: [gdome]XML_DOCUMENT_TYPE_NODE vs XML_DTD_NODE
- From: Paolo Casarini <casarini CS UniBO IT>
- To: gdome gnome org
- Subject: Re: [gdome]XML_DOCUMENT_TYPE_NODE vs XML_DTD_NODE
- Date: Mon, 29 Jan 2001 19:54:28 +0100 (MET)
On Mon, 29 Jan 2001, Daniel Veillard wrote:
> On Mon, Jan 29, 2001 at 05:01:54PM +0100, Paolo Casarini wrote:
> > Why libxml set XML_DTD_NODE type to a DOCTYPE node?
> > I think DOCTYPE node should be XML_DOCUMENT_TYPE_NODE.
>
> No it uses XML_DTD_NODE, get a fresh version of libxml2 from
> CVS and look at the warning in tree.h
Ok, I'm wrong, I'll use XML_DTD_NODE for DOCTYPE node, but could
you explain me why? DOM1 and DOM2 specs say that the type should be
XML_DOCUMENT_TYPE_NODE. So what's the reason of this choice?
I'm trying to implement the DocumentType Interface and it's important to
understand this choice.
Thanx
Paolo
--
Paolo Casarini
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]