diff Lib/IMPL/DOM/XMLReader.pm @ 103:c289ed9662ca

Schema beta 2 More strict validation, support for inflating a simple nodes and properties
author wizard
date Fri, 07 May 2010 18:17:40 +0400
parents 16ada169ca75
children 196bf443b5e1
line wrap: on
line diff
--- a/Lib/IMPL/DOM/XMLReader.pm	Fri May 07 08:05:23 2010 +0400
+++ b/Lib/IMPL/DOM/XMLReader.pm	Fri May 07 18:17:40 2010 +0400
@@ -56,7 +56,7 @@
 sub _OnEnd {
     my ($this,$element) = @_;
     
-    $this->{$_current}->nodeValue($this->{$_text}) if length $this->{$_text};
+    $this->{$_current}->nodeValue($this->Navigator->inflateValue( $this->{$_text} ) ) if length $this->{$_text};
     $this->{$_text} = pop @{$this->{$_textHistory}};
     $this->{$_current} = $this->Navigator->Back;
 }