Bug #71235 [Com]: Big Files - wrong Line Number with libxml_get_errors
| From: | leon dot valkenborg at blackpepper dot co dot nz | Date: | Tue, 12 Apr 2016 00:00:42 +0000 |
| Subject: | Bug #71235 [Com]: Big Files - wrong Line Number with libxml_get_errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200495@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71235&edit=1
ID: 71235
Comment by: leon dot valkenborg at blackpepper dot co dot nz
Reported by: michihendrich at gmail dot com
Summary: Big Files - wrong Line Number with libxml_get_errors
Status: Open
Type: Bug
Package: *XML functions
Operating System: mac os 10.11.2
PHP Version: 7.0.1
Block user comment: N
Private report: N
New Comment:
Will using the LIBXML_BIGLINES fix your issue?
http://php.net/manual/en/libxml.constants.php
Previous Comments:
------------------------------------------------------------------------
[2015-12-29 11:52:59] michihendrich at gmail dot com
Description:
------------
When using the function libxml_get_errors() with files bigger than 65535 lines - i got always the
line number 65535 when an error in a line occured with a line number higher then 65535.
Under line number 65535 the correct line number is shown.
Test script:
---------------
http://php.net/manual/de/function.libxml-get-errors.php
Expected result:
----------------
The line number of the line where the error occured.
Actual result:
--------------
The wrong line number (65535) is shown.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71235&edit=1