[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 for non-namespace qu

  • To: xerces-j-dev@x..., sax-devel@l..., xml-dev@l...
  • Subject: Re: [Sax-devel] Re: SAX survey: expected local name for non-namespace qualified elements
  • From: Robin Berjon <robin@k...>
  • Date: Mon, 3 Jun 2002 10:54:35 +0200
  • In-reply-to: <3CF7A148.1090903@p...>
  • Organization: Knowscape ://
  • References: <" <"@localhost> <3CF559FB.9050008@u...> <3CF7A148.1090903@p...>
  • Reply-to: robin@k...

sax strip
On Friday 31 May 2002 18:14, David Brownell wrote:
> > What is the localName in "foo:bar" and "foo:bar:foo" which are legal
> > element names in XML 1.0 and should therefore be passed through when
> > namespaces are off?
> I'd expect that localName would still be defined to be the syntactic
> "strip off the only prefix" transform of qName that it is in other
> cases ... so "foo:bar" would become "bar", and "foo:bar:foo" would
> be an error (normally reported as an empty localName).

I don't think that makes much sense... If namespaces are off, then there is 
no such thing as a prefix to be stripped off. And raising an error for the 
latter would be a strange decision knowing that it's a legal name when 
namespaces are off.

Robin Berjon <robin@k...> -- for hire: http://robin.berjon.com/
  Avoid clich├ęs like the plague.


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.
First Name
Last Name
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.