comparison Lib/IMPL/DOM/Document.pm @ 104:196bf443b5e1

DOM::Schema RC0 inflators support, validation and some other things, Minor and major fixes almost for everything. A 'Source' property of the ValidationErrors generated from a NodeSet or a NodeList is subject to change in the future.
author wizard
date Tue, 11 May 2010 02:42:59 +0400
parents 9d24db321029
children e6447ad85cb4
comparison
equal deleted inserted replaced
103:c289ed9662ca 104:196bf443b5e1
15 15
16 $refProps ||= {}; 16 $refProps ||= {};
17 17
18 delete $refProps->{nodeName}; 18 delete $refProps->{nodeName};
19 19
20 die new IMPL::Exception("class is not specified") unless $class;
20 return $class->new( 21 return $class->new(
21 nodeName => $nodeName, 22 nodeName => $nodeName,
22 document => $this, 23 document => $this,
23 %$refProps 24 %$refProps
24 ); 25 );