Re: Validation problem
| From: | Christoph Becker | Date: | Wed, 03 Jun 2015 12:50:56 +0000 |
| Subject: | Re: Validation problem | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385723@lists.php.net to get a copy of this message | ||
Simion Onea wrote:
> On Wed, Jun 3, 2015 at 2:57 PM, Simion Onea <simionea@gmail.com> wrote:
>
>> On Wed, Jun 3, 2015 at 2:49 PM, Christoph Becker <cmbecker69@gmx.de>
>> wrote:
>>
>>> Simion Onea wrote:
>>>
>>>> I did a clean checkout of "en" and "doc-base" trees.
>>>> But doing "nice php doc-base/configure.php" gives a ton of errors about
>>> IDs
>>>> already defined.
>>>> Does anyone experience the same errors? Am I doing something wrong?
>>>> Thanks!
>>>
>>> I had this issue when running doc-base/configure.php on Cygwin with PHP
>>> 5.4.25. Running on native Windows with PHP 5.4.19 doesn't show these
>>> errors, though. Maybe that's related to the libxml version (2.9.1 vs.
>>> 2.7.8) – Peter's output also shows 2.7.8.
>>
>> I'm running everything in Fedora 22. It comes with PHP 5.6.9 and libxml
>> 2.9.2.
>> Could it be because of this?
>
> Yes, I think it's probably because of libxml.
> While looking into "configure.php" I found that errors are printed by the
> function "print_xml_errors()", which in turn calls ”libxml_get_errors()”,
> which is part of ”libxml”.
I can confirm that these error messages are also shown with PHP 5.5.25
and PHP 5.6.9 on Windows, both using libxml 2.9.2.
However, I get additional warnings regarding an invalid argument to file
(configure.php line 212) there; $err->file is something like
'file:/C:/Users/...', what is not a valid URI. I'll make a PR regarding
the second issue ASAP.
--
Christoph M. Becker