Re: [PATCH] docs/page.xls: remove unnecessary namespace attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 30, 2014 at 04:08:04PM +0100, Pavel Hrdina wrote:
> It breaks the build on RHEL-5.10 and because it's only optional we
> could remove it from the code. The default namespace will be used.
> This hunk was introduced by commit 237a088ba44633b08e0528fe5103d99b1e213b71.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  docs/page.xsl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/page.xsl b/docs/page.xsl
> index d560c09..7de238e 100644
> --- a/docs/page.xsl
> +++ b/docs/page.xsl
> @@ -187,7 +187,7 @@
>    </xsl:template>
>  
>    <xsl:template match="html:h2 | html:h3 | html:h4 | html:h5 | html:h6" mode="content">
> -    <xsl:element name="{name()}" namespace="{namespace-uri()}">
> +    <xsl:element name="{name()}">
>        <xsl:apply-templates mode="copy" />
>        <xsl:if test="./html:a/@name">
>          <a class="headerlink" href="#{html:a/@name}" title="Permalink to this headline">&#xb6;</a>
> @@ -200,7 +200,7 @@
>    </xsl:template>
>  
>    <xsl:template match="node()" mode="copy">
> -    <xsl:element name="{name()}" namespace="{namespace-uri()}">
> +    <xsl:element name="{name()}">
>        <xsl:copy-of select="./@*"/>
>        <xsl:apply-templates mode="copy" />
>      </xsl:element>

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]