Schema just allows more extensive validation and better support of XML
(DTDS are pretty SGMLish). Some advantages are:

        * Support for namespaces
        * Rich datatype set (booleans, the usual set of numbers types,
          dates, URIs, intervals, ...)
        * User defined types.
        * "Inheritence" which is really more like refinement.

There's more, but basically XML schema is a better DTD. 

On Fri, 2002-03-29 at 12:36, Daniel Rall wrote:
> What's the benefit of XML schema?  I see the benefit of the DTD as
> something which can immediatley be validated against, and which serves
> as a description of the format of the XML file for developers.
> 
> James Taylor <[EMAIL PROTECTED]> writes:
> 
> > Possibly to support existing tools that only deal with DTD? 
> >
> > I'm in favor of using schema instead. For backward compatibility there
> > are tools which can generate DTD from schema if we NEED to.
> >
> > On Fri, 2002-03-29 at 10:05, Warner Onstine wrote:
> > > Just curious why we haven't moved to XML Schema yet =).
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to