Lists Home |
Date Index |
Liam Quin wrote:
> W3C XML Schema support has been growing over the past couple of
> years, and interoperability seems to me to have been increasing,
Growing is an understatement. Like it or not, most groups of customers
I've talked to in the past few years use XML Schemas. Some have even
gone so far as to wonder why tools even support DTDs any more. Maybe I'm
just not talking to enough customers?
> but I'd still suggest that people use a DTD if it satisfies
> their needs.
That said, those few of the DTDs I did look at could probably benefit
from XML Schemas or Relax NG. In particular, most are data-centric and
could use data typing. The biological DTDs in particular could benefit
greatly from wildcards. These are often future-proofed by having data
and/or metadata in the form of property/value pairs. Plain, well-formed
XML would be more readable and easier to query.