I was wondering the same thing, actually. I bet there's not much hope outside of traversing the model directly so you know where the validation failures occur.
Look forward to hearing the responses. Ed On 3/3/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: > When i validate my XmlObject, i get a cryptic message as in: error: > cvc-maxLength-valid.1.1: string length (string) is greater than maxLength > facet (9) for '2' > > How do i get more information, as in, the specific element which is invalid > so i can tell the user that: "hey, the: 'userName' element is too big" > > when i try to use the other methods on the XmlError type i get: > error.getMessage()= error: cvc-maxLength-valid.1.1: string length (string) > is greater than maxLength facet (9) for '2' > error.getSourceName()= null > error.getCursorLocation().xmlText()= <xml-fragment xmlns=""/> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

