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

Re: bohemians, gentry


Re:  bohemians
[Jonathan Robie responding to Uche Ogbuji]

>I gather that a concrete example that illustrates your point is not 
>something you can construct without some effort, which is why you are 
>pushing back rather than providing one.

I see it is really simple terms:

         <Example>
         <Weight>123.456</Weight>
         </Example>

Q. What is the value of the element Weight?
A. It is the *string* "123.456".

Q. Is it not actually the floating point number 123.456?
A. Nope. I might interpret it that way. It depends on how I am processing the
document. I make the decision in my processing - it is not up to XML to 
tell me how
to interpret the text.

Q. Is it a good idea to bind the concept of "floating point number" tightly 
into the processing
of this XML document? Would this not be wonderfully convenient?

A. No, because interpreting it as a floating point number is an 
*interpretation* of the text, not
a fundamental part of the text. My process will do that interpretation, 
thank you very
much. Besides, the more you tightly bind data types to chunks of your XML 
the more
tightly you are binding XML to a process. The whole point of XML is that is 
separates
content from process so that your content can outlive your processes.

Simplistically,
Sean

http://seanmcgrath.blogspot.com



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.