An XPathInterceptor is created using a Spring bean with the following attributes:
Attribute | Value | Description |
---|---|---|
id | User-defined | A unique ID for the bean. |
parent | rdf.interceptor.xpath.abstract | The parent bean. |
The XPathInterceptor bean takes the following properties:
Property | Type | Mandatory | Description |
---|---|---|---|
xmlSchemaFilter | XmlSchemaFilter | Required | A filter for which the bean applies. |
xpathQueries | Map <QName,String> | Required | Map defining the XPath expressions to used for each predicate. Use a fully-qualified name with Clark notation as the key of the entry. |
<bean id="samples.interceptor.troubleshooting.xpath" parent="rdf.interceptor.xpath.abstract"> <property name="xmlSchemaFilter" ref="samples.dtd.troubleshooting" /> <property name="xpathQueries"> <map> <entry key="{http://www.componize.com/model/samples/troubleshooting/1.0/}shortdesc" value="/tsTroubleshooting/abstract/shortdesc" /> </map> </property> </bean>
To debug your XPathInterceptor, add the following entry to your
log4j.properties
file:
log4j.logger.com.componize.alfresco.repo.node.DefaultPropertyManager=debug