25 Jun
2012
25 Jun
'12
10:07 a.m.
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'||/>| return validate:xsd($doc,'sampledb/xsd/match.xsd') } catch BXVA0001 { 'Validation failed.' } Thanks in advance.