[Xml-compile] Schema interpretation
Mark Overmeer
mark at overmeer.net
Mon Sep 8 19:44:22 BST 2008
* Kaare Rasmussen (kaare at jasonic.dk) [080908 13:53]:
> >>($answer, $trace) = $GetDetails->(Identifiers => [qw/id1 id2/] );
> Oh, /me not being fully awake. I can use
> ($answer, $trace) = $GetDetails->(Identifiers => {string => [qw/id1 id2/]});
> which is incredibly ugly, but it works.
The schema is probably designed to be ugly ;-)
Not uncommon for generated schema's. I have seen more cases where tools
create a special array type where a maxOccures would do.
You could polish the output using hooks...
--
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