![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: xml-pastor runtime error?by Anonymous Monk |
on Jun 09, 2009 at 15:33 UTC ( #769957=note: print w/replies, xml ) | Need Help?? |
I experienced similar errors in two situations:
(1) When you have multiple inheritance (your XSD elements are of extended type, where your class needs to have 'SimpleType' as well as your type in @ISA array, but Pastor adds only one).
(2) When your XSD does not specify 'type' for any leaf elements (your generated code shows 'class' => undef).
Check for these two situations.
-Bhaskar
In Section
Seekers of Perl Wisdom
|
|