RE: Digester does not like ''

2003-12-11 Thread Robert Taylor
Try amp; -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:51 AM To: Struts Users Mailing List Subject: Digester does not like '' Hi, We are using the Digester which comes with the Struts 1.1 for reading xml files. The

RE: Digester does not like ''

2003-12-11 Thread Chiming Huang
Thank you for quick response. It works. Is there a handy class or method that will do the encoding? Thanks again, Chiming Robert Taylor [EMAIL PROTECTED] wrote: Try -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:51 AM To:

Re: Digester does not like ''

2003-12-11 Thread Martin Gainty
check out http://www.xml.com/pub/a/2001/01/31/qanda.html Regards, Martin - Original Message - From: Robert Taylor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:54 AM Subject: RE: Digester does not like '' Try amp

Re: Digester does not like ''

2003-12-11 Thread Christian Bollmeyer
: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:54 AM To: Struts Users Mailing List Subject: RE: Digester does not like '' Try amp; -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:51 AM To: Struts Users

RE: Digester does not like ''

2003-12-11 Thread Andy Schmidgall
Message- From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 11:35 AM To: Struts Users Mailing List Subject: Re: Digester does not like '' amp; is the character entity for the ampersand sign ''. -- Chris NB. This is so basic that you absolutely should

RE: Digester does not like ''

2003-12-11 Thread Mainguy, Mike
it, to apply it; not having it, to confess your ignorance. -Original Message- From: Andy Schmidgall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:44 PM To: Struts Users Mailing List Subject: RE: Digester does not like '' Well, I know amp; is the character entity

RE: Digester does not like ''

2003-12-11 Thread Mike Jasnowski
Schmidgall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:44 PM To: Struts Users Mailing List Subject: RE: Digester does not like '' Well, I know amp; is the character entity for , but I'm just not clear on why amp; works in this case... Is it simply because '' is flagged

RE: Digester does not like ''

2003-12-11 Thread Mike Jasnowski
or at least not treat it like markup characters -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:19 PM To: Struts Users Mailing List Subject: RE: Digester does not like '' because the XML parser will expand entity references when

Re: Digester issue

2003-08-14 Thread Raj Atchutuni
I am using Struts w/ WSAD 5.0 for development. At the start up of the home page on Orion on Unix (after deployment) i see enormous (could be Digester messages) debug statements,on the console, which causing 5-10 mins delay in displaying the page. I dont see this problem when i am running the

Re: Digester errors in struts example

2003-06-12 Thread Vijay Pawar
Hi, I am using tomcat 4.1.18 on windows 2000 I have recently added a new webapp (struts-example-2002-06-11.war) to my webapps directory. I downloaded this struts example from : http://bobcat.webappcabaret.net/ninsky/struts-examples-2002-06-11.war Now when i restarted tomcat, there are

RE: Digester errors in struts example

2003-06-12 Thread Steve Raeburn
Look in the logs subdirectory of your Tomcat installation. I've just checked and the app does load OK on my installation (Tomcat 4.1.24) Let me know if you continue to have problems. Steve -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 1:53 AM To:

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
I installed 4.1.18 and deployed the war with no problems. From the look of your error log I think that the validator is trying to do a network lookup for its DTD. This was mentioned on the list in the last day or so, but I didn't pay much attention at the time. I thought it had been resolved so

RE: Digester error in struts example application

2003-06-12 Thread Vijay Pawar
Hello Steve, As you have correctly guessed, my machine is not connected to the internet all the time. Is it not possbile to store the dtd on the local machine. what is the need to access it via the internet. Suppose i copy the dtd from the url then where should i store it on the local machine

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
OK, if I disconnect the network connection then I get the same problems. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 3:10 AM To: Struts Users Mailing List Subject: RE: Digester error in struts example application I installed 4.1.18

RE: Digester error in struts example application

2003-06-12 Thread Steve Raeburn
: RE: Digester error in struts example application Hello Steve, As you have correctly guessed, my machine is not connected to the internet all the time. Is it not possbile to store the dtd on the local machine. what is the need to access it via the internet. Suppose i copy the dtd from the url

