php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43604 xml_parse return error undefined entity for entities defined in extern DTD
Submitted: 2007-12-15 17:47 UTC Modified: 2008-02-05 01:00 UTC
Votes:2
Avg. Score:3.0 ± 2.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: doser at seznam dot cz Assigned:
Status: No Feedback Package: XML related
PHP Version: 5.2.5 OS: WIN XP SP2
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:
22 + 13 = ?
Subscribe to this entry?

 
 [2007-12-15 17:47 UTC] doser at seznam dot cz
Description:
------------
While parsing xml file by xml_parse() (SAX) parser returns error undefined entity, when entity is defined in extern dtd file.
If declaration is internal, all is ok.



Reproduce code:
---------------
Error example - external dtd file
Example construct: <!DOCTYPE chapter SYSTEM "test.dtd">
test.dtd:
<!ENTITY plainEntity "FOO entity">

OK exampla - internal definition dtd
Example construct:
<!DOCTYPE chapter [
<!ENTITY plainEntity "FOO entity">
]
>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-29 00:41 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2008-02-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC