> >This behavior is expected if you are turning off the
> >validation explicitly. Are you?
>
> I *assumed* validation was on by default. Not so. Once validation is
> turned on, the problem is immediately signaled.
I also forgot what the default is!
> >But otherwise JAXB RI should detect the error when you unmarshal
> >a document. Let me know if you think this is a bug of RI.
>
> There is another issue, where RI is signaling an "unexpected attribute",
> which just happens to be a OID. The mvs stuff doesn't have any problems,
> but RI does.
I'm not sure what is the problem. (and by the way it is MSV, not MVS)
> Here is the code, for what its worth:
Code looks correct to me.
> Would it be possible for to send you the schema & XML for review? This
> is kind of an odd problem.
Yes, please.
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com