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

Re: three-vowel element names (was Re: xml:href,xml:

  • From: Uche Ogbuji <uche@ogbuji.net>
  • To: David Carlisle <davidc@nag.co.uk>
  • Date: Mon, 16 Apr 2012 08:41:46 -0600

Re:  three-vowel element names (was Re:  xml:href
On Mon, Apr 16, 2012 at 6:53 AM, David Carlisle <davidc@nag.co.uk> wrote:
The point is that xlinks major (fatal really) failing is that it forces
attribute names on the vocabularies that use it. (Its bad enough that
xml:id forces a name but the issues are worse with link attributes)

I agree, although I think an AF-like approach to linking should also take on IDs, which are just anchors. xml:id would of course have to be the default, recognized way to specify IDs/anchors (I know some would say these are not the same thing, but I believe treating them as such is a pragmatic simplification).


architectural forms which pre-dated xlink from SGML had a much more
extensive vocabulary that allowed you to impose linking semantics on
_existing_ markup without the markup having to change.

So you want to be able to say things like

a/href is a normal link, img/@src is an embed link.

But the recognition patterns might need to be more advanced such as
Liam's somewhat extreme example.

I think the point is that if you have some flexibility in specifying what attributes have the semantics of link/@href or link/@rel, you might as well provide all the flexibility of at least XPath. Of course Liam's example would need more than XPath 1.0, and would also need regex facilities, but I say "why not?" to that (besides aprocryphally having created an additional problem ;) ).

FWIW I think such an AF-tool would be dead easy to implement in XSLT, and as I recall both Jeni Tennison and John Cowan have given it a go in the past. Those ideas were never really taken up, but I wish they had been. Maybe an AFng could be a nice addition to the MicroXML family of specs.


--
Uche Ogbuji                       http://uche.ogbuji.net
Weblog: http://copia.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira        http://zepheira.com
Linked-in: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji


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