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

RE: hypermedia affordances

  • From: Liam R E Quin <liam@w3.org>
  • To: "Rushforth, Peter" <Peter.Rushforth@NRCan-RNCan.gc.ca>
  • Date: Fri, 06 Jul 2012 14:27:01 -0400

RE:  hypermedia affordances
On Fri, 2012-07-06 at 15:59 +0000, Rushforth, Peter wrote:
>  recognition by the XML community of the cultural fact of the
> recognition of the "style" of HTML affordance that is
> recognized globally would be the first step.

You have to be careful what you standardise.

At one time the "obvious and universal affordance" of a hypertext link
was that it was coloured green - this came from Microsoft Help.

The href attribute is pretty obvious and natural to people who grew up
with HTML, as is the (artificial and unfortunate) distinction between
href and src.

The title and alt elements on "a" and "img" elements in HTML are an
awfully bad design, and should obviously not be used in other
vocabularies. In time they will probably be supplemented by other
standard but more powerful methods, just as the label-for mechanism
arose for making forms accessible and translatable.

On the other hand, the (disputed) longdesc on the img element is a
reminder that sometimes one element participates in more than one
outgoing link.

If you want to add features to XML to make it compete with HTML, I'd say
start a W3C community group to do a survey of existing practice, noting
where people commonly use JavaScript libraries to work around HTML's
deficiencies (or, more positively, but equivalently, where they build
higher-level constructs with the Open Web Platform's rich API...), and
look at how (and whether) the attributes you've wanted to add are used
and implemented in Web browsers today.

Don't start out by saying, "those guys are successful so they got
everything right and if we copy them we'll be successful too" as this
rarely works out well in the long term.

But I think a CG to look at linking for the Web would most likely end up
making proposals to add features to HTML, with notes on how they could
be implemented in browsers today using JavaScript and/or CSS, and clear
explanation of fallback behaviour, rather than hard-wiring some stuff
into XML.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author, 5th edition of Beginning XML, Wrox, 2012



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