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
