Hi Yuemin,
Aha.
In jaxb-1.0-beta, validate is part of the API, not a member of the
generated classes. So, there's no need to modify them.
While I think you have a good case for an enhancement to jaxb-1.0-ea, I
regret to say we're no longer supporting it. I hesitate to call it a
bug, because I suspect it behaves as designed.
While it's premature for me to comment on our plans for JAXB, the use
case you represent hasn't gone unnoticed.
All the best,
--
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
Yuemin Wang wrote:
> Hi Ed,
>
> Thank you for your comment, but my point is not return "false" instead of
> throws exception, all I want to see is after I generate the java classes by
> using JAXB, I don't have to modify the generated code.
>
> Do you admit that this is a bug in jaxb-1.0-ea? and will JAXB be continue
> supporting DTD in the future?
>
> Thank you
>
> Yuemin
[ ... ]