LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives

Subject: Re: DTD or SCHEMA is it required
From: Eric Bohlman <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Thu, 14 Sep 2000 02:55:23 -0700

TEXT/PLAIN (13 lines)

On Wed, 13 Sep 2000, Priya Pinto wrote:

> Am fairly new to XML and I wanted to know if using a DTD or a schema is a must? Am working on a project which uses xml as a database. And am also using jsp.

From a purely technical point of view, no.  Well-formed XML can be parsed
without having to consult a formal grammar.  From an administrative point
of view, probably yes.  You need to describe your language precisely
enough that developers can write code to handle it (particularly if you're
using the language to send data across organizational boundaries) and a
DTD or schema is almost certainly going to be simpler and easier to
understand than any other way of describing the language.  Even if you
don't use it for machine validation of instances of your language, a DTD
or schema is valuable documentation.

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager