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

Re: Include data that may be objectively generated some day?

  • From: Dimitre Novatchev <dnovatchev@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Mon, 28 Nov 2011 09:58:48 -0800

Re:  Include data that may be objectively generated some day?
> Since the XML documents contain enlightenment-capability data application developers figure "Hey, let's use it."  So, suppose applications (today) start making decisions based on the data in the  <Enlightenment-Capability> element. What will be the consequence?
>
> More generally, what will be the consequence of adding this element to the Book XML vocabulary?
>

Should be no consequence at all, unless the new
<Enlightenment-Capability> element has any meaningful values.

Let's not forget that defining the value-space as well as the meaning
of each possible value, is an integral part of the type definition.

Leaving "no value" or the "default value" (as null or string.Empty, or
0 in many programming languages) should be handled successfully with a
"default action" -- most probably "ignore".



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.




On Mon, Nov 28, 2011 at 5:44 AM, Costello, Roger L. <costello@mitre.org> wrote:
> Hi Folks,
>
> Is it good or bad to include, in an XML document, data that is currently not objectively generated but may be in the future?
>
> Please allow me to explain.
>
> Example: Below is information about a book. Suppose that today's applications effectively process its markup and data:
>
> <Book>
>      <Title>_________</Title>
>      <Author>_________</Author>
>      <Date>_________</Date>
>      <ISBN>_________</ISBN>
>      <Publisher>_________</Publisher>
> </Book>
>
> Now, consider the problem of determining how "enlightening" a book is. Assume that there are no objective rules for determining the enlightenment-capability of a book. Manual determination of the enlightenment-capability of a book is subjective and yields mixed results. Thus, automating the determination of the enlightenment-capability of a book is problematic.
>
> Nonetheless, the developers of the Book XML vocabulary decide that someday it may be possible to objectively measure the enlightenment-capability of a book and applications will make decisions based on enlightenment-capability data. So they decide (today) to require that each book contain an <Enlightenment-Capability> element:
>
> <Book>
>      <Enlightenment-Capability>__________</Enlightenment-Capability>
>      <Title>_________</Title>
>      <Author>_________</Author>
>      <Date>_________</Date>
>      <ISBN>_________</ISBN>
>      <Publisher>_________</Publisher>
> </Book>
>
> Since the XML documents contain enlightenment-capability data application developers figure "Hey, let's use it."  So, suppose applications (today) start making decisions based on the data in the  <Enlightenment-Capability> element. What will be the consequence?
>
> More generally, what will be the consequence of adding this element to the Book XML vocabulary?
>
> /Roger
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[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.