ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject RE: Not very useful error message
Date Wed, 24 May 2006 21:12:48 GMT

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>


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 < n.beekman@wis.nl > 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

View raw message