← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [xml-dev] SAX survey: expected local name for non-namespace qualified

From
Richard Tobin <>
To
Date
2002-06-02T22:47:34Z
ID
<>
Thread
Re: [xml-dev] SAX survey: expected local name for non-namespace qualified
>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
← Prev in month ← Prev in thread
Next in thread → Next in month →