php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25582 XML-parser fails on entity & # x 0 1 ;
Submitted: 2003-09-18 03:33 UTC Modified: 2003-09-18 20:20 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: sad at spider dot ru Assigned:
Status: Not a bug Package: *XML functions
PHP Version: 4.3.3 OS: linux gentoo
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 !
Your email address:
MUST BE VALID
Solve the problem:
2 + 41 = ?
Subscribe to this entry?

 
 [2003-09-18 03:33 UTC] sad at spider dot ru
Description:
------------
XML-parser fails to parse exactly the following:
<data>a &#x01; b</data>
-
if this textarea corrupts special chars i retype:
&lt;data&gt;a &amp;#x01; b&lt;/data&gt;
-
parser says:
XML error: reference to invalid character number at line 1




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-18 20:20 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

&#x01; is not a valid entry, hence the error shown by the XML parser.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC