You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sean <ja...@wideasleep.com> on 2001/08/24 15:51:33 UTC

Re[2]: Digester Help PLEASE

Oleg,

The problem is that none of the rules are being fired at all, no objects are
getting created, nothing at all.  The patterns match what is in the file,
the file is valid, I should see some Factory objects get created, some
PatternSet objects get created, and a whole bunch of sets etc happen but
nothing is happening at all ... no a single object is getting consucted.  I
have placed print statements in the constructors and nothing, nada ...  That
is what is wrong ... It's like the digester is parsing the file but for some
weird reason it doesn't see any matches to my rules I added to the Digester.

Any ideas?

Sean


Re[3]: Digester Help PLEASE

Posted by Oleg V Alexeev <oa...@apache.org>.
Hello Sean,

Friday, August 24, 2001, 5:51:33 PM, you wrote:

S> Oleg,

S> The problem is that none of the rules are being fired at all, no objects are
S> getting created, nothing at all.  The patterns match what is in the file,
S> the file is valid, I should see some Factory objects get created, some
S> PatternSet objects get created, and a whole bunch of sets etc happen but
S> nothing is happening at all ... no a single object is getting consucted.  I
S> have placed print statements in the constructors and nothing, nada ...  That
S> is what is wrong ... It's like the digester is parsing the file but for some
S> weird reason it doesn't see any matches to my rules I added to the Digester.

What version of Digester are you use?

-- 
Best regards,
 Oleg                            mailto:oalexeev@apache.org



Re: Re[2]: Digester Help PLEASE

Posted by Richard Reich <ri...@reich.com>.
Sean,

If it means anything to you, I had a working use of Digester (for months)
that suddenly failed when I upgraded to a recent (sorry, don't recall which)
post-1.0 nightly binary release.  My app suddenly failed.  As best I could
determine, none of the rules were firing.

I did not have the time to figure this out, so I reverted to 1.0.  Worked
again.  (I had to make a couple of "import" changes going both ways because
of the move to Commons, but no other changes were made to code.)

Good luck.

-r

----- Original Message -----
From: "Sean" <ja...@wideasleep.com>
To: "Struts Users" <st...@jakarta.apache.org>
Sent: Friday, August 24, 2001 6:51 AM
Subject: Re[2]: Digester Help PLEASE


> Oleg,
>
> The problem is that none of the rules are being fired at all, no objects
are
> getting created, nothing at all.  The patterns match what is in the file,
> the file is valid, I should see some Factory objects get created, some
> PatternSet objects get created, and a whole bunch of sets etc happen but
> nothing is happening at all ... no a single object is getting consucted.
I
> have placed print statements in the constructors and nothing, nada ...
That
> is what is wrong ... It's like the digester is parsing the file but for
some
> weird reason it doesn't see any matches to my rules I added to the
Digester.
>
> Any ideas?
>
> Sean
>