I have two RelaxNG file (fileA.rnc and fileB.rnc) within the Database. fileA.rnc is the main schema which has included fileB.rnc with syntax:
include "fileB.rnc"
I want to validate my XML input with fileA.rnc schema at the time of ingestion with the function validate:rng-report()
. But, it seems that the Basex 8.6.4 is unable to resolve the include schema.
It gives me error:
[bxerr:BXVA0001] Validation failed: Resource "C:\Users\NAVIN~1.RAW\AppData\Local\Temp\fileB.rnc (The system cannot find the file specified)" not found.
It is looking included rnc in local drive instead of db. Is this a bug? Or, I am doing anything wrong.
Please have a look and share your inputs.