Hi all, I am trying to validate an incoming xml post message against an xsd stored inside the basex. But I am getting this error [FODC0002] Resource 'sampledb/xsd/match.xsd' does not exist. I am sure the path is correct and the xsd file exists there. May I know where I am going wrong?
try { let $doc := |<simple:||root| |xmlns:simple=||'http://basex.org/simple%27%7C%7C/%3E%7C return validate:xsd($doc,'sampledb/xsd/match.xsd')
} catch BXVA0001 { 'Validation failed.' }
Thanks in advance.