[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ANN: SAX Filters for Namespace Processing

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: Michael Brennan <Michael_Brennan@a...>
  • Date: Tue, 31 Jul 2001 20:25:50 -0400

RE: ANN: SAX Filters for Namespace Processing
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:

<namespaces xmlns="http://simonstl.com/ns/namespaces/elements/">
<include nsURI="##any" />
<exclude nsURI="http://www.w3.org/2001/6/soap-envelope" />
</namespaces>

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
final arbiter.



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.