Hello,

You could do something like this:

    # find src/xml -name "*.xml" | xargs xmllint > /dev/null

xmllint would then write any errors, including the full path and file
name, to non-redirected stderr.

If you wanted the errors to go to a file:

    # find src/xml -name "*.xml" | xargs xmllint > /dev/null 2>
xml_errors.txt   

Cheers,
Chris

On Wed, 2006-05-24 at 16:42 -0400, rs wrote:
> 
> The problem is that one may have to *manually* open and look through 100+ 
> mapping files to find the one(s) with error(s). Not a lot of fun. Keep in 
> mind that an erroneous change may have been done by someone else.
> 
>  --- On Wed 05/24, Niels Beekman < [EMAIL PROTECTED] > wrote:
> It would indeed be nice if iBATIS told you the file to look in, but this is 
> just an XML validation error and should be easy to spot if you use a decent 
> editor with DTD-validation
> 
> 
> 
> 
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way  your home on the Web - http://www.myway.com
> 

Reply via email to