Entities and XPointers

David G. Durand dgd at cs.bu.edu
Tue Dec 2 21:36:36 GMT 1997

On Dec 2,  5:40pm, Simon St.Laurent wrote:
> Subject: Entities and XPointers
> While they don't provide the actuation flexibility or many of the other
> features of XML-Link, it may be possible to create external entities that use
> XPointers in the URL. Of course, this would require that either the
> application can cope with XPointers (unlikely in this case), or that the
> server can interpret the XPointer and return only the chunk requested.

There's no reason that you can't do this at the server side, and a client that
was so sophisticated could interpret the URL (but, pracitcally speaking, I
wouldn't expect many such to exist).

> Provided that I can make the server interpret the XPointer (using | as the
> connector, or the XML-XPTR query syntax) and return only the chunk requested,
> is this kosher? It's mixing and matching the spec, which I'm not sure is
> appropriate.

I'm not sure about using the | connector. It's ideal for the
maybe-client/maybe-server case, but I think those special URLs may be an
XLL-only item -- thus not required to be interpreted by XML parsers. But the
use of query strings (with '?') and smart servers to serve up partial XML data
is part of what we wanted to enable by using URLs in XML in the first place.

  -- David

David Durand                 dgd at cs.bu.edu| david at dynamicDiagrams.com
Boston University Computer Science        | Dynamic Diagrams
http://www.cs.bu.edu/students/grads/dgd/  | http://dynamicDiagrams.com/
                                          | MAPA: mapping for the WWW

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list