diff 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
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Document.pm	Fri May 07 18:17:40 2010 +0400
+++ b/Lib/IMPL/DOM/Document.pm	Tue May 11 02:42:59 2010 +0400
@@ -17,6 +17,7 @@
     
     delete $refProps->{nodeName};
     
+    die new IMPL::Exception("class is not specified") unless $class;
     return $class->new(
         nodeName => $nodeName,
         document => $this,