On 2/8/07, Adam Lally <[EMAIL PROTECTED]> wrote:

On 2/7/07, Lev Kozakov <[EMAIL PROTECTED]> wrote:
> This exception is never thrown in our test cases, because we don't use
URLs
> containing wrong descriptor XML files. We encountered this problem in
the
> OSGi context, and I decided to fix it in all releases of the code.
>

Can we add a test case for this?

-Adam


I'm not quite sure that we need a special test case for this particular
problem. The bug was introduced long time ago when I added support for
descriptor URLs and overlooked several occurrences of the old code. We
already have ComponentCategoryTest, which uses 5 XML descriptor samples. If
you believe, additional test case is necessary, we can add one 'incorrect'
XML descriptor case to existing 5 cases.

-- Lev

Reply via email to