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

Re: XPath/XSLT 2.0 concerns (off topic)


Re:  XPath/XSLT 2.0 concerns (off topic)
> Jeni said:
> 
> >Actually I think we can break this pattern down into two classes:
> >
> >   1. grouping elements based on their *content* -- in other words, the
> >      *type* hierarchy
> >
> >   2. grouping elements based on their *context* -- in other words, the
>       *substitution group* hierarchy
> 
> >  The current focus in XPath/XQuery is very much on 1 rather than 2.
> 
> Yes, but that has been one of my major objections to W3C XML Schema
> all along. W3C only gave us #1 really and some very crude mechanisms
> for #2. The XPath/XQuery folk are heading in the same direction.
> 
> I've tried to talk to some of the schema folks about the real need for
> "typing" of the second sort and been told (rather snootily) that those
> are "mere usage classes" not proper CS "types".

Whoever told you that did not deserve to pass CS.  I do agree that one of the 
most damaging problems with WXS types and the work that has cascaded from them 
is the terribly narrow perception of what a type is.  I've argues that here 
before.


> But I am an applications
> not a systems person, and in my world, usage grouping, whatever we call it
> is probably the most useful kind of grouping. I truly do not care that
> these "components" all have the same name, or the same model, I care how
> (and where, structurally or semantically) they can be used.

Agreed.  Types are most generally a construct of usage patterns, not fiat.  
Programmers who are so used to having to write

int foo;

Seem to forget that very quickly.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Apache 2.0 API - http://www-106.ibm.com/developerworks/linux/library/l-apache/
Python&XML column: Tour of Python/XML - http://www.xml.com/pub/a/2002/09/18/py.
html
Python/Web Services column: xmlrpclib - http://www-106.ibm.com/developerworks/w
ebservices/library/ws-pyth10.html



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.