OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] DTDs, W3C Schemas, RELAX NG, Schematron?

[ Lists Home | Date Index | Thread Index ]
  • To: "tariq abdur-rahim" <ecliptoid330@yahoo.com>
  • Subject: RE: [xml-dev] DTDs, W3C Schemas, RELAX NG, Schematron?
  • From: "Michael Fitzgerald" <mike@wyeast.net>
  • Date: Thu, 23 May 2002 08:32:35 -0700
  • Cc: "xml-dev" <xml-dev@lists.xml.org>
  • Importance: Normal
  • In-reply-to: <20020523145948.69748.qmail@web21204.mail.yahoo.com>

You don't get datatypes with DTDs, except a handful of ad hoc types for
attributes only. That, to me, is one of its main limitations though there
are others, such as the restriction on deterministic content models.

XML Schema and RELAX NG allow you to use a broad range of types for both
elements and attributes, such as string, int, short, long, float, double,
boolean, etc. RELAX NG adopts XML Schema's datatypes, but in a modular way.
You can use any datatype library you want, or you can invent your own.

Mike

> -----Original Message-----
> From: tariq abdur-rahim [mailto:ecliptoid330@yahoo.com]
> Sent: Thursday, May 23, 2002 8:00 AM
> To: Michael Fitzgerald
> Subject: RE: [xml-dev] DTDs, W3C Schemas, RELAX NG, Schematron?
>
>
> Hey all:
>
> Thanks for the relpies, etc.
>
> Now,
>
> > DTDs are an integral part of XML 1.0. They make up
> > the essential dance steps
> > of basic validation.
>
> So, is it safe to say that beyond the realm of "basic
> validation", and although they are an integral part of
> XML 1.0, DTDs usefulness is somewhat limited?
>
> Additionally, if...
>
> > XML Schema will, like it or not, be used by just
> > about everyone doing industrial-strength
> validation.,
>
> where does the DTD stand?  Does it still remain
> "integral"?
>
> Regards,
>
>
>
>
>
>
> --- Michael Fitzgerald <mike@wyeast.net> wrote:
> > IMO...
> >
> > DTDs are an integral part of XML 1.0. They make up
> > the essential dance steps
> > of basic validation.
> >
> > XML Schema will, like it or not, be used by just
> > about everyone doing
> > industrial-strength validation. It is like ballroom
> > dancing, somewhat rigid
> > and it takes awhile to learn, but its okay once you
> > get the hang of it.
> >
> > I think RELAX NG is a little like swing dancing,
> > free-wheeling fun.
> >
> > Schematron is a little like ballet, elegant in its
> > simplicity and precision.
> >
> > There is a time and place for all kinds of dancing,
> > suitable for different
> > needs and occasions. Learning all four dances is not
> > a bad idea.
> >
> > Mike
> >
> > > -----Original Message-----
> > > From: tariq abdur-rahim
> > [mailto:ecliptoid330@yahoo.com]
> > > Sent: Wednesday, May 22, 2002 6:25 PM
> > > To: xml-dev@lists.xml.org
> > > Subject: [xml-dev] DTDs, W3C Schemas, RELAX NG,
> > Schematron?
> > >
> > >
> > > Hey all:
> > >
> > > DTDs?
> > > W3C Schemas?
> > > RELAX NG?
> > > Schematron?
> > >
> > > What - first off - is the *best* route to take
> > from a
> > > developer's stance?  Second, can these
> > technologies
> > > work in conjunction with one another, or must they
> > be
> > > implemented seperately in order to reap the (read
> > any)
> > > desired result(s)?
> > >
> > > Also, where has all the buzz surrounding RELAX NG
> > > gone?  It was not too long ago when it seemed to
> > be a
> > > very hot topic.  Finally, does anyone care to
> > share
> > > their opinion(s) on the future of DTDs?
> > >
> > >
> > >
> > > Regards,
> > >
> > >
> > > =====
> > > >=>=>=>=>=>=>=>=>=>=>=>=>
> > >
> > > T. A b d u r - R a h i m
> > > W e b  D e v e l o p e r
> > >
> > > More sacrifice,
> > > creates better living.
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > LAUNCH - Your Yahoo! Music Experience
> > > http://launch.yahoo.com
> > >
> > >
> >
> -----------------------------------------------------------------
> > > The xml-dev list is sponsored by XML.org
> > <http://www.xml.org>, an
> > > initiative of OASIS <http://www.oasis-open.org>
> > >
> > > The list archives are at
> > http://lists.xml.org/archives/xml-dev/
> > >
> > > To subscribe or unsubscribe from this list use the
> > subscription
> > > manager: <http://lists.xml.org/ob/adm.pl>
> > >
> > >
> >
>
>
> =====
> >=>=>=>=>=>=>=>=>=>=>=>=>
>
> T. A b d u r - R a h i m
> W e b  D e v e l o p e r
>
> More sacrifice,
> creates better living.
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS