XmlSchemaFilterEntry

XmlSchemaFilterEntry bean attributes

A XmlSchemaFilterEntry is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent xml.schema.filter.collection.entry The parent bean.

XmlSchemaFilterEntry bean properties

The XmlSchemaFilterEntry bean takes the following properties:

Property Type Mandatory Description
schema XmlSchemaDefinition or DocumentTypeDefinition Optional

An XML schema reference that should be added to the filter.

schemas Collection< XmlSchemaDefinition or DocumentTypeDefinition > Optional A list of XML schema references that should be added to the filter.
registry XmlSchemaFilterRegistry Optional Reference to a XML schema filter registry. A value must be provided to either registry or registries.
registries Collection <XmlSchemaFilterRegistry> Optional Collection of XML schema filter registries. A value must be provided to either registry or registries.

XmlSchemaFilterEntry bean example

<bean parent="xml.schema.filter.collection.entry">
  <property name="schema" ref="samples.dtd.troubleshooting" />
  <property name="registry" ref="dita.schemas.topic" />
</bean>

Debugging

To debug your XmlSchemaFilterEntry , add the following entry to your log4j.properties file:

log4j.logger.com.componize.xml.schema.MutableCollectionXmlSchemaFilter=debug