diff _test/temp.pl @ 220:5c82c15b25b1

sync, updated schema
author sergey
date Thu, 23 Aug 2012 17:44:31 +0400
parents c477f24f1980
children edf011437be8
line wrap: on
line diff
--- a/_test/temp.pl	Tue Aug 21 17:13:47 2012 +0400
+++ b/_test/temp.pl	Thu Aug 23 17:44:31 2012 +0400
@@ -11,7 +11,12 @@
 $schema->printIndex();
 
 my $type = pack_type 'http://implab.org/schemas/resources', 'resources';
-my $reader = $schema->compile(READER => $type);
+my $reader = $schema->compile(
+    READER => $type,
+    xsi_type => {
+    	pack_type('http://implab.org/schemas/resources','abstractResult') => 'AUTO'
+    }
+);
 
 my $t = [gettimeofday];