Perfect,<div><br></div><div>Thanks to everyone involved, this community never ceases to amaze me.</div><div><br></div><div><br></div><div>Regards,</div><div>Joel<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 2:48 PM, Rob Snelders <span dir="ltr"><<a href="mailto:rob@ertai.nl" target="_blank">rob@ertai.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi,<br>
<br>
Many thanks to Christian. I pushed his patch.<br>
I have also updated the BSA on the website.<br>
<br>
- --<br>
Greetings,<br>
Rob Snelders<br>
<br>
Op 19-10-12 15:22, Christian Lohmaier schreef:<br>
<div><div class="h5">> 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>
>> [...] The additional html tags in the wiki-output on the <html><br>
>> tag makes the removal of the xmlns tag that is added by tidy<br>
>> 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 <html ..<br>
>> xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" ..> but<br>
>><br>
>> <html ... xmlns=<newline/> "<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>
> Or better - instead of trying to search and replace, also use xslt<br>
> to process the xml:<br>
><br>
> stripnamespace.xsl:<br>
><br>
> <xsl:stylesheet version="1.0"<br>
> xmlns:xsl="<a href="http://www.w3.org/1999/XSL/Transform" target="_blank">http://www.w3.org/1999/XSL/Transform</a>"> <xsl:output<br>
> indent="yes"  encoding="UTF-8" method="xml"<br>
> omit-xml-declaration="yes"/><br>
><br>
> <xsl:template match="*"> <xsl:element name="{name()}"><br>
> <xsl:apply-templates select="node()|@*"/> </xsl:element><br>
> </xsl:template><br>
><br>
> <xsl:template match="@*"> <xsl:copy/> </xsl:template><br>
> </xsl:stylesheet><br>
><br>
><br>
> --- a/bug/Makefile +++ b/bug/Makefile @@ -18,7 +18,8 @@ all:<br>
> extract compose<br>
><br>
> extract: mkdir -p build -       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 +       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" +       xsltproc --encoding UTF-8<br>
> --novalid stripnamespace.xsl build/tidyout.xhtml ><br>
> build/BugReport_Details.xhtml xsltproc --encoding UTF-8 --novalid<br>
> component_comments.xsl build/BugReport_Details.xhtml ><br>
> build/component_comments.xhtml xsltproc --encoding UTF-8 --novalid<br>
> subcomponents.xsl build/BugReport_Details.xhtml ><br>
> build/subcomponents.xhtml xsltproc --encoding UTF-8 --novalid<br>
> components.xsl build/BugReport_Details.xhtml ><br>
> build/components.xhtml<br>
><br>
><br>
</div></div>> ciao Christian _______________________________________________<br>
> LibreOffice mailing list <a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBAgAGBQJQhxCrAAoJEGs78UIq7mKyMzYH/A7bML7aLdBVpD+aAaqD2+oS<br>
KqfVcIYOGGoi/aonurGjmaHLi7kLmqiMCvY4DwvQR5psJ++xHokA5VfD7KZpQmGr<br>
QPDpAquOSkVUFpnBGuJaNhPFjMMKKO6i8UT0smsPkadYDKGmZNtUrSYLO1J9fFqK<br>
tvarh6SUzzBxEKnpT7QeSy8kQLudW8Bk2+hrIkT2/ecR9M0SplzI5FPFtFTdblVg<br>
OKw+88TfrNhaFGeClZDRjEW6lgD1ujK2CN3pem/plXHz8yDMf7vlqIAzlFuV6m4h<br>
fdlNEg2KSefU32q++f4CVol4JqwRLAw3whbFYzOjCCADfOBmvaFRcBzFZdIFTYw=<br>
=6net<br>
-----END PGP SIGNATURE-----<br>
</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>