2012/1/18 André L F S Bacci <andrebacci.lis...@gmail.com>:
> On Mon, Jan 16, 2012 at 7:00 PM,  <doc-pt...@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

Reply via email to