> > <my:doc/>
> >
> > With namespace processing off, SAX2 compliant parsers can provide a
> > localName value of either "" or "doc"
>
> This is nonsense.  If namespace processing is off, what specification are
> you invoking to come up with a localName of "doc"?
>
> ~Rob

By "namespace processing off" I meant that the
"http://xml.org/sax/features/namespaces"; feature was set to false. I was
thus referring to the Javadoc for ContentHandler.startElement():

*  the Namespace URI and local name are required when the namespaces
property is true (the default), and are optional when the namespaces
property is false (if one is specified, both must be);

I read this to mean that if a SAX2 parser so chooses, it can process the
element for namespaces even though the feature is off. And that's how we get
a localName of "doc".



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to