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.
|
|