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

Null Namespace in SAX (was Re: [xml-dev] Can we treat XML elements and attributes as sets)

From
Jeff Rafter <>
To
Alan Gutierrez <>
Date
2005-08-21T18:39:36Z
ID
<>
Thread
Null Namespace in SAX (was Re: [xml-dev] Can we treat XML elements and attributes as sets)
>     In SAX, no namespace, or the default namespace, is represented
>     by the empty string. Closer to the set way of looking at things.

Actually, the use of null versus an empty string is very inconsistent in 
SAX. Karl Waclawek has reported many such areas across various 
callbacks-- but the variety of interpretation in implementations is more 
troublesome. Ultimately it leads to people sticking with one SAX parser 
(no switching) and checking the expected case, or checking both cases to 
remain parser agnostic...

All the best,
Jeff Rafter
← Prev in month ← Prev in thread
Next in thread → Next in month →