On 21 May 2010 10:00, pedram salehpoor <pedram.salehp...@gmail.com> wrote: > On Fri, May 21, 2010 at 1:20 PM, Richard Quadling > <rquadl...@googlemail.com> wrote: >> >> On 21 May 2010 05:01, Philip Olson <phi...@roshambo.org> wrote: >> > >> > On May 20, 2010, at 8:52 PM, Yago Ferrer wrote: >> > >> >> Hi Philip! >> >> >> >> When I´m trying to compile the Spanish PHP manual I´m getting these >> >> errors, do you know what is it? >> >> >> >> Warning: DOMDocument::xinclude(): XPointer evaluation failed: >> >> #xmlns(db=http://docbook.org/ns/docbook) >> >> xpointer(id('class.datetime')/db:refentry/db:refsec...@role='description']/descendant::db:destructorsynopsis[not(@role='procedural')]) >> >> in >> >> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/configure.phpon >> >> line 613 >> >> >> >> Warning: DOMDocument::xinclude(): XPointer evaluation failed: >> >> #xmlns(db=http://docbook.org/ns/docbook) >> >> xpointer(id('class.datetimezone')/db:refentry/db:refsec...@role='description']/descendant::db:destructorsynopsis[not(@role='procedural')]) >> >> in /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/configure.php >> >> on line 613 >> >> >> >> Warning: DOMDocument::xinclude(): XPointer evaluation failed: >> >> #xmlns(db=http://docbook.org/ns/docbook) >> >> xpointer(id('class.dateinterval')/db:refentry/db:refsec...@role='description']/descendant::db:destructorsynopsis[not(@role='procedural')]) >> >> in >> >> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/configure.phpon >> >> line 613 >> >> >> >> Warning: DOMDocument::xinclude(): XPointer evaluation failed: >> >> #xmlns(db=http://docbook.org/ns/docbook) >> >> xpointer(id('class.dateperiod')/db:refentry/db:refsec...@role='description']/descendant::db:destructorsynopsis[not(@role='procedural')]) >> >> in >> >> /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/configure.phpon >> >> line 613 >> >> >> >> Warning: DOMDocument::xinclude(): XPointer evaluation failed: >> >> #xmlns(db=http://docbook.org/ns/docbook) >> >> xpointer(id('class.dateperiod')/db:refentry/db:refsec...@role='description']/descendant::db:methodsynopsis[not(@role='procedural')]) >> >> in /local/web/sites/edit.php.net/data/phpdoc-all/doc-base/configure.php >> >> on line 613 >> > >> > Nope, and I can't reproduce (even after trying a fresh doc-es checkout). >> > >> > However, yesterday people saw these errors when unrelated errors occurred >> > in the manual. The mongo docs briefly had a <para> in the wrong place, yet >> > these nasty looking datetime errors showed up (along with the correct >> > mongo errors too). Therefore I wonder, whenever we have a problem we might >> > see these too which is very confusing. Anyone have an idea regarding how >> > to fix that? >> > >> > Regards, >> > Philip >> >> Can you check the version of libxml that is being used by the online >> editor please? >> >> I recently added the new xinclude/xpointer/xfallback to the datetime >> (in all the translations). >> >> I did do a thorough test locally. >> >> I'm using Windows and have to use the --disable-libxml-check as the >> last official win32 version of PHP is using ... >> >> Constant [ integer LIBXML_VERSION ] { 20703 } >> Constant [ string LIBXML_DOTTED_VERSION ] { 2.7.3 } >> Constant [ string LIBXML_LOADED_VERSION ] { 20703 } >> >> and 2.7.4+ is required or use the --disable-libxml-check to skip the >> version check. >> > > The problem comes from some xinclude tags added recently which I can't > trace them. > > Regards, > Pedram >
The problem is not the tags per se. I can and have successfully compiled all the manuals I've altered (en, es, fa, fr, ja, tr) from the XML through to a Windows CHM (I'm on Windows after all). I'm not getting the warnings that you are seeing. [2010/05/21 9:42:59] [D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base] [] >configure --with-lang=es --enable-xml-details --with-partial=book.datetime --disable-libxml-check configure.php: $Id: configure.php 299087 2010-05-06 17:17:45Z philip $ PHP version: 5.3.3-dev Checking for source directory... D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base Checking for output filename... D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/.manual.xml Checking whether to save an invalid .manual.xml... no Checking whether to include CHM... no Checking for PHP executable... C:/PHP5/php.exe Checking for language to build... es Checking whether the language is supported... yes Checking for partial build... book.datetime Checking whether to enable detailed XML error messages... yes Generating D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/manual.xml... done Generating D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/entities/version.ent... done Generating D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/scripts/file-entities.php... done Iterating over extension specific version files... OK Saving it... OK Creating file D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/entities/file-entities.ent... done Loading and parsing manual.xml... done. Validating manual.xml... done. Partial manual saved to D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/.manual.book.datetime.xml. To build it, run 'phd -d D:\Personal Files\Downloads\Software\Programming\PHP\Checkouts\svn\phpdoc\modules\doc-all\doc-base/.manual.book.datetime.xml' -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling