I recently ran into some issues validating a no-namespace document. The schema 
was updated, which should have caused the document to fail validation, but it 
didn't. I have been using xdmp:expanded-tree-cache-clear() following schema 
updates, but neither that nor a server restart had any affect.

After doing some more testing, I discovered that dereferencing it before 
validation works:

validate strict { document { doc($uri) }/* } 

And if I namespace the document and schema, everything works as expected as 
well. Bug, or am I missing something? This is on 7.0-4.1.

-Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to