Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema/Label.pm @ 383:2f16f13b000c
DOM localization
author | cin |
---|---|
date | Thu, 23 Jan 2014 17:26:34 +0400 |
parents | ced5937ff21a |
children | 5aff94ba842f |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/Label.pm Thu Jan 23 02:35:28 2014 +0400 +++ b/Lib/IMPL/DOM/Schema/Label.pm Thu Jan 23 17:26:34 2014 +0400 @@ -27,6 +27,9 @@ unless $map; die ArgException->new('id' => 'A lable identifier is required') unless $id; + + $this->_map($map); + $this->_id($id); } our $AUTOLOAD; @@ -37,7 +40,9 @@ return if $method eq 'DESTROY'; - return $this->new($this->_map,$method); + warn $this->_id . ".$method"; + + return $this->new($this->_map,$this->_id . ".$method"); } sub ToString {