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

Re: Where have the element types gone?


Re:  Where have the element types gone?
Dare Obasanjo wrote:

 
> I've been thinking about this for most of the day and don't think I see much
> wrong with it. So on the one hand we've lost the ability to infer type
> information given the name of an element if the document uses schemas but on
> the other hand have gained a rich type system. In my book that's a rather
> fair exchange.


I would rather say that the main "gain" is additional complexity.

 
> This seems to only be an issue if applications try to ignore schema
> information and assume what the type information for an element is, and we
> all know that assumping is rarely a good idea.


Why? Most if not all the applications have been relying on element types 
and namespaces to identify the elements and have done so since the 
creation of XML 1.0 (and probably before). Why is this wrong to call 
"pub:isbn" "pub:isbn" instead of "foo"?

Eric
-- 
See you in Orlando for XML 2001.
                                     http://www.xmlconference.net/xmlusa/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


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.