Re: [xslt] Fwd: XML::LibXSLT bug, comments in xsl:text
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Fwd: XML::LibXSLT bug, comments in xsl:text
- Date: Wed, 4 Dec 2002 12:48:18 -0500
On Wed, Dec 04, 2002 at 05:37:10PM +0000, Matt Sergeant wrote:
> On Wed, 4 Dec 2002, Daniel Veillard wrote:
> > xmlLineNumbersDefault(1);
> >
> > in the module initialization.
>
> Does that affect performance in any way?
no, it just initialize one more field per element structure,
that can be neglected. The drawback would be problem with code
checking node->content when the node type is an ELEMENT, it's
normally NULL, and the line number is stored in the pointer
(ugly but the only way to add it without breaking the API/ABI :-\)
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]