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

RE: XPath 1.5? (was RE: typing and markup)


xpath download
At 10:38 AM 5/7/2002 -0400, Elliotte Rusty Harold wrote:
>At 3:26 PM +0200 5/7/02, Matthew Gertner wrote:
>>Admittedly I am just restating the problem, but I am curious to know why you
>>are so convinced that the data in XML documents are strings that can be
>>translated into other data types when necessary,
>
>Because an XML document is defined as a finite sequences of characters.

Actually, XML Schema defines value spaces for the various types, and many 
people are doing XML views of persistent data.

>>  and not dates, number, etc.
>>that are serialized as strings when an XML document is instantiated.
>
>In this case, you have some other data that is not an XML document. This 
>data is then translated into strings which are stored in an XML document. 
>However, not all XML documents are created this way. A general purpose 
>technology like XSLT/XPath that has to be defined for all XML documents 
>cannot rely on characteristics that apply to only some XML documents; e.g. 
>that they were created by converting numbers into strings.

I suspect much of this argument is between people who merely use XML as a 
transport and serialization technology, and those who actually do 
processing of XML that involves some knowledge of the types involved.

Jonathan


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.