itplr-kosit / validator

Validates XML documents with XML Schema and Schematron
Apache License 2.0
80 stars 42 forks source link

ResolvingMode/ResolvingStrategy change not possible #138

Closed appldev closed 1 month ago

appldev commented 1 month ago

In Configuration the Mode/Strategy can be changed with setResolvingMode/Strategy. However, in DefaultCheck constructor, SchemaProvider.getReportInputSchema is called and here, ResolvingMode.STRICT_RELATIVE is hardcoded. The reportInputSchemaobject is only set in this method.

Or maybe I overlooked some configuration ...

appldev commented 1 month ago

Nevermind, I had the wrong javax.xml.validation.SchemaFactory configured for my project.