comparison Lib/IMPL/DOM/XMLReader.pm @ 384:4edd36025051

DOM schema refactoring
author cin
date Mon, 10 Feb 2014 17:41:34 +0400
parents 010ceafd0c5a
children 5aff94ba842f
comparison
equal deleted inserted replaced
383:2f16f13b000c 384:4edd36025051
59 $this->{$_current} = $this->Navigator->NavigateCreate($element,%attrs); 59 $this->{$_current} = $this->Navigator->NavigateCreate($element,%attrs);
60 } 60 }
61 61
62 sub _OnEnd { 62 sub _OnEnd {
63 my ($this,$element) = @_; 63 my ($this,$element) = @_;
64 $this->{$_current}->nodeValue($this->Navigator->inflateValue( $this->{$_text} ) ) if length $this->{$_text} and (not $this->{$SkipWhitespace} or $this->{$_text} =~ /\S/); 64 $this->{$_current}->nodeValue($this->{$_text}) if length $this->{$_text} and (not $this->{$SkipWhitespace} or $this->{$_text} =~ /\S/);
65 $this->{$_text} = pop @{$this->{$_textHistory}}; 65 $this->{$_text} = pop @{$this->{$_textHistory}};
66 $this->{$_current} = $this->Navigator->Back; 66 $this->{$_current} = $this->Navigator->Back;
67 } 67 }
68 68
69 sub _OnChar { 69 sub _OnChar {