php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71235 Big Files - wrong Line Number with libxml_get_errors
Submitted: 2015-12-29 11:52 UTC Modified: 2016-08-07 04:22 UTC
From: michihendrich at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: *XML functions
PHP Version: 7.0.1 OS: mac os 10.11.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michihendrich at gmail dot com
New email:
PHP Version: OS:

 

 [2015-12-29 11:52 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-12 00:00 UTC] leon dot valkenborg at blackpepper dot co dot nz
Will using the LIBXML_BIGLINES fix your issue?
http://php.net/manual/en/libxml.constants.php
 [2016-07-25 15:27 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-07-25 15:27 UTC] cmb@php.net
> Will using the LIBXML_BIGLINES fix your issue?

Does it, michihendrich?
 [2016-08-07 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Apr 05 19:01:30 2020 UTC