[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 14:44:43 -0600

Re:  XPath and a continuous
On Thu, Aug 15, 2013 at 2:29 PM, Hans-Juergen Rennau <hrennau@yahoo.de> wrote:
Michael, Uche,

referring to Michael's words:

"
Come to think of it, perhaps the problem is more that we equate an "XML document" to a "web resource". What we perhaps need is a way of distributing a single XML document over a large collection of web resources, and then navigating around that XML document seamlessly, using XPath?

Of course we can do that crudely already, using entities or XInclude. Perhaps we just need a smarter implementation of transclusion, where the document fragments are fetched on demand when XPath navigation needs them, rather than being assembled eagerly by the XML parser.
"

it seems to me that this is *exactly* the idea pursued by the approach "super-documents / seamless navigation" sketched in an earlier posting. Or am I mistaken? I would like to know. Differences? Directions in which to seek improvement?

See below...

Super-documents as a view
===================
What I find very interesting is the possibility to *impose* a super structure on a given set of documents, integrating them into a single logical tree. The super-document is essentially a *view* imposed on a set of documents. Having accomplished this, one may alternatively deal with the documents in the conventional way (as independent entities), or in a novel integrated way, navigating the super-document. In the latter case, overall navigation can be viewed as the merging of two kinds of movement, moving within the super-structure from "part" to "part" (where parts are documents, physically), and down into the "parts". And this is exactly the behaviour mimicked by the example, which navigates the tree-structured catalog and then drills into the documents.

It's probably the use of "documents" above which prevented me from thinking of yours and Michael's documents in the same way.  As I understand Michael's quote, it's not just a convenient view ver existing documents, but fundamentally redesigning what "XML document" means, at least for this limited scenario.  Rather than documents I would think of the component bits as more like general entities or XInclude fragments.  In my opinion what Michael is proposing is in effect redesigning the fundamental behavior of an XML parser whereas what your super-documents idea is doing is layering some additional, useful capability on top of XML parsers as they already exist.

When I mentioned that I wanted to spend the weekend thinking of Michael's idea, it was primarily with MicroXML in mind.  The charter of the MicroXML group allows us to consider the complete redesign of the XML parser, never mind just tinkering with XPath semantics.  Mind you, that doesn't mean I'd suggest allowing the MicroXML parser to automatically trigger requests of Web resources.  That would be a backward step after we've closed some important security holes by eliminating entities and DTDs.  Rather it might be a matter of having some sort of hook/callback mechanism based on node patterns.  Someone else could then layer on that, at their own risk, a handler that traverses Web resources?  All unformed thoughts, for the moment.


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