A XmlSchemaPredicateMapping is created using a Spring bean with the following attributes:
Attribute | Value | Description |
---|---|---|
id | User-defined | A unique ID for the bean. |
parent | rdf.xmlSchemaPredicateMapping.abstract | The parent bean. |
The XmlSchemaPredicateMapping bean takes the following properties:
Property | Type | Mandatory | Description |
---|---|---|---|
xmlSchemaFilter | XmlSchemaFilter | Required | A filter for which the bean applies. |
predicate | QName | Required | The predicate to add when the XML schema filter matches. Use a fully-qualified name with Clark notation as the key of the entry. |
<bean id="samples.xmlSchemaPredicateMapping.troubleshooting" parent="rdf.xmlSchemaPredicateMapping.abstract"> <property name="xmlSchemaFilter" ref="samples.dtd.troubleshooting" /> <property name="predicate" value="{http://www.alfresco.org/model/content/1.0}effectivity" /> </bean>
To debug your
XmlSchemaPredicateMapping
, add the following entry to your
log4j.properties
file:
log4j.logger.com.componize.rdf.pipeline.stax.XmlSchemaPredicateExtractorFactory=debug