The URI you reference is not part of the specification for SAX, it is
just some ancillary documentation.  The JavaDoc makes no such statements.
However, in the same "area", it also states that:

http://xml.org/sax/features/namespaces
     true: Perform Namespace processing.
     false: Optionally do not perform Namespace processing (implies
            namespace-prefixes).

Therefore, if the namespaces feature is false, then the value of
namespace-prefixes is irrelevant, as it is implied directly by
the value of the namespaces feature.

As to throwing exceptions, I would agree with Andy that we shouldn't be
doing such things.  In particular, take the following sequences of events:

default state: namespaces is true, namespace-prefixes is false.
desired state: namespaces is false, namespace-prefixes is true.

If we were to throw an exception when both were false then the sequence:

set namespace-prefixes to true.
set namespaces to false.

would work, while the sequence:

set namespaces to false.
set namespace-prefixes to true.

would fail !!

That makes no sense and will confuse people for no good reason.

Regards,
Glenn



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

Reply via email to