classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-xml] Strange exception when running checkstyle


From: David Brownell
Subject: Re: [Classpathx-xml] Strange exception when running checkstyle
Date: Tue, 28 Dec 2004 17:25:44 -0800
User-agent: KMail/1.7.1

On Tuesday 28 December 2004 2:04 pm, Michael Koch wrote:
> Am Dienstag, 28. Dezember 2004 01:43 schrieb David Brownell:
> > The correct fix is to the application software which didn't
> > provide a base URI when building an InputSource.  That'd be
> > some puppycrawl config loader code, I'd guess.
> 
> The patch Mark posted earlier works great for me. What do you think 
> when we just apply it ?

I think the two bugs in that puppycrawl code should get
fixed.  Then there will be no problems at all.

 -  It's completely bogus to turn arbitrary warnings
    into fatal errors as a default policy.

 -  And it's equally bogus to call an XML parser with
    borked inputs, expecting it guess correctly about
    the base URI to use when resolving.

The problem with not emitting warnings in case of borked
inputs is that otherwise consequent problems get extremely
tough to find.  Folk have literally spent months trying
to track down the root causes here, since by the time the
problems pops up, URI mis-resolution is ancient history.
(You may "know" how it's supposed to resolve, and ensure
the file is there...)

- Dave







reply via email to

[Prev in Thread] Current Thread [Next in Thread]