users@jaxb.java.net

Re: Turning off validation when marshalling to file

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 11 Nov 2008 18:53:33 +0100

By default, marshal does not validate against the XML schema unless you set
this explicitly.

So, what do you mean by "validation" and what sort of "issues" are there
with your data that make JAXB barf? (Your problem can't be solved at the
abstract level of your post.)


On Tue, Nov 11, 2008 at 5:45 PM, pmarchwiak <pmarchwiak_at_gmail.com> wrote:

>
> I am using the JAXB version included with JWSDP 1.5 on the 1.4 JVM. Is
> there
> a way to turn off validation when marshalling my JAXB objects into XML
> files? The reason I am interested in doing so is that I have a separate
> process that validates the generated XML files. JAXB validation only gets
> in
> the way by preventing file generation when there are issues with my data.
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/Turning-off-validation-when-marshalling-to-file-tp20443443p20443443.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>