[netcf-devel] [PATCH 2/3] Transforms for ipv6-addressing

David Lutterkort lutter at redhat.com
Fri Sep 25 16:45:22 UTC 2009


On Fri, 2009-09-25 at 17:56 +0200, Daniel Veillard wrote:
> 
>   Hum libexslt is not the most correct part of the stack ...

Ugh .. I hope the call to exsltStrRegister in drv_init won't cause any
headaches.

> [...]
> > -                extension-element-prefixes="bond ipcalc"
> > +                xmlns:str="http://exslt.org/strings"
> > +                extension-element-prefixes="bond ipcalc str"
> [...]
> > +        <xsl:if test="node[@label = 'IPV6ADDR_SECONDARIES']">
> > +          <xsl:for-each select="str:split(node[@label = 'IPV6ADDR_SECONDARIES']/@value)">
> 
>  okay str:split should be safe :-)
> I didn't noticed anything nasty !

Yeah, that's all I use it for; eventually, I want to do the splitting in
the Augeas lens and remove the dependency on libexslt.

David




More information about the netcf-devel mailing list