开发者

PL/SQL - XML Validation errors

开发者 https://www.devze.com 2022-12-16 08:52 出处:网络
I am validating an XML document against a schema. So far, all is going well, but there are some significant differences between the generated document and the schema (hence the validation). I\'ve noti

I am validating an XML document against a schema. So far, all is going well, but there are some significant differences between the generated document and the schema (hence the validation). I've noticed that Oracle will stop validating after the firs开发者_JAVA技巧t error is encountered. I'd like to be able to compile a list of errors and take them to the developers of the schema, but so far it looks like I can only get the next error if I resolve the current one - some of them I can't resolve on my own, but need to discuss with the other developers first.

Is there a way to get Oracle to print all validation errors?

UPDATE

I was working in Oracle 10g, but I have been told that Oracle 11 can return a list of validation errors.


Most XML validators stop after the first failure. I think Oracle's is the same way.

0

精彩评论

暂无评论...
验证码 换一张
取 消