Another avenue ... Is mclp a requirement or an artifact ? You might consider xmlsh with the marklogic extensions http://www.xmlsh.org/ModuleMarkLogic
You can validate documents against xsd/dtd/rng in a pipeline before they are sent to ML ----------------------------------------------------------------------------- David Lee Lead Engineer MarkLogic Corporation [email protected] Phone: +1 812-482-5224 Cell: +1 812-630-7622 www.marklogic.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Blakeley Sent: Monday, November 12, 2012 1:24 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Content Pump and Schema validation I don't see anything relevant at http://docs.marklogic.com/guide/ingestion/content-pump - but mlcp is designed to work with hadoop. Possibly you could validate the XML in hadoop tasks? Also mlcp is open-source, so you could always patch it to do what you want. RecordLoader would do this using a CONTENT_MODULE_URI written in XQuery, and invoked via XCC or HTTP requests. See http://marklogic.github.com/recordloader/ for details. Since we know from your other email that you are thinking of using CPF, you might also consider using the CPF validation pipeline. -- Mike On 12 Nov 2012, at 01:39 , sini narayanan <[email protected]> wrote: > Hi, > > I have a requirement where I need to use content pump to load the files into > the MarkLogic DB. While loading contents, I need to make sure that the input > xml file conforms to the schema. Is it possible to perform a strict schema > validation on the xml files, while inserting them through content pump? > > Please help... > > > > Thanks, > > Sini > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
