diff options
Diffstat (limited to 'lib/prado/framework/Xml')
-rw-r--r-- | lib/prado/framework/Xml/TXmlDocument.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prado/framework/Xml/TXmlDocument.php b/lib/prado/framework/Xml/TXmlDocument.php index 12f480d..92d8961 100644 --- a/lib/prado/framework/Xml/TXmlDocument.php +++ b/lib/prado/framework/Xml/TXmlDocument.php @@ -4,7 +4,7 @@ * * @author Qiang Xue <qiang.xue@gmail.com> * @link https://github.com/pradosoft/prado - * @copyright Copyright © 2005-2015 The PRADO Group + * @copyright Copyright © 2005-2016 The PRADO Group * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT * @package System.Xml */ @@ -384,7 +384,7 @@ class TXmlDocument extends TXmlElement return false; $this->setEncoding($doc->encoding); - $this->setVersion($doc->version); + $this->setVersion($doc->xmlVersion); $element=$doc->documentElement; $this->setTagName($element->tagName); |