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

Re: XSLT 2.0 / XPath 2.0 - Assumptions


Re:  XSLT 2.0 / XPath 2.0 - Assumptions
5/13/2002 11:15:20 AM, Jonathan Robie <jonathan.robie@d...> wrote:

>I can understand the desire for fewer types. But if you support any data 
>types in documents, its hard to justify not supporting those data types 
>found in the documents that are being queried, which may belong to any 
>built-in type.

OK, but we're talking about a minimum conformance level here, and the whole
point is to find the smallest subset that works for the greatest number of users.
Most people, in my experience, will call an integer an "integer." 
Those who choose to distinguish between "unsignedLong" and
"positiveInteger" will just not be able to use the lower conformance level.

Michael Kay noted the other day that namespaces seemed like just 
as much of a nightmare in XSLT 1.0 as W3C Schema
does now; people got used to namespaces, and are starting to get used to XSD,
so maybe there is hope for the world after all.  Sure ... but I'd suggest that
people like the idea of declaring their elements to be strings, integers,
floating point numbers, dates,etc.; not very many people want to worry about the 
distinctions between int,long, and short -- to say nothing of unsignedLong and 
positiveInteger -- unless absolutely forced to.

>
>One niggle: the primitive types do not include short and long integers, 
>etc., these are found in built-in derived types. It would be possible to 
>support only primitive types and not derived types. I'm not sure that would 
>be much of a simplification. 

All I can say is that a quick review of http://www.w3.org/TR/xmlschema-2/#integer
makes me [personally, blah blah blah] appreciate the truth of what Matthew
Gertner said earlier: "As far as I'm concerned, the W3C set itself up for 
this by releasing the XML Schema spec." 




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.