Re: [gdome]Bug in DocumentType?
- From: Paolo Casarini <casarini CS UniBO IT>
- To: Tobias Peters <t-peters gmx de>
- Cc: gdome gnome org
- Subject: Re: [gdome]Bug in DocumentType?
- Date: Sun, 15 Jul 2001 20:09:59 +0200 (CEST)
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]