[hibernate-dev] hibernate-mapping DTD as XSD

Paul Benedict pbenedict at apache.org
Fri Aug 20 10:27:40 EDT 2010


I don't vote for keeping them in sync. DTDs can't compete with the
validation of XSD. I would favor making this a 4.0 feature.

Paul

On Fri, Aug 20, 2010 at 7:20 AM, Steve Ebersole <steve at hibernate.org> wrote:

> *If* we are going to keep both then we need to keep them in-synch and so
> I'd prefer a java or command line tool that we could use to automate the
> process (obviously if we drop dtd for xsd this is not a concern).
>
> I had seen both Trang as well as the w3c tool.  I guess more I was
> asking if anyone knew other/better ones.
>
> On Fri, 2010-08-20 at 10:20 +0200, Hardy Ferentschik wrote:
> > On Thu, 19 Aug 2010 22:07:31 +0200, Steve Ebersole <steve at hibernate.org>
> > wrote:
> >
> > > Any objections to either converting to XSD completely or publishing in
> > > both formats?
> >
> > +1 for XSD only. Not sure if there is any use in keeping the DTD.
> >
> > > Anyone recommend a good DTD -> XSD tool?
> >
> > Oxygen can do it. That would be my first pick to try with.
> > Otherwise this might help -
> >
> http://stackoverflow.com/questions/1510126/free-dtd-to-xsd-conversion-utility
> >
> > --Hardy
>
> --
> Steve Ebersole <steve at hibernate.org>
> http://hibernate.org
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list