# HG changeset patch # User sergey # Date 1345729471 -14400 # Node ID 5c82c15b25b190df52ba28e1bf18e15b34265971 # Parent c477f24f198041aab33c7e9f9df90b2ea5a96e0d sync, updated schema diff -r c477f24f1980 -r 5c82c15b25b1 _test/Resources/resources.xsd --- a/_test/Resources/resources.xsd Tue Aug 21 17:13:47 2012 +0400 +++ b/_test/Resources/resources.xsd Thu Aug 23 17:44:31 2012 +0400 @@ -20,7 +20,8 @@ - + + @@ -32,64 +33,49 @@ - - - - - - - - - + + + + + - - - + + + + + + + + + + - - - + + + - + - - - - - - - - - - - - - - - - - - @@ -108,7 +94,5 @@ - - \ No newline at end of file diff -r c477f24f1980 -r 5c82c15b25b1 _test/Resources/sample.xml --- a/_test/Resources/sample.xml Tue Aug 21 17:13:47 2012 +0400 +++ b/_test/Resources/sample.xml Thu Aug 23 17:44:31 2012 +0400 @@ -2,18 +2,20 @@ - - - + + - + + - + + + \ No newline at end of file diff -r c477f24f1980 -r 5c82c15b25b1 _test/temp.pl --- 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];