metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

The schema's namespace definition is not picked up

Open pkiraly opened this issue 2 years ago • 0 comments

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.

pkiraly avatar Nov 23 '23 13:11 pkiraly