Oh and if you really need to do a complicated schema datatype validation,
take a look at XSDLib at
http://www.sun.com/xml/
This might ease your pain a little bit.
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com