Re: [gdome]Bug in DocumentType?



On Sat, 14 Jul 2001, Tobias Peters wrote:

> When I load a document from a file, in validating mode, the DocumentType 
> node of that document exhibits strage behaviour:
> method hasChildNodes returns true, while firstChild and lastChild are 
> both null (as they should). This does not happen when I use LOAD_PARSING.
Yes, it's a bug, it's due to a libxml2 feature that , when load a document
in validating mode, holds nodes, like attr or element declarations under
the dtd node. This is a libxml2's feature that I have to hide.

I'll fix it in the next release.

Thanx
    Paolo.
--
Paolo Casarini - casarini cs unibo it





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