in reply to xml-pastor runtime error?

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