Re: [MarkLogic Dev General] Schema validation - Retrieving all errors at once

2012-09-17 Thread Gnanaprakash.Bodireddy
...@marklogic.com] Sent: Monday, September 17, 2012 8:49 PM To: general@developer.marklogic.com; Bodireddy, Gnanaprakash (Cognizant) Subject: Re: [MarkLogic Dev General] Schema validation - Retrieving all errors at once On Mon, 17 Sep 2012 02:15:04 -0700, gnanaprakash.bodire...@cognizant.com

Re: [MarkLogic Dev General] Schema validation - Retrieving all errors at once

2012-09-17 Thread Mary Holstege
On Mon, 17 Sep 2012 02:15:04 -0700, gnanaprakash.bodire...@cognizant.com wrote: > Hi > > I am validating the XML’s using the schema I stored in the schema > database. > > Validation works fine. But, I am getting only one error when xml is not > valid. > > Currently I am looping through all

[MarkLogic Dev General] Schema validation - Retrieving all errors at once

2012-09-17 Thread Gnanaprakash.Bodireddy
Hi I am validating the XML's using the schema I stored in the schema database. Validation works fine. But, I am getting only one error when xml is not valid. Currently I am looping through all nodes of an XML and validating them with the XSD which is giving me all errors. But this takes more ti