[XML-SIG] SAX 2.0 names
Lars Marius Garshol
02 Mar 2000 09:45:39 +0100
* Ken MacLeod
| Can someone step back a second and refresh me (us) on where the name
| tuples will be used?
| * SAX2 defines URI, localname, and rawname as parameters for elements.
Java SAX2 does this. We're thinking about making Python SAX2 use
a pair tuple for the name parameter and have the rawname in a separate
parameter. (Or possibly use an object that keeps all three.)
| * SAX2 `Attributes' class has seperate attributes for them.
Again, we're thinking about making Python SAX2 differ by merging uri
and localname into a pair tuple.
| * DOM has seperate attributes in Element and Attr (Node, actually).
I haven't looked at this yet, but ideally SAX2 and the DOM should fit
nicely together. Can anyone comment on this?
| * My proposal for merging DOM and SAX has them as seperate attributes
| on elements and attributes.
Sorry, I haven't had time to look at this yet. Will do as soon as
| The biggest thing I see is the disconnect between SAX2's `rawname'
| and DOM's `prefix'.
That's a decision made for Java SAX2, and I don't really know what I
think about it. For SAX2 it makes sense, but like you say it's not the
way the DOM does it.