[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: XmlObject.Validate ? how to use?
From:       Illana Foye <Illana_Foye () lbss ! com>
Date:       2004-05-24 7:16:02
Message-ID: 2CF1A2BFC965494C848551F8930C0ACD281B03 () LBSSMAIL ! lbss ! co ! za
[Download RAW message or body]

[In response to Babu's email sent 21 May 2004]

Have a look at the java doc on validate - it shows an example using
XmlOptions and an Error Listener.

http://xml.apache.org/xmlbeans/docs/reference/org/apache/xmlbeans/XmlObject.
html#validate()

Hope this helps

-----Original Message-----
From: Jayaraman, Babu [mailto:babu.jayaraman@qwest.com] 
Sent: 21 May 2004 01:16 AM
To: xmlbeans-dev@xml.apache.org
Subject: XmlObject.Validate ? how to use?

Hello,
    Does anyone know how to use validate function on XMLObject? It just
returns true/false, but if I want to capture the reason for failing the
validation it would be really useful.

Thanks,
-Babu

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic