Project

Profile

Help

Support #5979

closed

Java 11 || Saxon9.9 EE || XmlCatalogResolver.setCatalog(catalogFile, processor.getUnderlyingConfiguration(), true) not working as expected like cmd line validation

Added by Kumaran AG over 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-04-19
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Java

Description

Hi,

We are working on the setup of validating the xml, dita, ditamap using saxon EE

XmlCatalogResolver.setCatalog(catalogFile, processor.getUnderlyingConfiguration(), true);

the above line is used to resolve the catalog files, but it's able to resolve URI partially because of that validation throws error "One validation error was reported: Cannot validate <Q{}topic>: no element declaration available" "Validation will continue without the schema at urn:test.dita.v1_3.com:dita:xsd:topic.xsd"

topic.xsd file is present in catalog file but this is not getting resolved.

Note: xml resolver 1.2 is added in our POM file

Please help us to get moving from this issue.

Please register to edit this issue

Also available in: Atom PDF