[Xml-compile] Error compiling schema for element with a default
and an attribute
Mark Overmeer
mark at overmeer.net
Mon Mar 12 20:08:01 GMT 2012
* Philip Garrett (philgarr at gmail.com) [120312 16:59]:
> Can't locate object method "node" via
> package "U" (perhaps you forgot to load "U"?) at
> /opt/local/lib/perl5/site_perl/5.12.3/XML/Compile/Translate/Reader.pm
> line 647.
Excellent report. Just before that line add:
ref $tree or return ($tag => {_ => $simple});
--
Regards,
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