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

RE: Personal reply to Edd Dumbill's XML Hack Article wrt W3C XML Schema

  • From: "David E. Cleary" <davec@p...>
  • To: XML DEV <xml-dev@l...>
  • Date: Mon, 12 Mar 2001 14:58:32 -0500

progress hack
> >What you are saying is that someone might want to treat "value" directly
> >as something other than a floating point number?
>
> Can't speak directly for Walter, but yep.  It's totally up to the
> recipient, IMHO.  What's interesting about 45.67?  That it's a floating
> point number?  That it includes two sequential pairs of numbers separated
> by a period, which together form a four-digit sequence?  That 45<67?
>
> Sure, it gets ridiculous.  But unless you have a pre-existing
> relationship
> with the recipient, or are the recipient yourself, why do you
> automatically
> expect them to share your reading of what's important?

Because the XML instance conforms to a schema that says the value element
contains a decimal number. If you do not want datatypes in XML, then I can
see why you do not want XML Schema. However, many people out there do want
datatypes, and they make application development much easier. If you do not
want datatypes, then stick to DTDs or a schema dialect that doesn't support
the notion. You can even generate a PSVI that has all element content
defined as anySimpleType and work perfectly fine with schema aware tools and
apis.

--------------------------------------------------------------------------
David Cleary
Progress Software

Sign up now for PROGRESS Worldwide Exchange June 3-7, 2001, Washington
DC.
http://www.progress.com/exchange



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.