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

Re: XPath and a continuous, uniform information space

  • From: Uche Ogbuji <uche@ogbuji.net>
  • To: Hans-Juergen Rennau <hrennau@yahoo.de>
  • Date: Thu, 15 Aug 2013 09:00:34 -0600

Re:  XPath and a continuous
I want to say that this message belongs in the XML-DEV Hall of Fame.  Brilliantly put, all the points.  I'll admit that Michael's original points baffled me entirely, but he does say now that he over-simplified, so fair play.  But again Hans-Juergen's response articulated some aspects of XML-on-Web architecture better than anything else I've seen before.  I won't be able to resist remarking that I wish he'd been the one articulating HyTime's Grove Model ;)

On Wed, Aug 14, 2013 at 4:53 PM, Hans-Juergen Rennau <hrennau@yahoo.de> wrote:

Web architecture of XML technology?
==========================
Finally, you wrote: "I'm sure that's achievable, but the web architecture doesn't encourage it." To me it is a question if it is really web architecture what is responsible for the status quo, or not simply the limited features of XML/XPath itself - is it not XML/XPath what is responsible how links are expressed and resolved?

This point deserves some reinforcement.  It's enough to point out one example of an "encouraged" Web architecture implementation that does not suffer the issues raised.  I immediately thought of the HTTPd/Apache static file module.  It provides seamless access to an arbitrarily large information space, including inter and intra-document navigation

Document root:

http://myhost/folder1/folder1.1/doc1.html

Specified subsection of document:

http://myhost/folder1/folder1.1/doc1.1.1.html#section1

Relative navigation from one document/section to another

<a href=""../../folder1.2/doc1.1.2.html#section3">...

Sure crude id/anchor is no match for the intra-document sophistication of XPath (XPointer would have helped, in theory) but that's the point entirely: XPath has the intrinsic expressiveness within the document, but is limited beyond that.  I think the elegant "/" and "#" syntax of static file servers shows that the limitation in cross-document "mobility" does not come from Web architecture.  Rather, the XPath/XSLT 1.0 language designers very sensibly kept their scope manageable by just focusing on the single document case.  It sounds as if later XPath specs just haven't got around to remedying this, but I don't think it would be so terribly hard, once it comes to it.


--
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
http://wearekin.org
http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net
http://www.linkedin.com/in/ucheogbuji
http://twitter.com/uogbuji


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