Thanks Stephen,

You are right, I'm using a different JVM, I'm trying to make things work in
my WSAD IDE and it uses IBM stuff. Here is the whole story, if anybody
working in Eclipse or WSAD has any suggestions.


What I'm trying to do is copy the code in CLI to another class and run some
components from my within my Eclipse IDE. Works fine except that it can't
find the http://avalon.apache.org/dtds/meta/type_1_1.dtd and gives the
exception specified in my previous post.

So if I comment out the DOCTYPE tag in the .xinfo it works fine and Merlin
loads up my HelloComponent.

Then I tried to run the component from the jar file. And again the .xinfo
contained in the jar file doesn't has DOCTYPE tag commented out.

But it keeps on giving me the exceptions that it can't find the dtd.

And everything with or without jar is working with the CLI 3.2.4 outside my
IDE.

I looked into the merlin-cli-3.2.4.jar and it has the commons cli,
Excalibur, Avalon-repositories and other packages in it also.

Why is that ?

Those are separate packages and so why have they been packaged into the CLI
jar.

I copied the CLI Main class into the IDE also and it works exactly the same
as the other class which has code copied from CLI i.e loads components from
classes directory but not from the jar. And works from classes dir only if I
comment out the DOCTYPE tag in .xinfo file.

So I'm using some package which is by default looking for the dtd. Which
package is that, I have no clue abt.

And why I'm trying to run the CLI or the copied code, cause people here want
to know what's going on in CLI and I also have to add code to access
components from non-components.  


Vikas




-----Original Message-----
From: Stephen McConnell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 6:10 AM
To: Avalon framework users
Subject: Re: Avalon dtd not found

Vikas Phonsa wrote:

> Hi Everybody,
> 
> I was running a simple example using merlin and go the following
exception.
> This dtd is being used in the .xinfo files.
> 
> Could someone point out what's going on here. What is the new URL ? cause
> this was working perfect not very long ago.


The dtds directory seems to have been lost in the last big site update. 
  I've just added this back so the documents should be on-line in a few 
hours.  As to why this is happening now - I don't know - perhaps you 
have changed the jvm and its using a different parser or defaulting to 
validating parsing?

Anyway - hope this fixes things.

Cheers, Steve.

-- 

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to