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

Re: XPath 2.0 Best Practice Issue: Graceful Degradation

  • From: Philippe Poulard <philippe.poulard@s...>
  • To: noah_mendelsohn@u...
  • Date: Thu, 31 Jan 2008 09:56:52 +0100

Re:  XPath 2.0 Best Practice Issue: Graceful Degradation
noah_mendelsohn@u... a écrit :
> Philippe Poulard writes:
> 
>> Schema technologies were primarily designed to express constraints 
>> on XML document classes.
> 
> To add a bit more detail, the following is the text of the section of the 
> Schema Recommendation that describes the purpose of a schema [1]
> 
> 
>> Unfortunately, schema technologies are still trailing behind. (One 
>> of) the missing feature(s) is the support of semantics data types.
> 
> See those last two sentences in the "purpose" section.   It's not at all 
> clear to me that Schema structures is the right place to go after these 
> semantic types,

Well, so far you added more details -interesting details- but, as you 
said, you are talking about W3C XML Schema ; my thoughts weren't 
restricted to a specific schema technology ; DTD, Relax NG and 
schematron are also concerned.

  except insofar as the existing ability to define named
> types, and inheritance hierarchies in which both the intensional 
> refinement of a type (I.e. it's base type chain) as well as its 
> extensional refinement (a restriction allows no more than its base) 
> matter.  To make that last bit clearer, what I'm trying to say is, you can 
> have two vacuous restrictions of integer, one named "employeeAge" and one 
> named "partNumber".  They both accept the same numbers, but you can't put 
> xsi:type="partNumber" on an element that's expecting an "employeeAge". 
> That's what I meant by intensional as well as extensional, and it takes 
> you just a bit of the way toward semantic typing.

True. Just a bit.
I'm upset that there is no more : in many languages you can deal with 
semantic data types, I complain that we have not the same support on XML 
technologies. The examples Roger and I were talking about in the thread 
are not so complex ; very simple solutions can be considered to enhance 
the type system in XML ; this is what I have experimented in the 
implementation of RefleX.

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.