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

RE: Datatypes vs anarchy (was Re: Personal reply to Edd Dumbill's XMLHac

  • From: "David E. Cleary" <davec@p...>
  • To: Michael Champion <mike.champion@s...>,xml-dev <xml-dev@l...>
  • Date: Tue, 13 Mar 2001 17:04:09 -0500

schemas and heuristics
> context, heuristics, etc.  That's a problem for automated tools and the
> semantic web, but not too severe a problem for human programmers and
> readers.

Like in Florida<G>.

> Likewise with XML Schemas.  In my mind, they are the $400/hr
> lawyers of the
> XML world ... when you need them, you need them badly, but most
> people hope
> to get through their daily lives without having to deal with these @#$%s!

If anyone is saying using Schemas is mandatory, they are incorrect. And
API's like DOM and XPath that allow access to the PSVI will not fail against
instances that do not have schemas.

> So the issue here is not whether there SHOULD be XML data typing
> facilities -- we clearly need more than XML 1.0 offers for a lot of cases.
> The issue is whether all those who can get by with informal agreements,
> human-written code, etc. MUST have to deal with schemas and
> datatypes?

If you are writing a DOM level 3 parser, then you must worry about this
stuff. Otherwise, stick to level 2. If you are a consumer of XML and do not
care about schemas, don't use them, just like people who do not care about
DTDs do not use them.

> The
> critics of the W3C are simply arguing that types should be
> LAYERED ON rather
> than ENTANGLED IN to XML.

How are they entangled in XML? From my vantage point, they are layered. You
have well formed, valid, and schema valid. You have rich type information or
no type information. If DOM and XPath should not support access to the PSVI,
should we have hundreds of vendor specific APIs? Do any of these schema
aware APIs that are being developed break when you do not have a schema? I
don't think so.

David Cleary
Progress Software


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.