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

Re: The text illusion

  • From: Michael Kay <mike@saxonica.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Fri, 15 Jul 2016 15:19:07 +0100

Re:  The text illusion

On 15 Jul 2016, at 14:32, Costello, Roger L. <costello@mitre.org> wrote:

Michael Kay wrote:

 

Ø  you don't know the meaning of a piece of XML

Ø  just by looking at it; you need to know the

Ø  representation conventions

 

What is the best way to inform users of an XML document of its representation conventions? One approach is to inform users by adding more stuff to the XML document, e.g.,

 

<altitude units="feet" reference="mean sea level">10</altitude>

 

But now we’ve got to inform users of the representation conventions of the new stuff.

 

Yikes! We’ve entered an infinite regress.

 



This is a problem when you are trying to communicate with aliens from another planet, but it's not really a problem when you have language in common with your users.

You teach the meaning of words by defining them in terms of things the user already knows. The explanations can be within the document or external, it doesn't really matter, but ultimately the infinite regress stops when the user correctly guesses your meaning, because you are using shared concepts to explain yourself.

Guessability is important. Users will guess that 0 means zero even if your documentation says it means 48. 

And note also, there will always be some ambiguity. What does 10 feet above mean sea level mean? When was it measured, and what was the expected error in the measurement? Mean sea level where (and when)? We're talking about the real world here, and the real world is always a bit fuzzy around the edges (or around mean sea level, if you prefer).

Michael Kay
Saxonica 



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