Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004369 [Quercus] minor always 02-01-11 07:58 07-18-12 03:09
Reporter geleont View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.14
  Product Build
Summary 0004369: DOMDocument::load($xmlfile) trows com.caucho.xml.XmlParseException
Description DOMDocument::load($xmlfile) trows com.caucho.xml.XmlParseException if it can not loat xml file and should return false as php function makes. It should never throw exception see documentation http://php.net/manual/en/domdocument.loadxml.php [^]
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0005098)
jamesdlow
03-01-11 19:54

This maybe related to my issue here:
http://bugs.caucho.com/view.php?id=4416 [^]

LIBXML_NOWARNING / LIBXML_NOERROR can control error handling in libxml, e.g. something like:
$dom->loadXML($xml,LIBXML_NOWARNING | LIBXML_NOERROR);

But are not implemented in Quercus.
 
(0005107)
jamesdlow
03-02-11 18:10

And it tis the additional functions:
libxml_use_internal_errors()
libxml_get_last_error()
libxml_clear_errors()

That should allow you to get errors back.
 
(0005959)
nam
07-18-12 03:09

php/1z24

Fixed for 4.0.30.
 

- Issue History
Date Modified Username Field Change
02-01-11 07:58 geleont New Issue
02-04-11 01:27 geleont Issue Monitored: geleont
02-07-11 23:41 geleont Issue End Monitor: geleont
03-01-11 19:50 jamesdlow Issue Monitored: jamesdlow
03-01-11 19:54 jamesdlow Note Added: 0005098
03-02-11 18:10 jamesdlow Note Added: 0005107
07-18-12 03:08 nam Status new => assigned
07-18-12 03:08 nam Assigned To  => nam
07-18-12 03:09 nam Status assigned => closed
07-18-12 03:09 nam Note Added: 0005959
07-18-12 03:09 nam Resolution open => fixed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker