Keep It Simple, Stupid | |
PerlMonks |
Re: Automatically creating data validation module from XSDby Moron (Curate) |
on Aug 09, 2007 at 09:18 UTC ( [id://631496]=note: print w/replies, xml ) | Need Help?? |
I wouldn't do it. If you're having trouble writing code that validates from a .xsd, what about reversing the input into xsd form - seems an illogical thing to do given that actual data should not be a schema, but the effect is to reduce the validation requirement to a single fixed generic routine of about half a page to compare the two xsd trees.
__________________________________________________________________________________
^M Free your mind!
In Section
Seekers of Perl Wisdom
|
|