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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
48 + 7 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC