Re: Attribute validation Error

2009-08-24 Thread Michael Glavassevich
ovider interface. > > Any code sample will help me a lot if you or anybody can provide. > > Regards > AB > > --- On Sat, 8/22/09, Mukul Gandhi wrote: > > > From: Mukul Gandhi > > Subject: Re: Attribute validation Error > > To: j-users@xerces.apache.org >

Re: Attribute validation Error

2009-08-22 Thread ajay bhadauria
object with PSVIProvider interface. Any code sample will help me a lot if you or anybody can provide. Regards AB --- On Sat, 8/22/09, Mukul Gandhi wrote: > From: Mukul Gandhi > Subject: Re: Attribute validation Error > To: j-users@xerces.apache.org > Date: Saturday, August

Re: Attribute validation Error

2009-08-21 Thread Mukul Gandhi
Hi Ajay Did you think about, Michael's reply? I think, he already answered your question. It seems, that you are using the JAXP class "Validator" to validate the XML document, and probably have set an error handler in the validation process. I think, you can retrieve the error message only thr

Re: Attribute validation Error

2009-08-21 Thread ajay bhadauria
ement Node, text node, attribute Node etc.) which is in error other than error message. I am using DOM document. If anybody knows please reply asap whether it is possible or not ? AB --- On Fri, 8/21/09, ajay bhadauria wrote: > From: ajay bhadauria > Subject: Re: Attribute validation Err

Re: Attribute validation Error

2009-08-21 Thread Michael Glavassevich
Hi Ajay, There's no such property, however if you're using the PSVI DOM [1] you can walk the tree and find where the errors are located by querying the ItemPSVI [2] of each element and attribute node. Thanks. [1] http://xerces.apache.org/xerces2-j/faq-dom.html#faq-8 [2] http://xerces.apache.org/

Re: Attribute validation Error

2009-08-21 Thread ajay bhadauria
Hi, When Xml validation fails against Schema for attribute node. Is there any way I can get the node which is in error. Validator Error message tells that it is attrinute or element node etc ... I wanted to know that is there any property or API by which I know that the errored Node is elemen