Class AbstractTraxSerializerFactory.NamespaceAsAttributes

  • All Implemented Interfaces:
    ContentHandler, LexicalHandler
    Enclosing class:
    AbstractTraxSerializerFactory

    public static class AbstractTraxSerializerFactory.NamespaceAsAttributes
    extends Object
    implements ContentHandler, LexicalHandler
    A pipe that ensures that all namespace prefixes are also present as 'xmlns:' attributes. This used to circumvent Xalan's serialization behaviour which is to ignore namespaces if they're not present as 'xmlns:xxx' attributes.