Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001981 [Quercus] minor always 08-29-07 13:49 08-29-07 15:51
Reporter nam View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.3 Product Version 3.1.2
  Product Build
Summary 0001981: SimpleXML DOCTYPE issue
Description (rep by S. Sozonoff)

The following gives an empty SimpleXMLElement. If the DOCTYPE is omitted, then the results are correct.

<?php

$xml = <<<TEXT
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ICON_RSP SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd"> [^]
<ICON_RSP SIOBU="12252">
</ICON_RSP>
TEXT;

//$xml_doc = simplexml_load_string($xml);
$xml_doc = new SimpleXMLElement($xml);
var_dump($xml_doc);

?>
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002251)
nam
08-29-07 15:51

php/1x70
 

- Issue History
Date Modified Username Field Change
08-29-07 13:49 nam New Issue
08-29-07 15:51 nam Status new => closed
08-29-07 15:51 nam Note Added: 0002251
08-29-07 15:51 nam Resolution open => fixed
08-29-07 15:51 nam Fixed in Version  => 3.1.3


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