Hi Peter,

The annotating validator is only used during XForms validation at this
time. Your use case is certainly valid and you should be able to use
the validation processor in a stand alone mode. I added a new bug to
our tracking system, and I will send you a patch as soon as it is
ready. You can track the progress by going the following URL:

http://athlon.orbeon.com/webtools/bugzilla/show_bug.cgi?id=1231

Regards,
Julien

Peter Charles wrote:

Julien,

Can you please explain the second version (annotating) of validation for
me, specifically how it is invoked. Is it only invoked when a an
xforms:submit is called?


I would like to accept data from an xform, strip out a group of elements
and then validate them against a schema, I would like to use the
validation method that inserts annotated data back into the xform
document.


You can image that the original xform is made up of several different
instance documents and generated dynamically. For instance the page
contains both data for a credit card and a billing address.  I have both
a creditCard.xsd and an address.xsd  I would like to validate each part
against its individual schema.  I would like to have the xform annotated
as that way I can pass element level failure info back to the user.

Is this possible using the annotating validation method?

Thanks

peter


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to