RE: Digester error in struts example application

2003-06-12 Thread Hariharan
4:08 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Digester error in struts example application Hello Steve, As you have correctly guessed, my machine is not connected to the internet all the time. Is it not possbile to store the dtd on the local machine. what is the need

Re: Digester Best Practice

2003-03-25 Thread Jeff Caddel
Ahhh. Ok. So something inside InputSource retains a reference to the base uri which keeps the parser happy. Makes perfect sense. We use xml includes a lot for our internal config files so knowing about this is a big time saver. Using the second form, with an InputSource, lets Struts say

RE: Digester Error - Hey Robert!

2003-03-25 Thread Robert Taylor
Glad it helped. robert -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:53 PM To: 'Struts Users Mailing List' Subject: RE: Digester Error - Hey Robert! You were 100 percent on target, my man! It took me all day and 2000 lines

RE: Digester Error

2003-03-24 Thread Robert Taylor
I've seen this when a property is defined under the same name twice within a form-bean element. Not sure that really offers any insight to the problem other than I have seen it happen before. robert -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Digester Best Practice

2003-03-24 Thread Craig R. McClanahan
On Fri, 21 Mar 2003, Jeff Caddel wrote: Date: Fri, 21 Mar 2003 05:38:54 -0700 From: Jeff Caddel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Digester Best Practice Any reasons for one of these approaches

RE: Digester Error - Hey Robert!

2003-03-24 Thread Mark Galbreath
Users Mailing List Subject: RE: Digester Error I've seen this when a property is defined under the same name twice within a form-bean element. Not sure that really offers any insight to the problem other than I have seen it happen before. robert -Original Message- From: Mark Galbreath

Re: Digester Subtlety

2003-03-21 Thread Jeff Caddel
Apologies for the duplicate msg. I got a somewhat cryptic reply that the orginal had bounced, presumably because it had xxx in the xml doctype area. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Digester getting recursive tag types.

2003-01-19 Thread Simon Kelly
If you're looking at 1.1, the Digester instance is created in the initConfigDigester() method of ActionServlet, which delegates to the ConfigRuleSet class (in org.apache.struts.config) to add all of the detailed rules. Sweet. Thanks. Could you imagine the programming required to scan

Re: Digester getting recursive tag types.

2003-01-17 Thread Simon Kelly
Check out the way Struts 1.1 builds a ModuleConfig tree, and extracts it out, for ideas on how to handle this. Is there anywhere I can view this without having to download the source? I'm drastically out of disk space, and wont be able to get rid of anything for a week at least. Cheers Simon

Re: Digester getting recursive tag types.

