diff _test/Test/DOM/Builder.pm @ 232:5c82eec23bb6

Fixed degradations due refactoring
author sergey
date Tue, 09 Oct 2012 20:12:47 +0400
parents 4267a2ac3d46
children
line wrap: on
line diff
--- a/_test/Test/DOM/Builder.pm	Tue Oct 09 03:09:41 2012 +0400
+++ b/_test/Test/DOM/Builder.pm	Tue Oct 09 20:12:47 2012 +0400
@@ -25,12 +25,12 @@
     $schema->appendRange(
         IMPL::DOM::Schema::ComplexNode->new( name => 'personInfo' )->appendRange(
             IMPL::DOM::Schema::NodeSet->new()->appendRange(
-                new IMPL::DOM::Schema::SimpleNode( name => 'firstName' ),
-                new IMPL::DOM::Schema::SimpleNode( name => 'lastName' ),
-                new IMPL::DOM::Schema::ComplexNode( name => 'address', maxOccur => 'unbounded' )->appendRange(
+                IMPL::DOM::Schema::SimpleNode->new( name => 'firstName' ),
+                IMPL::DOM::Schema::SimpleNode->new( name => 'lastName' ),
+                IMPL::DOM::Schema::ComplexNode->new( name => 'address', maxOccur => 'unbounded' )->appendRange(
                     IMPL::DOM::Schema::NodeSet->new()->appendRange(
-                        new IMPL::DOM::Schema::SimpleNode( name => 'street' ),
-                        new IMPL::DOM::Schema::SimpleNode( name => 'line', minOccur => 0 )
+                        IMPL::DOM::Schema::SimpleNode->new( name => 'street' ),
+                        IMPL::DOM::Schema::SimpleNode->new( name => 'line', minOccur => 0 )
                     )
                 )
             )