[Xml-compile] XML::Compile::Schema ->addHook() - doc bug?
Mark Overmeer
mark at overmeer.net
Fri Dec 9 00:29:08 GMT 2011
* Michael Ludwig (m.ludwig at epages.com) [111208 18:44]:
> my $wsdl = XML::Compile::WSDL->new(...);
> $wsdl->schemas->addHook(HOOKDATA | HOOK);
>
> But when doing this I get an error:
>
> panic: schemas() removed in v2.00, not needed anymore
>
> A doc bug?
Yep. Since 2.00, ::WSDL11 extends ::Schema. Make it:
$wsdl->addHook(HOOKDATA | HOOK);
--
Thanks,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list