[
Lists Home |
Date Index |
Thread Index
]
Paul Prescod wrote:
> Remember we just had an argument about whether to design for the common
> case or the special case? Have you ever done this in an application? I
> haven't. Still, every XML application in the world must handle namespace
> scoping.
Every XML _parser_ must handle namespace scoping. Most applications
don't care. For applications, I think it's an issue in only three cases
(any others?):
1) Moving nodes around and the document uses more than one namespace
2) Using QNames in attribute values/PCDATA.
3) Serializing documents by hand.
I suspect this limits the problem to people writing tools. (This is not
to minimize the problem. It doesn't look too bad in SAX, where
stack-based processing mimics the declarations, but it looks like a real
pain in the DOM.)
-- Ron
|