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

Re: [Sax-devel] Re: SAX survey: expected local name fornon-namespace qua

  • To: xerces-j-dev@x..., sax-devel@l..., xml-dev@l...
  • Subject: Re: [Sax-devel] Re: SAX survey: expected local name fornon-namespace qualified elements
  • From: "Simon St.Laurent" <simonstl@s...>
  • Date: 01 Jun 2002 09:42:12 -0400
  • In-reply-to: <3CF7CC84.1050305@u...>
  • References: <" <4.2.0.58.J.20020528113123.044b18f8"@localhost><4.2.0.58.J.20020528184428.024936f8@localhost><3CF4DA2A.9010006@t...> <p04330102b91aaccc6808@[192.168.254.4]><3CF5456C.4040108@p...> <3CF559FB.9050008@u...><OF14B5085A.90DE2214-ON86256BCA.00592DAC@r...> <3CF7CC84.1050305@u...>

namespace xercesc
On Fri, 2002-05-31 at 15:18, Arnaud Le Hors wrote:
> I guess you could argue this makes sense. But it's not what I would 
> expect and others argue that the localName should be the same as the 
> qName in this case. Others may argue for something else yet.
> 
> What this proves to me is that people don't agree. And there is no way 
> to say who's right who's wrong because there is no definition to refer 
> to. The fact is that the notions of local name, prefix, and qualified 
> name are only defined in the context of Namespaces. Once you're out of 
> this context they therefore don't mean anything.
> 
> This is why I think it is best to leave them alone (i.e., having them be 
> null) when namespaces processing is off.

I think you've missed the point that the SAX2 API itself IS
namespace-aware, and that flipping a switch to turn off
namespace-processing doesn't necessarily mean turning off chunks of the
API.

I have an incredibly hard time believing that SAX filter writers such as
myself should have to write their code to check different arguments in
the API depending on whether a particular flag was set a given way.  

I have an even more difficult time finding any benefit whatsoever in
reporting information that is actually available as null, though I
suppose I can write yet another SAX filter which compensates for such
peculiar practice.

If you genuinely don't want to think about namespaces and don't want to
know, SAX1 is always an option.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com


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.