RE: [libxml++] RE: [xml] DOM Parser + entities
- From: Murray Cumming Comneon com
- To: libxmlplusplus-general lists sourceforge net
- Subject: RE: [libxml++] RE: [xml] DOM Parser + entities
- Date: Thu, 16 Oct 2003 09:26:24 +0200
Wrong list again. Sorry.
murrayc usa net
> -----Original Message-----
> From: Murray Cumming Comneon com [mailto:Murray Cumming Comneon com]
> Sent: Donnerstag, 16. Oktober 2003 08:53
> To: veillard redhat com
> Cc: libxmlplusplus-general lists sourceforge net
> Subject: [libxml++] RE: [xml] DOM Parser + entities
> > From: Daniel Veillard [mailto:veillard redhat com]
> > On Wed, Oct 15, 2003 at 07:23:43PM +0200,
> > Murray Cumming Comneon com wrote:
> > > Thanks. So, Node::children points to the entity declaration
> > > (xmlEntityPtr). Is it possible/meaningful for there to be
> more than
> > > one child? As I understand it, an entity reference can only
> > refer to
> > > one entity declaration. I ask because I think I've seen an
> > > XML_ENTITY_REF_NODE xmlNode with 2 XML_ENTITY_DECL children.
> > that would obviously be a bug, and I would need a
> > reproductible case to chase it, as usual. How could &foo;
> > lead to reference to 2 entities, no that doesn't make sense to me.
> Don't worry about it then. My current libxml++ code is
> getting the first child and not even looking for a 2nd one,
> and it seems to work fine. I just found it strange that the
> children struct field was used for this purpose. But
> apparently it's also done that way in the W3C DOM API spec
> thingy. I think I'll try to make it more obvious in libxml++.
> Thanks for all the help. Expect similar annoying questions
> about the SAX parser + entities soon.
> Murray Cumming
> murrayc usa net
> This SF.net email is sponsored by: SF.net Giveback Program.
> SourceForge.net hosts over 70,000 Open Source Projects. See
> the people who have HELPED US provide better services: Click
> here: http://sourceforge.net/supporters.php
> Libxmlplusplus-general mailing list
> Libxmlplusplus-general lists sourceforge net
] [Thread Prev