On Tue, 13 Feb 2007, Graeme Geldenhuys wrote:

> On 2/13/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > IIRC, in earlier versions, if there was only whitespace between the start
> > > tag
> > > and the end tag, no child nodes were generated.  With fpc 2.1.1 for such
> > > 'empty' pieces a text node is generated, so LazDoc sees it as content.
> >
> > That could also be the case. In fpdoc there is a piece of code to check for
> > whitespace-only content, that could be used to implement a more correct
> > test.
> 
> Isn't such a check built into the xml or dom units so we could rather use
> that?
> A isEmptyElement() would be a handy function. :-)

I'm sure it would be, remains the matter of having a correct definition for
this function :-)

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to