metadata-qa-api
metadata-qa-api copied to clipboard
The schema's namespace definition is not picked up
In order to apply the namespaces defined in the schema you have to add an extra line before starting the process:
XPathWrapper.setXpathEngine(schema.getNamespaces());
This is not documented, and not elegant. The process should read and register namespaces automatically.