Re: function.domxsltstylesheet-process breaks pt_BR translation
| From: | Alexey Shein | Date: | Wed, 18 Jan 2012 04:47:00 +0000 |
| Subject: | Re: function.domxsltstylesheet-process breaks pt_BR translation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969383577@lists.php.net to get a copy of this message | ||
2012/1/18 André L F S Bacci <andrebacci.listas@gmail.com>:
> On Mon, Jan 16, 2012 at 7:00 PM, <doc-pt-br@lists.php.net> wrote:
>> Your documentation is broken. The build is done on Friday.
>
> Hi,
>
> I fixed almost all errors for building the pt_BR translation. But I
> can't solve an unknown ID for function.domxsltstylesheet-process. But
> I also can't find this ID anywhere in pt_BR tree.
>
> It seems that ID exists only in the original, and could not see where
> to change the translation to fix the build.
>
> Steps to reproduce:
>
> $ svn checkout
> https://svn.php.net/repository/phpdoc/modules/doc-pt_BR phpdoc
> [...]
> $ cd phpdoc/
> $ php doc-base/configure.php --with-lang=pt_BR
> [...]
> Loading and parsing manual.xml... done.
> Validating manual.xml... failed.
>
> The document didn't validate, here are the errors I got:
> (If this isn't enough information, try again with --enable-xml-details)
> IDREF attribute linkend references an unknown ID
> "function.domxsltstylesheet-process"
> IDREF attribute linkend references an unknown ID
> "function.domxsltstylesheet-process"
> IDREF attribute linkend references an unknown ID
> "function.domxsltstylesheet-process"
>
> Eyh man. No worries. Happ shittens. Try again after fixing the errors above.
>
> $ grep -ir function.domxsltstylesheet-process pt_BR/*
> $ grep -ir function.domxsltstylesheet-process en/* | grep -v svn-base
> en/reference/domxml/DomXsltStylesheet/result-dump-mem.xml: Since
> <xref linkend="function.domxsltstylesheet-process" /> always returns
> en/reference/domxml/DomXsltStylesheet/result-dump-mem.xml:
> <member><xref linkend="function.domxsltstylesheet-process"
> /></member>
> en/reference/domxml/DomXsltStylesheet/process.xml:<refentry
> xml:id="function.domxsltstylesheet-process"
^------------------------
That's what you need, look for 'xml:id' text, that's article's definition.
> xmlns="http://docbook.org/ns/docbook">
> en/reference/domxml/DomXsltStylesheet/result-dump-file.xml: Since
> <xref linkend="function.domxsltstylesheet-process" /> always returns a
> en/reference/domxml/DomXsltStylesheet/result-dump-file.xml:
> <member><xref linkend="function.domxsltstylesheet-process"
> /></member>
> en/reference/domxml/functions/domxml-xslt-stylesheet-doc.xml:
> <member><xref linkend="function.domxsltstylesheet-process"
> /></member>
> en/reference/domxml/functions/domxml-xslt-stylesheet-file.xml:
> <member><xref linkend="function.domxsltstylesheet-process"
> /></member>
> en/reference/domxml/functions/domxml-xslt-stylesheet.xml:
> <member><xref linkend="function.domxsltstylesheet-process"
> /></member>
> $
>
> Any ideas?
>
> André L F S Bacci
--
Regards,
Shein Alexey