comparison _test/Test/Web/View.pm @ 389:5aff94ba842f

DOM Schema refactoring complete
author cin
date Wed, 12 Feb 2014 13:36:24 +0400
parents cbf4febf0930
children
comparison
equal deleted inserted replaced
388:648dfaf642e0 389:5aff94ba842f
57 $this->GetResourceFile('Resources','person.schema.xml') 57 $this->GetResourceFile('Resources','person.schema.xml')
58 ); 58 );
59 59
60 my $meta = FormMeta->new( 60 my $meta = FormMeta->new(
61 $doc, 61 $doc,
62 $doc->schemaSource->type, 62 $doc->schemaNode->type,
63 { 63 {
64 decl => $doc->schemaSource, 64 decl => $doc->schemaNode,
65 schema => $doc->schema, 65 schema => $doc->schemaType,
66 errors => $errors 66 errors => $errors
67 } 67 }
68 ); 68 );
69 69
70 assert(@{$errors||[]} == 2); 70 assert(@{$errors||[]} == 2);