Hmm... Not sure what you're trying to do... You're getting an XML string
in your Action and using JAXB to build some objects from it? I haven't
worked with JAXB since I looked at it and determined it didn't meet my
needs, but I assume it has some kind of error reporting interface? You
just need an adapter which can translate its errors into error messages
which can go into a ValidationContext... 

If you have some more specific questions, let me know...

> -----Original Message-----
> From: Adam Sherman [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 27, 2003 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Custom Validation (WW2)
> 
> 
> Good Morning,
> 
> I am using the Java API for XML Binding (JAXB) to create 
> beans from XML 
> Schema. (This works very well, BTW) One of the features of JAXB is 
> validation against the Schema that was used to generate the 
> beans in the 
> first place.
> 
> The architecture is simple: you validate the object tree and get a 
> collection of objects representing the errors.
> 
> My question is this: how would I integrate this validation 
> into the WW/XW 
> validation framework in an efficient fashion?
> 
> Thank you for your comments,
> 
> A.
> 
> -- 
> Adam Sherman
> Tritus CG Inc
> +1 (613) 797-6819
> http://www.tritus.ca/
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation 
> Program. Do you like what SourceForge.net is doing for the 
> Open Source Community?  Make a contribution, and help us add 
> new features and functionality. Click here: 
> http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to