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

Re: XPointer and XML Schema


xml connector
John Cowan wrote:
> Simon St.Laurent scripsit:
> 
> > Earlier drafts of XLink and XPointer had some interesting forms
> > which suggested sending the Fragment Identifier to the server as a
> > query so that the browser would just get the parts they needed.  
> 
> That idea didn't fit the URI reference architecture. 

Architecture matters?  Geez.  Someone should have told the Web Services
people that a long time ago. [1]

> It could be done
> by convention using ?, something like 
> http://nyetwork.not/foo.xml?%23SomeName

Yep.  A long-forgotten XLink draft included a Query construct[2]:
---------------------
Query   ::=     'XML-XPTR=' (XPointer | Name)
------------------------

An even more interesting option (which didn't fit the URI specs) was
[3]:
------------------------
Locator ::=     URL
       | Connector (XPointer | Name)
       | URL Connector (XPointer | Name)
Connector   ::=     '#' | '|' | '?XML-XPTR='

...
* If the connector is "#", this signals an intent that the containing
resource is to be fetched as a whole from the host that provides it, and
that the XPointer processing to extract the sub-resource is to be
performed on the client, that is to say on the same system where the
linking element is recognized and processed. 
*   If the connector is "?XML-XPTR=", this signals an intent that the
entire locator is to be transmitted to the host providing the resource,
and that the host should perform the XPointer processing to extract the
sub-resource, and that only the sub-resource should be transmitted to
the client. 
*   If the connector is "|", no intent is signaled as to what processing
model is to be used to go about accessing the designated resource. 
------------------------

Lost in the dustbin of history.

[1] - http://www.oreillynet.com/pub/wlg/1319
[2] - http://www.w3.org/TR/WD-xml-link-970731#sec5.2
[3] - http://www.w3.org/TR/WD-xml-link-970406#sec5.2
-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com

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.