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. :-)
--
Graeme Geldenhuys
There's no place like S34° 03.168' E018° 49.342'
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives