diff options
author | xue <> | 2005-11-19 00:31:05 +0000 |
---|---|---|
committer | xue <> | 2005-11-19 00:31:05 +0000 |
commit | 95462e0eb735af4a54e8d72aed55bcc44efe0b52 (patch) | |
tree | d6cc10d0633785eb8ec45e94e1bcad6fede9f855 /framework/Data/TXmlDocument.php | |
parent | 040ab8f2dac3560ff939c28f9e1dc59335f9d93c (diff) |
Diffstat (limited to 'framework/Data/TXmlDocument.php')
-rw-r--r-- | framework/Data/TXmlDocument.php | 1 |
1 files changed, 1 insertions, 0 deletions
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; |