That stuff is all way above my knowledge. I'll wait for someone to fix it and then I'll try again to use it after I update FDO with new version(s). Thanks for the update, glad it looks like a minor problem<div><br>
</div><div><br></div><div>Regards,</div><div>Joel<br><br><div class="gmail_quote">On Fri, Oct 19, 2012 at 6:22 AM, Christian Lohmaier <span dir="ltr"><<a href="mailto:lohmaier+libreoffice@googlemail.com" target="_blank">lohmaier+libreoffice@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi *,<br>
<br>
On Fri, Oct 19, 2012 at 12:25 PM, Christian Lohmaier<br>
<<a href="mailto:lohmaier%2Blibreoffice@googlemail.com">lohmaier+libreoffice@googlemail.com</a>> wrote:<br>
> [...]<br>
<div class="im">> The additional html tags in the wiki-output on the <html> tag makes<br>
> the removal of the xmlns tag that is added by tidy fail.<br>
><br>
> i.e.  perl -pe 's|xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"||'  does<br>
> nothing, since it is not<br>
> <html .. xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" ..> but<br>
><br>
> <html ... xmlns=<newline/><br>
> "<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"><br>
><br>
> so remove the xmlns declaration and just run the xslt commands<br>
> manually or fix the regular expression or something like that.<br>
<br>
</div>Or better - instead of trying to search and replace, also use xslt to<br>
process the xml:<br>
<br>
stripnamespace.xsl:<br>
<br>
<xsl:stylesheet version="1.0" xmlns:xsl="<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>"><br>
        <xsl:output indent="yes"  encoding="UTF-8" method="xml"<br>
omit-xml-declaration="yes"/><br>
<br>
        <xsl:template match="*"><br>
                <xsl:element name="{name()}"><br>
                        <xsl:apply-templates select="node()|@*"/><br>
                </xsl:element><br>
        </xsl:template><br>
<br>
        <xsl:template match="@*"><br>
                <xsl:copy/><br>
        </xsl:template><br>
</xsl:stylesheet><br>
<br>
<br>
--- a/bug/Makefile<br>
+++ b/bug/Makefile<br>
@@ -18,7 +18,8 @@ all: extract compose<br>
<br>
 extract:<br>
        mkdir -p build<br>
-       curl --silent<br>
<a href="http://wiki.documentfoundation.org/BugReport_Details" target="_blank">http://wiki.documentfoundation.org/BugReport_Details</a> | tidy<br>
--numeric-entities yes -asxhtml 2>/dev/null | perl -pe<br>
's|xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"||' ><br>
build/BugReport_Details.xhtml<br>
+       curl --silent<br>
<a href="http://wiki.documentfoundation.org/BugReport_Details" target="_blank">http://wiki.documentfoundation.org/BugReport_Details</a> | tidy<br>
--numeric-entities yes -asxhtml 2>/dev/null > build/tidyout.xhtml ||<br>
echo "ignoring tidy error"<br>
+       xsltproc --encoding UTF-8 --novalid stripnamespace.xsl<br>
build/tidyout.xhtml > build/BugReport_Details.xhtml<br>
<div class="im">        xsltproc --encoding UTF-8 --novalid component_comments.xsl<br>
build/BugReport_Details.xhtml > build/component_comments.xhtml<br>
        xsltproc --encoding UTF-8 --novalid subcomponents.xsl<br>
build/BugReport_Details.xhtml > build/subcomponents.xhtml<br>
        xsltproc --encoding UTF-8 --novalid components.xsl<br>
build/BugReport_Details.xhtml > build/components.xhtml<br>
<br>
<br>
</div>ciao<br>
<span class="HOEnZb"><font color="#888888">Christian<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><b><font face="garamond, serif" size="4">Joel Madero</font></b><div><font face="garamond, serif">LibO QA Volunteer</font></div><div><font face="garamond, serif"><a href="mailto:jmadero.dev@gmail.com" target="_blank">jmadero.dev@gmail.com</a></font></div>
<div><br></div><br>
</div>