From 95462e0eb735af4a54e8d72aed55bcc44efe0b52 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 19 Nov 2005 00:31:05 +0000 Subject: --- framework/Data/TXmlDocument.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Data/TXmlDocument.php') diff --git a/framework/Data/TXmlDocument.php b/framework/Data/TXmlDocument.php index ba3df190..0b37258d 100644 --- a/framework/Data/TXmlDocument.php +++ b/framework/Data/TXmlDocument.php @@ -303,6 +303,7 @@ class TXmlDocument extends TXmlElement */ public function loadFromString($string) { + // TODO: since PHP 5.1, we can get parsing errors and throw them as exception $doc=new DOMDocument(); if($doc->loadXML($string)===false) return false; -- cgit v1.2.3