Thanks Julien
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Mercay Sent: Tuesday, July 29, 2003 8:49 AM To: oxf-users Subject: RE: Validation Hi Peter, Thanks for the JARV reference. We use the native API of MSV, and I will investigate if it behaves like the JARV interface as soon as time permits. I can see the benefit of generated schema, and we will consider that feature for the next release. I'll keep you posted on any development in this area. Regards, Julien --- Peter Charles <[EMAIL PROTECTED]> wrote: > Hi Julien, > > Interesting, I did not realize that you used Jing for RelaxNG. > Basically what we are trying to accomplish is supported by (we think) > Jing See http://www.xmlhack.com/read.php?item=1675 unfortunately we > have done a lot of modeling in W3C Schema... > > However, we could get an approximation of "progressive/feasible > validation" if we could get the MSV to report errors on all elements. > We would ignore all elements that reported errors which were not > included in the specific input were validating. > > What I saw in the MSV documentation that led me to think we could do > this is at the end of part 4-1 of the MSV documentation (JARV.html) it > says > > " If you throw an exception from the error handler, that exception will > not be catched by the verify method. So the validation is effectively > aborted there. If you return from the error handler > normally, then MSV will try to recover from the error and find as much > errors as possible." > > I took this to mean that MSV could be configured > (through error handling) to catch multiple errors, but I have not > had the time to actually try it. > > > OPPS, I wrote schematron-validation and I meant the > just validation, sorry :) > > As for creating schemas on the fly, this could be > useful if the partial validation approaches above fail, or are not > powerful enough. If we could validate against a generated schema, we could > run a transformation against the master schema picking out only the > elements that need to be validated and use this as the input to schema input > to validation. Though this seems like a much harder approach, I can > see how it might be useful. > > I would imagine that if you allowed annotated > validation to be accessed in the same way you do pass/fail validation, the > ability to use generated schemas would be a freebee. > > Let me know if you read the MSV doc the same way I do. > > Thanks, > > Peter > _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