2003-01-17 Thread Simon Kelly
] Sent: Thursday, January 16, 2003 7:01 PM Subject: Re: Digester getting recursive tag types. On Thu, 16 Jan 2003, Simon Kelly wrote: Date: Thu, 16 Jan 2003 14:52:11 +0100 From: Simon Kelly [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing

Re: Digester getting recursive tag types.

2003-01-17 Thread Craig R. McClanahan
On Fri, 17 Jan 2003, Simon Kelly wrote: Date: Fri, 17 Jan 2003 15:11:42 +0100 From: Simon Kelly [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Digester getting recursive tag types. I'm having a dig thru

Re: Digester getting recursive tag types.

2003-01-16 Thread Craig R. McClanahan
On Thu, 16 Jan 2003, Simon Kelly wrote: Date: Thu, 16 Jan 2003 14:52:11 +0100 From: Simon Kelly [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Digester getting recursive tag types. Hi all, I am trying to

Re: [Digester] Version?

2002-10-22 Thread Craig R. McClanahan
On Tue, 22 Oct 2002, Andrew Hill wrote: Date: Tue, 22 Oct 2002 21:07:30 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [Digester] Version? Which version of

RE: Digester finding file, parsing, not outputting any debugging info

2002-07-26 Thread Nelson, Laird
-Original Message- From: Nelson, Laird [mailto:[EMAIL PROTECTED]] My mistake; I'm using struts 1.0.2 and its copy of Digester. Solved the problem (of course; which is why I usually post to this list; the minute the email goes out I find the answer...). I had a file like: a

RE: Digester finding file, parsing, not outputting any debugging info

2002-07-26 Thread Nelson, Laird
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Are you using recent nightlies of Digester? They use commons-logging for debug output instead of the old System.out stuff now. My mistake; I'm using struts 1.0.2 and its copy of Digester. Cheers, Laird -- To

RE: Digester?

2002-07-02 Thread Michael Marrotte
. --Michael Marrotte -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 1:03 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Digester? Digester, and all the other commons packages, are developed on the COMMONS-DEV mailing

RE: Digester?

2002-07-01 Thread Craig R. McClanahan
: Date: Sun, 30 Jun 2002 22:25:05 -0400 From: Michael Marrotte [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Digester? I'd like to get in contact with people involved with the Commons

RE: Digester?

2002-06-30 Thread Michael Marrotte
) for developers, please let me know. Any help is greatly appreciated. --Michael Marrotte -Original Message- From: Michael Marrotte [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 10:32 AM To: Struts Users Mailing List Subject: RE: Digester? And I try setting paramcount to zero... Also

Re: Digester rule(s) to reference outer tags

2002-06-12 Thread Craig R. McClanahan
On Tue, 11 Jun 2002, Struts Newsgroup wrote: Date: Tue, 11 Jun 2002 03:10:02 -0700 From: Struts Newsgroup [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Digester rule(s) to reference outer tags Subject: Digester rule(s) to

Re: Digester/SAX parse error problem

2002-05-17 Thread Andreas Mack
On Thu, 2002-05-16 at 17:28, Wojtek Rappak wrote: Hi, I tried to use the struts-example application as a simple template and made a few simple changes to the struts-config.xml and web.xml files. These parse OK in my XML editors. However, when I deploy the application I get a 'content not

RE: Digester/SAX parse error problem

2002-05-16 Thread James Mitchell
I got that one time when I was passing the wrong static final constant config filename to a home grown OR mapping tool. I was passing the app resources filename when it was expecting an xml file. Not sure if that helpsoh well! JM -Original Message- From: Wojtek Rappak

RE: Digester/SAX parse error problem

2002-05-16 Thread Kevin . Bedell
PROTECTED] cc:(bcc: Kevin Bedell/Systems/USHO/SunLife) Subject: RE: Digester/SAX parse error problem I got that one time when I was passing the wrong static final constant config filename to a home grown OR mapping tool. I was passing the app resources filename when it was expecting an xml

Re: Digester, which files does it need?

2002-05-15 Thread Raffy_Lata
Check your struts-config.xml and web.xml and make sure they are well-formed. Use IE or anything that will tell you if your xml files are ok or not. Struts Newsgroup (@Basebeans.com) struts on 05/15/2002 10:55:01 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

Re: Digester Question

2002-03-05 Thread Craig Tataryn
Anyone? /tataryn:craig From: Craig Tataryn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Digester Question Date: Mon, 04 Mar 2002 14:19:07 -0600 I realize that the digester is now part of commons, but I figure there is probably a lot of

Re: Digester Question

2002-03-05 Thread Steve A Drake
On Mon, 4 Mar 2002, Craig Tataryn wrote: I realize that the digester is now part of commons, but I figure there is probably a lot of expertise here since it grew up in Struts. I was wondering if someone could help me figure out the easiest way to do this: I have an xml document, that holds

Re: Digester and inheritance

2002-03-04 Thread Stacy Weng
the beaninfo is all in the parent class - Component... --Stacy - Original Message - From: dIon Gillard To: Struts Users Mailing List Sent: Saturday, March 02, 2002 8:06 PM Subject: Re: Digester and inheritance Stacy Weng wrote: I have a parent class called Component

Re: Digester and inheritance

2002-03-02 Thread dIon Gillard
Stacy Weng wrote: I have a parent class called Component, and several child classes extending from it. All the common get/set methods are defined in Component. So, after each child is getting created from addObjectCreate() method, I call addSetProperties() method to initialize their values

Re: Digester and inheritance

2002-03-01 Thread Fernando Esteban Barril Otero
I'm using digester and inheritance without problems. What kind of exception are you getting? Fernando - Original Message - From: Stacy Weng [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 01, 2002 1:20 PM Subject: Digester and inheritance Has

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
know to look its parent class, Component. I hope I'm able to get my problem across. Thanks again for taking the time to respond. --Stacy - Original Message - From: Fernando Esteban Barril Otero To: Struts Users Mailing List Sent: Friday, March 01, 2002 1:48 PM Subject: Re

RE: Digester and inheritance

2002-03-01 Thread Galbreath, Mark
To: Struts Users Mailing List Sent: Friday, March 01, 2002 1:48 PM Subject: Re: Digester and inheritance I'm using digester and inheritance without problems. What kind of exception are you getting? Fernando - Original Message - From: Stacy Weng [EMAIL PROTECTED] To: Struts

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
appreciate it. - Original Message - From: Galbreath, Mark To: 'Struts Users Mailing List' Sent: Friday, March 01, 2002 2:40 PM Subject: RE: Digester and inheritance You are misusing inheritance. Instead of extending Component, give HelperClass (was ChildClass) a private field

Re: Digester and inheritance

2002-03-01 Thread Fernando Esteban Barril Otero
- From: Stacy Weng [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 01, 2002 5:12 PM Subject: Re: Digester and inheritance Wouldn't that be a has-a relationship? If I do that, than I would end up with this (since originally I have many child classes extending

RE: Digester and inheritance

2002-03-01 Thread Galbreath, Mark
to the relationships between your classes; I am merely suggesting a refactoring of your code. Mark -Original Message- From: Stacy Weng [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 3:13 PM To: Struts Users Mailing List Subject: Re: Digester and inheritance Wouldn't that be a has

Re: Digester and inheritance

2002-03-01 Thread Stacy Weng
Users Mailing List' Sent: Friday, March 01, 2002 12:45 PM Subject: RE: Digester and inheritance It appears from your listings and descriptions that Component is basically a JavaBean and your helper classes should have has a relationships with it, not is a. Essentially, what I am

Re: Digester Examples

2002-01-13 Thread Sandeep Takhar
the sample application has most of what is necessary. I do remember having problems with the digester when I was doing my own poc however and that was after understanding the example app and reading the docs. I think the example app is part of the source download for struts 1.0 Sandeep ---

Re: Digester Examples

2002-01-13 Thread Ted Husted
The Digester is now a Commons component. http://jakarta.apache.org/commons/digester.html Phase Communcations wrote: Does anyone know of some good concise digester examples and tutorials. I have been reading the docs but am unsure of several aspects of it. Brandon Goodin Phase Web and

RE: Digester Util how to write to a xml file.

2001-11-30 Thread Lou Farho
The example updates the XML file so there must be code for you to browse. Lou Farho Certes Solutions, Inc. 2485 W MAIN ST SUITE 205 Littleton, CO 80120 303.798.8079 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Digester content with elements

2001-11-02 Thread Bob Byron
Hmmm Is this too easy or too hard of a question to be answered? Bob - Original Message - From: Bob Byron [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 01, 2001 3:16 PM Subject: Digester content with elements I was wondering how to

Re: Digester content with elements

2001-11-02 Thread Scott Atwell
Could you not use a DOM parser, e.g. xerces, to do this? Regards, Scott - Original Message - From: Bob Byron [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 02, 2001 3:46 PM Subject: Re: Digester content with elements Hmmm Is this too

Re: Digester content with elements

2001-11-02 Thread Sandeep Takhar
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 02, 2001 3:46 PM Subject: Re: Digester content with elements Hmmm Is this too easy or too hard of a question to be answered? Bob - Original Message - From: Bob Byron [EMAIL PROTECTED] To: Struts Users

Re: Digester content with elements

2001-11-02 Thread Bob Byron
, November 02, 2001 9:52 AM Subject: Re: Digester content with elements I don't understand how this is any different than the stuff that comes with the documentation. -sandeep --- Scott Atwell [EMAIL PROTECTED] wrote: Could you not use a DOM parser, e.g. xerces, to do this? Regards, Scott

Re: Digester content with elements

2001-11-02 Thread Bob Byron
[EMAIL PROTECTED] Sent: Friday, November 02, 2001 9:51 AM Subject: Re: Digester content with elements Could you not use a DOM parser, e.g. xerces, to do this? Regards, Scott - Original Message - From: Bob Byron [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent

RE: Digester Problem!!!!

2001-10-31 Thread Tom Klaasen (TeleRelay)
1) Use struts 1.0 for toying around with the example, and if you think you can use it, get the source code, and do a searchreplace. 2) Notify the author of the example, and ask whether he wants to make a struts post-1.0 version. hth, tomK -Original Message- From: storck

RE: Digester Problem!!!!

2001-10-31 Thread Tom Klaasen (TeleRelay)
are not defined -Ursprungliche Nachricht- Von: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 31. Oktober 2001 11:31 An: Struts Users Mailing List Betreff: RE: Digester Problem 1) Use struts 1.0 for toying around with the example, and if you think you can use

RE: Digester Problem!!!!

2001-10-31 Thread Tom Klaasen (TeleRelay)
-Ursprungliche Nachricht- Von: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 31. Oktober 2001 11:59 An: Struts Users Mailing List Betreff: RE: Digester Problem I cannot promise that I can answer your question, but I can tell you that anybody who could

Réf. : RE: Digester help needed !

2001-10-05 Thread pf . garcia
] Pour :[EMAIL PROTECTED] cc : Objet : RE: Digester help needed ! -- peculiar I'm reposting to fix the typo public void setgetErrdesc text below is corrected. I'm still having the same parsing problem as before. You know, if I reformat the XML string to look like this: loginerr errnum

RE: RE: Digester help needed !

2001-10-05 Thread Paula Young
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 3:31 AM To: [EMAIL PROTECTED] Subject:Réf. : RE: Digester help needed ! File: pic19718.pcx File: winmail.dat Try to add this to your digester initilization

RE: Digester help needed ! -- peculiar

2001-10-04 Thread Paula Young
I'm reposting to fix the typo public void setgetErrdesc text below is corrected. I'm still having the same parsing problem as before. You know, if I reformat the XML string to look like this: loginerr errnum=18 errdesc= Your smallcorp site login has expired!! / ...it works fine (I can

Re: Digester and Factory methods

2001-08-28 Thread Tom Tibbetts
Thanks Craig. I did, in the meantime, just created my own rule that calls my factory method. Not as elegant as what you're doing. Thanks, again...Tom At 05:05 PM 8/27/01 -0700, you wrote: On Fri, 24 Aug 2001, Tom Tibbetts wrote: Date: Fri, 24 Aug 2001 09:52:30 -0500 From: Tom Tibbetts

Re: Digester and Factory methods

2001-08-27 Thread Craig R. McClanahan
On Fri, 24 Aug 2001, Tom Tibbetts wrote: Date: Fri, 24 Aug 2001 09:52:30 -0500 From: Tom Tibbetts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Digester and Factory methods Greetings. I'm using the digester to read a poor-person's DB and am wondering if

Re: Digester Help PLEASE

2001-08-24 Thread Oleg V Alexeev
Hello Sean, You can create only ONE instance of Digester in your application. If it can help you... Friday, August 24, 2001, 5:26:22 PM, you wrote: S Ok, after spending over 2 hours trying to debug this can I get some eyes on S this please? Does anyone see anything wrong with this method ran

Re: Digester Help PLEASE

2001-08-24 Thread Sean
Oleg, I am running this from a main() test program and only one instance it being created. Do you see anything wrong with the rules? XML file? Sean

Re: Digester throwing ClassNotFoundException for ActionFormBean

2001-08-16 Thread Hough, Matthew
Title: Re: Digester throwing ClassNotFoundException for ActionFormBean I'm using Xerces 1.4.* and Xalan 2.2.*. I believe both implement JAXP 1.1. Thanks, Todd Which version of JAXP and Xerces are you using? The nightly builds require JAXP 1.1, so you may find you need a newer version

Re: Digester throwing ClassNotFoundException for ActionFormBean

2001-08-15 Thread martin . cooper
Which version of JAXP and Xerces are you using? The nightly builds require JAXP 1.1, so you may find you need a newer version. See the Struts installation page for details: http://jakarta.apache.org/struts/installation.html Martin. - Original Message - From: Hough, Matthew [EMAIL

Re: Digester addObjectCreate

2001-08-05 Thread Craig R. McClanahan
On Wed, 25 Jul 2001, Steven D. Wilkinson wrote: I have an object that takes an argument in the Constructor. How do I do this during an addObjectCreate call? This issue was recently (well, yesterday :-) addressed in the version of Digester that is included in the jakarta-commons project.

RE: Digester addCallParam question

2001-08-01 Thread Rafert, Tim
Of course - as soon as I sent the email - I found the correct 3 parameter method addCallParam which includes the attribute name as the 3rd param. Sorry for the needless emails... -Original Message-From: Rafert, Tim Sent: Wednesday, August 01, 2001 2:49 PMTo: '[EMAIL

RE: Digester

2001-06-25 Thread Noel Sebastien
I tried to retrieve texts like you. I think it is impossible because Digester uses Sax underneath, and it is not a intern Sax functionality. What you can do, is either to rewrite your own Digester using Sax by adding a layer that is able to accumulate text within nested tags (PCDATA) OR to

Re: digester and whitespace in XML text body

2001-06-01 Thread Craig R. McClanahan
On Wed, 23 May 2001, Nick Afshartous wrote: Hi, I'm using the digester to process the nested content in XML tags and am noticing that the leading/trailing whitespace doesn't seem to be removed as advertised in the doc. Hmm. You're correct that the whitespace isn't being trimmed.

Re: digester and whitespace in XML text body

2001-06-01 Thread Craig R. McClanahan
On Thu, 24 May 2001, Mark Simms wrote: I believe the digester must be rewritten to support the JAXP 1.1 specs. It's already been done in the Jakarta Commons version of Digester. Struts will switch to this at some point *after* 1.0 final -- the advertised XML parser requirement for

Re: digester and whitespace in XML text body

2001-05-24 Thread Mark Simms
I believe the digester must be rewritten to support the JAXP 1.1 specs. wow, almost everything in digester is now deprecated... - Original Message - From: Nick Afshartous [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 1:25 PM Subject:

RE: Digester :java.lang.InternalError: (Ex02) An error has occu rred ANDaddCallParam

2001-04-23 Thread Noel Sebastien
Craig, Could you describe the exact rules you are trying to use? It's not possible to answer your questions just from this description. Craig Here are the rules I use for my case : digest.push(this); digest.addObjectCreate(connector/config, java.lang.Exception,

Re: Digester : java.lang.InternalError: (Ex02) An error has occurred AND addCallParam

2001-04-22 Thread Craig R. McClanahan
On Thu, 19 Apr 2001, Noel Sebastien wrote: Hello, It seems that addCallParam push a String on the stack, why ? It is very annoying for my program. How can I by pass that problem ? I would like to parse the following XML : connector name=MQ1 className=connector.MqJmsConnector

Re: Digester parser error

2001-04-13 Thread Craig R. McClanahan
On Mon, 9 Apr 2001, Erik Eriksson wrote: Hi! To bad, Digester seems to be a good idea but this bug is making it impossible for me to use it. All I need is someone to take the final- declaration away, then I could inherit Digester and override the methods I want. Is there any plan on

Re: Digester parser error

2001-04-09 Thread Erik Eriksson
- From: "Deadman, Hal" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Digester parser error to another output. I submitted a bug report about this issue on Friday. You can add your comments or vote for it. It's bug #1166. http://nagoya.apache.or

RE: Digester parser error to another output.

2001-04-02 Thread Deadman, Hal
I submitted a bug report about this issue on Friday. You can add your comments or vote for it. It's bug #1166. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1166 Hal -Original Message- From: Noel Sebastien [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 11:01 AM To:

Re: Digester order of events

2001-03-13 Thread Zach Thompson
Actually, there's a setter in MyBean (setProp) but no corresponding "prop" attribute in the XML. At runtime, the JVM can't find type SomeType, and it looks like that causes Digester to not ever call setName(). If I comment out the first 4 lines of the MyBean class (all the SomeType/setProp

Re: Digester order of events

2001-03-12 Thread Zach Thompson
Sorry - I noticed a confusing mistake in my post. I was never actually calling "new SomeType()" - that's why there was no runtime error. Zach Thompson wrote: Hello, I just spent quite a bit of time debugging some code that uses a Digester, and I'd like to share what I found. class

Re: Digester order of events

2001-03-12 Thread martin . cooper
Regarding your first point, are you saying "There's a name attribute in the XML, but there's no corresponding setter, so the Digester should flag an error"? If not, I apologise for putting words in your mouth. :-} One of the nice things about the Digester is that I can tell it which pieces of

Re: Digester order of events

2001-03-12 Thread Craig R. McClanahan
On Mon, 12 Mar 2001, Zach Thompson wrote: Hello, I just spent quite a bit of time debugging some code that uses a Digester, and I'd like to share what I found. class MyBean { SomeType p = new SomeType(); public void setProp(SomeType p) { this.p = p; }

Re: digester question

2001-02-16 Thread Craig R. McClanahan
"Gogineni, Pratima" wrote: Hi, I have been reading the documentation on digester - I was wondering if it uses XPATH for element pattern matching and if it doesnt why not? I dont think the documentation mentions this ... That's *usually* a pretty good sign that it doesn't support the

Re: Digester: How to read the body of a tag?

2001-02-10 Thread Jens Rehpöhler
Hello Craig, as always you gave the conclusive hint. Perhaps you should add an example of the usage of this methods to the documentation. It would make things much more clearer. thanks, Jens "Craig R. McClanahan" wrote: Jens Rehphler wrote: Hello Steven, I think I didn't described

Re: Digester: How to read the body of a tag?

2001-02-10 Thread Craig R. McClanahan
Jens Rehphler wrote: Hello Craig, as always you gave the conclusive hint. Perhaps you should add an example of the usage of this methods to the documentation. It would make things much more clearer. Good idea. I'm adding an example of using this technique to the Developer's Guide page

Re: Digester: How to read the body of a tag?

2001-02-09 Thread Steven D. Wilkinson
It also has to do with your class structure and your xml. I haven't tested this, but try this public class User { private Tagwithbody twb = null; public void setTagwithbody(Tagwithbody theClass) { twb = theClass; } public Tagwithbody getTagwithbody() { return twb; } } public class

Re: Digester: How to read the body of a tag?

2001-02-09 Thread Jens Rehpöhler
Hello Steven, I think I didn't described my problem correctly. Parsing the properties of a tag works well. But I want to parse the content between some tags. For example: database user propertie="name" textthis is the value i want to initialize my class with/text /user /database

Re: Digester: How to read the body of a tag?

2001-02-09 Thread Craig R. McClanahan
Jens Rehphler wrote: Hello Steven, I think I didn't described my problem correctly. Parsing the properties of a tag works well. But I want to parse the content between some tags. For example: database user propertie="name" textthis is the value i want to initialize my class

Re: Digester: How to read the body of a tag?

2001-02-09 Thread martin . cooper
I've been using a slightly simpler method than Craig's to get the body content. I use this: digester.addCallMethod("database/user/text", "setText", 0); I got the idea for this from the JavaDoc comment for addCallMethod, which says that specifying zero for the parameter count means "a single

Re: Digester: How to read the body of a tag?

2001-02-09 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: I've been using a slightly simpler method than Craig's to get the body content. I use this: digester.addCallMethod("database/user/text", "setText", 0); I got the idea for this from the JavaDoc comment for addCallMethod, which says that specifying zero for the