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

Re: Expanded names are not enough

  • From: "Simon St.Laurent" <SimonStL@c...>
  • To: xml-dev@i...
  • Date: Thu, 6 Aug 98 13:34:40 UT

Re: Expanded names are not enough
James Clark writes:
>I suspect there will be a similar issue with XPointers. If I say:
>
>  href="http://...#descendant(17,foo:bar)"
>
>I would expect that the expanded element type names to be matched, not
>the prefixes.  That would mean that to interpret the XPointer, an
>application would need the namespace prefix to namespace URI mapping in
>effect for the element to which href attribute is attached.

This is actually my primary concern with the current namespace proposal: that 
the inheritance model used here makes it difficult to extract subsections of 
documents reliably.  I would strongly prefer NOT to have the client need to 
download the entire document containing the subsection referred to by the 
XPointer - ideally, the server could just send the piece requested.  
(Bandwidth still isn't free, you know.)  This model opens up an awful lot of 
possibilities, but I fear namespaces may snuff it out.

So to make a this kind of request involving a namespace, the client will need 
to expand the prefix within the (foo:bar) which yields URLs like 

http://...#descendant(17,http://www.simonstl.com/schema/v1:bar)

Maybe this will work, but it sure makes for a mess.  Then the server needs to 
keep a namespace-expanded version of the documents it's storing if it wants to 
process this with any degree of speed, since parsing the whole document and 
expanding namespaces gets to be a chore when you're answering lots of requests 
simultaneously.

What I'd hoped to do with a simple Java servlet now looks like an _incredible_ 
mess.  Maybe the XPointer folks have some better ideas...

Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies


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


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.