rg/sax/features/namespace-prefixes
This feature controls how a {@link ValidatorHandler} introducesnamespace bindings that were not present in the original SAX event stream. When this feature is set to true, it must make sure that the user's {@link ContentHandler} will see the corresponding xmlns*
attribute in the {@link org.xml.sax.Attributes} object of the{@link ContentHandler#startElement(String,String,String,Attributes)}callback. Otherwise, xmlns*
attributes must not be added to {@link org.xml.sax.Attributes} that's passed to theuser-specified {@link ContentHandler}.
(Note that regardless of this switch, namespace bindings are always notified to applications through {@link ContentHandler#startPrefixMapping(String,String)} and{@link ContentHandler#endPrefixMapping(String)} methods of the{@link ContentHandler} specified by the user.)
Note that this feature does NOT affect the way a {@link ValidatorHandler} receives SAX events. It merelychanges the way it augments SAX events.
This feature is set to false
by default.
@author
Kohsuke Kawaguchi
@version $Revision: 226183 $, $Date: 2005-04-08 06:39:14 -0400 (Fri, 08 Apr 2005) $
@since 1.5