comparison 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
comparison
equal deleted inserted replaced
102:cf3b6ef2be22 103:c289ed9662ca
54 } 54 }
55 55
56 sub _OnEnd { 56 sub _OnEnd {
57 my ($this,$element) = @_; 57 my ($this,$element) = @_;
58 58
59 $this->{$_current}->nodeValue($this->{$_text}) if length $this->{$_text}; 59 $this->{$_current}->nodeValue($this->Navigator->inflateValue( $this->{$_text} ) ) if length $this->{$_text};
60 $this->{$_text} = pop @{$this->{$_textHistory}}; 60 $this->{$_text} = pop @{$this->{$_textHistory}};
61 $this->{$_current} = $this->Navigator->Back; 61 $this->{$_current} = $this->Navigator->Back;
62 } 62 }
63 63
64 sub _OnChar { 64 sub _OnChar {