[XML-SIG] SAX Namespaces

Greg Stein gstein@lyra.org
Tue, 4 Jul 2000 02:56:55 -0700


On Tue, Jul 04, 2000 at 11:31:52AM +0200, Lars Marius Garshol wrote:
> * Greg Stein
>...
> | If NS processing *can* be disabled, then uri==None and name==qname.
> 
> I would prefer replacing the tuple with the qname.  Any code that
> looks at the internal structure of names for (uri, localname) will
> assume namespace processing anyway, methinks.  If anyone can think of
> convincing use cases that are made awkward by the string
> representation I will reconsider.

As long as you're saying it is ((uri, localname), qname) or (qname, qname),
then I'm fine with that. In either case value[0] is the "name" of the item.

[ btw, I use tuple representation above, but the arguments also applies when
  the two pieces are separate arguments (e.g. option #1) ]


Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/