summaryrefslogtreecommitdiff
path: root/framework/Xml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Xml')
-rw-r--r--framework/Xml/TXmlDocument.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index 46181761..ab4b0b7a 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -35,11 +35,11 @@ class TXmlElement extends TComponent
/**
* @var string tagname of this element
*/
- private $_tagName;
+ private $_tagName='unknown';
/**
* @var string text enclosed between openning and closing tags of this element
*/
- private $_value;
+ private $_value='';
/**
* @var TXmlElementList list of child elements of this element
*/