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

RE: Namespaces, W3C XML Schema (was Re: ANN: SAX Filters forNamespacePro

  • From: "Fuchs, Matthew" <matthew.fuchs@c...>
  • To: Elliotte Rusty Harold <elharo@m...>,Xml-Dev <xml-dev@l...>
  • Date: Thu, 23 Aug 2001 10:56:55 -0700

xml schema based class generator


> -----Original Message-----
> From: Elliotte Rusty Harold [mailto:elharo@m...]
> Sent: Wednesday, August 22, 2001 8:29 AM
> To: Xml-Dev
> Subject: Re: Namespaces, W3C XML Schema (was Re: ANN: SAX Filters
> forNamespaceProcessing)
> 
> 
> At 10:25 PM -0700 8/21/01, Ronald Bourret wrote:
> >Elliotte Rusty Harold wrote:
> >
> >> I am concerned that the theoretical use of schemas for typing is
> >> overriding their practical use for constraint checking.
> >
> >The use isn't theoretical. Witness all the products that generate
> >classes from XML Schemas.
> >
> 
> And witness all the people using these products NOT. I 
> classify this stuff along with tree-based XML editors and 
> binary variants of XML as something that gets reinvented 
> several times a month without any actual market demand. 
> 

In fact, I probably built the first such class generator for Java at the
beginning of 1998 and after several iterations, SOX (and hence complexTypes)
partly came into being to make it possible to generate useable classes.
Without a schema language which actually supports some OO features, it is
extremely difficult to generate useable classes without a lot of additional
metadata.  The bean generators built on SOX have been used very successfully
by hundreds of programmers.  In any case, I consider class generators just
one of many schema-based tools which will come into existence over the next
few years, and they will make people's lives easier.

> On the other hand, over the last three years as I've taught 
> developers about DTDs, almost invariably the first question 
> is "How do I say that an element contains an int?" and the 
> second question is usually ""How do I say that an element 
> contains a year since 1969?" or some variant thereof. 
> 
> >> Very few people
> >> are actually using schemas for typing. Instead they're 
> being used for
> >> validation.
> >
> >I think it depends on how you do the counting. Clearly, the number of
> >people validating schemas outnumbers the number of people 
> writing code
> >that explores them. This is a restatement of the fact that 
> the number of
> >document authors is greater than the number of programmers.
> >
> >If you count applications, validators are a minority.
> 
> I count people as worth more than programs. 
> 

Right, which is why validators, bean generators, etc., are so valuable, even
when they are a small minority of the number of applications, because they
are what will make people's live easier.  Since I count people as worth more
than programs, I want to help write those programs which will help people
get more done with less additional programs.

Matthew

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.