W3C home > Mailing lists > Public > www-ql@w3.org > October to December 2003

Re: namespace node implementation

From: james anderson <james.anderson@setf.de>
Date: Tue, 21 Oct 2003 20:58:18 +0200
To: www-ql@w3.org
Message-Id: <8899158C-03F8-11D8-A8B0-000393BB8814@setf.de>


On Tuesday, Oct 21, 2003, at 20:35 Europe/Berlin, Per Bothner wrote:

>
> I've been thinking about how to efficiently implement namespace 
> "nodes". (This is for serialization and get-in-scope-namespace only - 
> I already have efficient code for namespace resolution when parsing 
> XML, and for matching QNames.)
>
> Does the following sound like it would work ok?  (The last point is 
> the critical non-obvious one.)
>
some of them seem unnecessarily complex. i suspect you're not thinking 
about first-class names, which may be the cause of the problem. in 
order to offer a detailed response, i'd like to run the examples 
through cl-xml, but first i need to know what, exactly the "/" 
notations is intended to mean.

>
> let $b := $x/b
> ...
> $c/b -> <b xmlns:ns1="NS1"/>
> $d -> <d xmlsns:ns3="NS3"><c xmlsns:ns2="NS2"><b 
> xmlns:ns1="NS1"/></c></d>
> $d/c -> <c xmlsns:ns2="NS2"><b xmlns:ns1="NS1"/></c>
> $d/c/b -> <b xmlns:ns1="NS1"/>
>

is it a combination operator, a path construct, or a ?

...
Received on Tuesday, 21 October 2003 14:59:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC