logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: SAXNotRecognizedException on http://xml.org/sax/features/namespace-pref: msg#00084

Subject: Re: SAXNotRecognizedException on http://xml.org/sax/features/namespace-prefixes
On Mon, 26 Apr 2004, Oleg wrote:

<snip/>

> Is it a bug in Xerces or am I doing something wrong?
>
> Note that setting the same feature on the SAXParser works fine.
>
> Any thoughts ?

It's not a bug. The DOM parser doesn't support that feature, nor is it
required to. Only the SAX parser does [1]. Once DOM Level 3 moves into the
standard distribution, you will be able to control this behaviour with the
"namespace-declarations" parameter [2]. Setting it to false isn't
supported yet.

> Regards,
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
> For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx

[1] http://xml.apache.org/xerces2-j/features.html#namespace-prefixes
[2] 
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#parameter-namespace-declarations

---------------------------
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@xxxxxxxxxx
E-mail: mrglavas@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>