Thanks Alexey, Thanks Philip!

Will be fixing it asap. :)


Thiago Henrique Pojda
+55 41 8856-7925



On Wed, Jan 4, 2012 at 4:40 AM, Philip Olson <phi...@roshambo.org> wrote:

>
> Nice explanation. And the other option is to simply include the en/
> version of sorting.xml which would mean adding:
>
>  &reference.array.sorting;
>
> To:
>
>  pt_BR/reference/array/book.xml
>
> As done in:
>
>  en/reference/array/book.xml
>
> And then it'll automagically include the en/ version now, and the pt_BR/
> version after you translate it.
>
> Regards,
> Philip
>
> On Jan 3, 2012, at 10:17 PM, Alexey Shein wrote:
>
> > Hello, Thiago,
> >
> > That means that your translation is missing file with that xml:id,
> > that's why your translation is broken and en is not.
> > Use http://doc.php.net/trantools/revcheck_extended_pt_BR.html to track
> > your translation.
> > In your case
> >
> > conf@laptop ~/phpdoc-ru/en $ rgrep --exclude-dir=".svn"
> > --include='*.xml' array.sorting . | grep 'xml:id'
> > ./reference/array/sorting.xml:<chapter xml:id="array.sorting"
> > xmlns="http://docbook.org/ns/docbook";
> > xmlns:xlink="http://www.w3.org/1999/xlink";>
> > conf@laptop ~/phpdoc-ru/en $
> >
> > you should translate reference/array/sorting.xml, that would fix the
> build.
> >
> > 2012/1/4 Thiago H. Pojda <thiago.po...@gmail.com>:
> >> Hey guys,
> >>
> >> I just found out what was throwing these errors. I fixed what I could
> but
> >> found something odd: a line is causing the build to fail in pt_BR's
> version
> >> but not in EN.
> >>
> >> In EN's version of array-multisort we have a line (283)
> >> "<member>&seealso.array.sorting;</member>", which was reflected to the
> >> translated version in last update. Since then, when building pt_BR it
> throws
> >> an error:
> >>
> >>> ERROR (/Users/user/Documents/phpsvn/doc-base/manual.xml:unknown)
> >>>
> >>> IDREF attribute linkend references an unknown ID "array.sorting"
> >>
> >>
> >> If I remove this same line in pt_BR's and rebuild it, everything goes
> fine.
> >> I can delete this line and fix pt_BR's build but that will break the
> sync
> >> between files. Any guidance?
> >>
> >>
> http://svn.php.net/viewvc/phpdoc/en/trunk/reference/array/functions/array-multisort.xml?revision=297028&view=markup
> >>
> http://svn.php.net/viewvc/phpdoc/pt_BR/trunk/reference/array/functions/array-multisort.xml?revision=321695&view=markup
> >>
> >>
> >> Cheers,
> >>
> >> Thiago Henrique Pojda
> >> +55 41 8856-7925
> >>
> >>
> >>
> >> On Tue, Jan 3, 2012 at 1:19 AM, Yago Ferrer <yago.fer...@gmail.com>
> wrote:
> >>>
> >>> Thiago,
> >>> Yes. Try to compile the manual with the option --enable-xml-details. It
> >>> will take longer but it may provide some extra information where the
> problem
> >>> is located. If doing that doesn't give you enough info try to revert
> the
> >>> latest SVN commit in your local copy and compile it (without xml
> details)
> >>> until you find the version that works and then try to find the file
> that
> >>> breaks the build.
> >>>
> >>> Good luck!
> >>>
> >>> Happy new year 2012!
> >>>
> >>> Yago
> >>>
> >>> On Mon, Jan 2, 2012 at 8:00 PM, Thiago H. Pojda <
> thiago.po...@gmail.com>
> >>> wrote:
> >>>>
> >>>>
> >>>> Can anyone help me finding out what is generating these errors?
> >>>>
> >>>> I've looked everywhere I could think of for that "omnihttpd" mention
> >>>> without any luck. I have no idea where to look for the others too.
> >>>>
> >>>> Will I have to download the whole pt_BR repository and try a
> ./configure
> >>>> --enable-xml-details to find it?
> >>>>
> >>>>
> >>>> Thanks,
> >>>> Thiago Henrique Pojda
> >>>> +55 41 8856-7925
> >>>>
> >>>>
> >>>>
> >>>> ---------- Forwarded message ----------
> >>>> From: <doc-pt...@lists.php.net>
> >>>> Date: Mon, Jan 2, 2012 at 7:00 PM
> >>>> Subject: [DOC-PT-BR] - Your documentation is broken
> >>>> To: doc-pt...@lists.php.net
> >>>>
> >>>>
> >>>> Your documentation is broken. The build is done on Friday.
> >>>>
> >>>>        Please, try to fix it *quickly*.
> >>>>
> >>>>        Here is the output of the configure.php script :
> >>>>
> >>>>        =============================
> >>>>
> >>>>        configure.php: $Id: configure.php 316520 2011-09-12 09:54:52Z
> >>>> shein $
> >>>> PHP version: 5.3.6RC1
> >>>>
> >>>> Checking for source directory...
> >>>> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/
> >>>> Checking for output filename...
> >>>> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/.manual.xml
> >>>> Checking whether to include CHM... no
> >>>> Checking for PHP executable... /local/php/bin/php
> >>>> Checking for language to build... pt_BR
> >>>> Checking whether the language is supported... yes
> >>>> Checking for partial build... no
> >>>> Checking whether to enable detailed XML error messages... no
> >>>> Checking libxml version... 2.7.5
> >>>> Checking whether to enable detailed error reporting (may segfault)...
> yes
> >>>> Checking whether to optimize out the DTD (performance gain, but
> >>>> segfaults)... yes
> >>>> Generating
> >>>> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/manual.xml...
> done
> >>>> Generating
> >>>> /local/web/sites/
> edit.php.net/data/phpdoc-all/doc-base/install-unix.xml...
> >>>> done
> >>>> Generating
> >>>> /local/web/sites/
> edit.php.net/data/phpdoc-all/doc-base/install-win.xml...
> >>>> done
> >>>> Generating
> >>>> /local/web/sites/
> edit.php.net/data/phpdoc-all/doc-base/developer.template.xml...
> >>>> done
> >>>> Generating
> >>>> /local/web/sites/
> edit.php.net/data/phpdoc-all/doc-base/scripts/file-entities.php...
> >>>> done
> >>>> Iterating over extension specific version files... OK
> >>>> Saving it... OK
> >>>> Creating file
> >>>> /local/web/sites/
> edit.php.net/data/phpdoc-all/doc-base/entities/file-entities.ent...
> >>>> done
> >>>> Checking for if we should generate a simplified file... no
> >>>> Checking whether to save an invalid .manual.xml... no
> >>>> 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 "array.sorting"
> >>>>  IDREF attribute linkend references an unknown ID
> >>>> "install.windows.omnihttpd"
> >>>>  IDREF attribute linkend references an unknown ID
> >>>> "install.windows.activescript"
> >>>>
> >>>> Eyh man. No worries. Happ shittens. Try again after fixing the errors
> >>>> above.
> >>>>
> >>>>        --
> >>>>        This email is send automatically by the Php Docbook Online
> Editor.
> >>>>
> >>>> --
> >>>> PHP Brazilian Portuguese Documentation Mailing List
> >>>> (http://php.net/manual/pt_BR/)
> >>>> To unsubscribe, visit: http://www.php.net/unsub.php
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Yago Ferrer
> >>
> >>
> >
> >
> >
> > --
> > Regards,
> > Shein Alexey
>
>

Reply via email to