It handles both duplicate declarations (i.e. a namespace already declared by a parent element) and empty namespaces scopes (i.e. start/stopPrefixMapping with no element inbetween) that can be produced by some components (e.g. JXTG or BrowserUpdateTransformer). Such empty scopes confuse the Xalan serializer which then produces weird namespace declarations (xmlns:%@$#^@#="%@$#^@#"
).
This is a the most simple use of {@link NamespacesTable}. @version $Id: RedundantNamespacesFilter.java 587750 2007-10-24 02:35:22Z vgritsenko $
|
|
|
|