Hi Fran?ois,
Sorry, I should have tried that.
Regrettably, this indeed seems to be a bug. Check Bug Parade[1] in a day
or so for Bug 4874632.
Thanks for your help.
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201 |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
781-442-0459 |Burlington, MA 01803 |a banana. Groucho
[1] http://developer.java.sun.com/developer/bugParade/index.jshtml
Fran?ois Banel wrote:
>
> Hello,
>
> thank you for your response.
> I tried your test class. I had no error.
> But if you add the following lines in you java code :
> javax.xml.bind.Validator v = jc.createValidator();
> v.validate(order);
> Then there is the following exception :
> DefaultValidationEventHandler: [ERROR]: tag name "TimeLimit" is not
> allowed. Possible tag names are:
> <com.testfb.datamodel.restriction.TimeLimit>
> javax.xml.bind.ValidationException
> at
> com.sun.xml.bind.validator.ValidatorImpl.validate(ValidatorImpl.java:118)
> at
> com.sun.xml.bind.validator.ValidatorImpl.validate(ValidatorImpl.java:94)
> at com.testfb.Test.main(Test.java:38)
>
> Regards,
>
> Francois Banel
> tel : 01 53 34 30 64
> mailto:Francois.Banel_at_filinks.com
>
>
[ ... ]