[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: DTDs, W3C Schemas, RELAX NG, Schematron?

  • To: "tariq abdur-rahim" <ecliptoid330@y...>
  • Subject: RE: DTDs, W3C Schemas, RELAX NG, Schematron?
  • From: "Michael Fitzgerald" <mike@w...>
  • Date: Thu, 23 May 2002 08:32:35 -0700
  • Cc: "xml-dev" <xml-dev@l...>
  • Importance: Normal
  • In-reply-to: <20020523145948.69748.qmail@w...>

w3c to relax ng
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@y...]
> Sent: Thursday, May 23, 2002 8:00 AM
> To: Michael Fitzgerald
> Subject: RE:  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@w...> 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@y...]
> > > Sent: Wednesday, May 22, 2002 6:25 PM
> > > To: xml-dev@l...
> > > Subject:  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
>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.