DTD Differencing Utility

Imported from previous forum

[ original email was from Jim Northey - jnorthey@lasalletech.com ]
Does anyone know of a DTD differencing utility available commercially or via open source?

There are plenty of XML differencing utilities. I have been unable to find a DTD differencing tool.

We would prefer to report differences in DTD between versions using a tool that knows the syntax as oppposed to using GNU or UNIX diff type approach.

[ original email was from Oren Miller - omiller@thoughtworks.com ]
perlSGML (http://www.nacs.uci.edu/indiv/ehood/perlSGML.html) comes with a utility called, and what else, dtddiff (http://www.nacs.uci.edu/indiv/ehood/perlSGML/doc/html/dtddiff.html). Example output is just below the usage section.

> Does anyone know of a DTD differencing utility available commercially or via open source?
>
> There are plenty of XML differencing utilities. I have been unable to find a DTD differencing tool.
>
> We would prefer to report differences in DTD between versions using a tool that knows the syntax as oppposed to using GNU or UNIX diff type approach.
>

[ original email was from Oren Miller - omiller@thoughtworks.com ]
Actually, thinking about it, this may not be compatible with XML DTD’s, so it might not do what you need. For something like a diff it may work depending on how they differ.

> perlSGML (http://www.nacs.uci.edu/indiv/ehood/perlSGML.html) comes with a utility called, and what else, dtddiff (http://www.nacs.uci.edu/indiv/ehood/perlSGML/doc/html/dtddiff.html). Example output is just below the usage section.
>
>
> > Does anyone know of a DTD differencing utility available commercially or via open source?
> >
> > There are plenty of XML differencing utilities. I have been unable to find a DTD differencing tool.
> >
> > We would prefer to report differences in DTD between versions using a tool that knows the syntax as oppposed to using GNU or UNIX diff type approach.
> >
>

[ original email was from Oren Miller - omiller@thoughtworks.com ]
Geez. Sorry for all the spam. I just found confirmation that this does in fact work just fine with XML DTD’s.

> Actually, thinking about it, this may not be compatible with XML DTD’s, so it might not do what you need. For something like a diff it may work depending on how they differ.
>
> > perlSGML (http://www.nacs.uci.edu/indiv/ehood/perlSGML.html) comes with a utility called, and what else, dtddiff (http://www.nacs.uci.edu/indiv/ehood/perlSGML/doc/html/dtddiff.html). Example output is just below the usage section.
> >
> >
> > > Does anyone know of a DTD differencing utility available commercially or via open source?
> > >
> > > There are plenty of XML differencing utilities. I have been unable to find a DTD differencing tool.
> > >
> > > We would prefer to report differences in DTD between versions using a tool that knows the syntax as oppposed to using GNU or UNIX diff type approach.
> > >
> >
>

[ original email was from Jim Northey - jnorthey@lasalletech.com ]
The dtdiff utility was easy to install and use. It worked well. We used it to determine the differences between the FIXML4.3v1.0.dtd and the FIXML4.3v20020909.dtd which should be available on the website within the next few days.

Thanks!

> > > perlSGML (http://www.nacs.uci.edu/indiv/ehood/perlSGML.html) comes with a utility called, and what else, dtddiff (http://www.nacs.uci.edu/indiv/ehood/perlSGML/doc/html/dtddiff.html). Example output is just below the usage section.
> > >
> > >
> > > > Does anyone know of a DTD differencing utility available commercially or via open source?
> > > >
> > > > There are plenty of XML differencing utilities. I have been unable to find a DTD differencing tool.
> > > >
> > > > We would prefer to report differences in DTD between versions using a tool that knows the syntax as oppposed to using GNU or UNIX diff type approach.
> > > >
> > >
> >
>