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

Re: patterns vs. identifiers


Re:  patterns vs. identifiers
8/19/2002 12:10:36 PM, "Simon St.Laurent" <simonstl@s...> wrote:


>I think a strictly pattern-based approach would offer context - both
>ancestor and descendant context - as an answer to that, though context
>can occasionally be misleading or abused.  
>

That's presumably how humans cope with the problem of distinguishing
"tables" from "tables".  People know better than to do this, but
most could understand a sentence like: "We need to table the discussion of
how to format the table for our catalog of tables."    No URI's needed!

Obviously humans do this with an immense amout of built-in context, but
with sensible markup design, it could be possible, (with heuristics rather
than logic, admittedly) for a machine to figure out that "table" in the
context of a <meeting> refers to the act of postponing, "table" in
the context of <html> or another presentation lanugage means a 
rectangular layout, and "table" in the context of 
<furniture> means a physical table.

Identifiers and logic about them obviously has its place in software
and markup, but I take Simon's post as recommending that we pay 
equal attention to patterns and heuristics.  To use my favorite
example, real clerks aren't stymied because an order comes in on
a form they've never seen before.  They look for the patterns they're
used to ... and "throw an exception" only if they don't find the
information they need.  Obviously strong typing "contracts" make
lots of sense to improve efficiency in more tightly coupled systems,
but not at a cost of losing customers. Anyone who rejected an order
because the HTML description section contained a <ul> inside a <p> would soon find
themselves unemployed! 




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.