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

Re: SAX survey: expected local name for non-namespace qualifie

  • To: xml-dev@l...
  • Subject: Re: SAX survey: expected local name for non-namespace qualified
  • From: Richard Tobin <richard@c...>
  • Date: Sun, 2 Jun 2002 23:47:34 +0100 (BST)
  • Cc:
  • In-reply-to: <p04330102b91aaccc6808@[192.168.254.4]>
  • Organization: HCRC, University of Edinburgh

definition of a survey
>1. Before now, what was your understanding of this point? When 
>writing and teaching did you tell your students to rely on local 
>names or qNames for non-namespace qualified elements? What have you 
>relied on in your code?

I had always assumed that "local name" meant what "local name" means
in XPath and other namespace-based specs.  That is, the local name of
an unprefixed name is the same as the name.  So when using SAX I
relied on the local name for both prefixed and unprefixed elements.

Incidentally, the Namespaces spec is a bit inconsistent in its use of
the term "qualified name".  The first time it uses it, it means
"prefixed name", but thereafter - and in particular in the definition
- it means "optionally prefixed name interpreted as referring to a
namespace / local part pair".  I always use it in the second sense -
when using namespaces, all element and attribute names are qualified
names, but only some of them are prefixed.

-- Richard

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.