[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ANN: SAX Filters for Namespace Processing
- From: "Simon St.Laurent" <email@example.com>
- To: Michael Brennan <Michael_Brennan@allegis.com>
- Date: Tue, 31 Jul 2001 20:25:50 -0400
On 31 Jul 2001 17:03:18 -0700, Michael Brennan wrote:
> Given this example, I'd say it is terribly dangerous to make the general
> assumption that an unqualified child element is equivalent to one in the
> containing namespace. You have to know the explicit intent of the author.
That's why the namespace filters allow developers to explicitly include
and exclude particular namespaces from such extension to their child
elements. For example, if you want to make sure SOAP envelopes don't
influence their child elements, it's simple:
<include nsURI="##any" />
<exclude nsURI="http://www.w3.org/2001/6/soap-envelope" />
Exclusions always override inclusions.
Honestly, though, I'm finding less and less interest in (or sympathy
for) the intentions of the author. It seems like these are really
choices for recipients, to be made with consideration for how much they
have to gain or lose by dealing with authorial intention.
Maybe I've just spent too long in publishing, where the reader is the