Hi Robert/Edgar.
I sent in a patch a while ago which I think would solve your problem.
[It was a while ago, so my memory might be misleading me].
There was no response; I meant to follow up but have been kind of busy
later.
See
Hi Stephen,
One thing you don't mention below is what version of java you are
running.
Sun java 1.4.x bundles a version of xerces in its standard libraries.
Because the standard libraries take precedence over anything in your
CLASSPATH, you end up with the old version of xerces.
If you are
On Mon, 2002-10-14 at 15:41, Simon Kitching wrote:
Hi Stephen,
One thing you don't mention below is what version of java you are
running.
Sun java 1.4.x bundles a version of xerces in its standard libraries.
Because the standard libraries take precedence over anything in your
CLASSPATH
Hi Stephen,
I think the problem is in the following lines:
ServletBean s = new ServletBean();
InputStream inputstream = s.class.getResourceAsStream(web.xml);
digester.parse(inputstream);
inputstream.close();
What I suspect happens is that you create a ServletBean, but never do
anything with
public void setPower(String power){
try{
this.power = Integer.parseInt(power);
}catch(Exception e){}
}
Am I violating the JavaBeans specification ???
Yes. The return type of a getter and the parameter type of a setter must
match for the pair to be deemed to
,
Hope this helps,
Simon
--
Simon Kitching [EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Jay,
Just to expand a bit on Scott's reply.
Your question is a fairly common one. I'm not aware of any documentation
that shows how to do this, and there probably should be some. Maybe when
you get this working you could contribute some docs and an example?
Regarding *how* to do it,
(a)
Hi Howard,
You state that the paths are now unpredictable, but it doesn't seem so
to me from your example. You just have an extra couple of patterns
/root/page (as before)
/root/test (new pattern)
/root/test/page (new pattern)
If this is the case, Digester should still work fine. The solution
Hi Naresh,
Isn't the SetTopRule what you want?
class Product
{
.
public void addToParent(HashMap parent)
{
parent.put(this.partNumber, this);
}
}
digester.addSetTop(/products/product, addToParent,
java.util.HashMap);
I presume the same functionality is available via the xml
In message [EMAIL PROTECTED], Michael Wechner writes:
are there any plans to support ssh within the commons-net package?
Not that I know of at the moment. Still, if there is demand for an
ssh client protocol implementation in Java distributed under the ASL,
There is...
There is from
Hi,
The commons Net project includes the SMTPClient class.
There is a standard java api javax.mail which defines methods for
sending mail from java code. There is also a free-as-in-beer
implementation of this API from Sun which appears to work fine.
Can anyone suggest any benefits of using the
On Tue, 2003-03-11 at 14:01, Daniel F. Savarese wrote:
[snip]
Thanks very much for your clear (and quick!) reply.
Perhaps my question/your response would be good for a Net FAQ entry?
I agree all that JAF stuff in javax.mail is over the top :-)
Regards,
Simon
On Tue, 2003-03-11 at 14:20, Daniel F. Savarese wrote:
Any volunteers for implementing ssh?
I might be in; I currently have customers asking for this functionality.
I will need to check with the fellow who pays my monthly wage, though
:-)
Should be able to confirm/deny in about 1 week...
On Wed, 2003-03-12 at 12:18, Schnitzer, Jason D (US SSA) wrote:
ROOT
USERDEFINED
UNKNOWN1/UNKNOWN1
/USERDEFINED
/ROOT
I would like a way to store the unknown1/unknown1 in a string inside
of my class... So if I did
How about using NodeCreateRule, which deals with DOM nodes?
On Tue, 2003-03-18 at 08:54, Erik Price wrote:
Hmm... I'm wondering if there's a way to tell the digester that I don't
want to call that method if the element at the matching pattern is
empty? Or is this getting too detailed, in which case I'd have to look
into JDOM or something.
I am not
Hi Martin,
You should be able to get the effect you want by moving the
set-next-rule to *before* the call-method-rule.
A rule can perform operations when:
(a) the start of a tag is encountered [begin method on Rule], or
(b) when the end of a tag is encountered [end method on Rule].
The begin()
On Tue, 2003-03-25 at 04:36, Erik Price wrote:
uda type=LIST
nameFoundation/PDM Requirement/name
valueYes/value
/uda
Now the uda element has an attribute type with a value of LIST,
but rather than pass the string LIST to a JavaBean set method,
On Thu, 2003-05-29 at 07:27, Sloan Seaman wrote:
I have a public void setActionMappingClass(String)
that Digester does not call because the get is
public Class getActionMappingClass() instead of
a public String getActionMappingClass()
Just seems odd that Digester would be so
Hi Sloan,
From a quick look at the digester code, I see that SetPropertiesRule
uses BeanUtils.populate(targetObject, valuesMap). Following this down, I
see that eventually java.beans.Introspector is called to get info about
the target class.
For my own interest, I looked into the JavaBeans spec,
Hi Lutz,
If I understand your mail, you have got a working solution, but are just
wondering why you need to put the setNext rule *before* the
setContent in order to get the setContent() method called before the
addBaz() method.
This is actually a side-effect of the core digester design. It is
On Tue, 2003-06-24 at 15:39, Joseph S Chung wrote:
With echo $JAVA_HOME, I get /usr/java/j2sdk1.4.1_03.
Sorry to ask, but have you done this?
export JAVA_HOME
Without this, the value is visible in your current shell but not in
applications started from your current shell.
On Fri, 2003-06-27 at 16:02, Martin Cooper wrote:
On Wed, 26 Jun 2003, Simon Kitching wrote:
Hi All,
I'm looking for code which can handle multipart mime messages, both
building them and decoding them.
[snip]
There's some multipart parsing code buried in FileUpload, and probably
bits
Hi Nick,
Have you looked at JMeter (jakarta.apache.org/jmeter)?
If so, what do you want that JMeter can't do?
Regards,
Simon
On Mon, 2003-06-30 at 18:15, Nick Faiz wrote:
Hi,
I'm looking for some code that will function like ATG's URL Hammer.
It's fairly generic and allows automatic
Hi,
On Tue, 2003-07-01 at 02:10, Radhika Menon wrote:
I am using Digester for parsing xml files in my application.I encounter a
IllegalAccessException when it tries to invoke a public method on a default
access class.
From memory, I think this happens when the method being called throws an
On Thu, 2003-07-03 at 16:52, Jeffrey D. Brekke wrote:
I put In CVS on the 1.0.1 release to indicate that the next release,
v1.0.1, is still cooking and hasn't yet been released. You can
download the nightly builds here:
http://jakarta.apache.org/commons/net/download.html if you don't feel
On Wed, 2003-07-09 at 04:54, Lister, Tom (ANTS) wrote:
Hi
I'm need to parse an XML document and cross reference selected elements with
a mapping database to resolve different naming conventions between systems.
We are using XML via MQ for real time integration.
My problem is that when I get
Did you all know that most of the Jakarta Commons projects are now
available as native x86 binary libraries, compiled via gnu gcj?
http://sources.redhat.com/rhug/
Just thought people might be interested
-
To unsubscribe,
On Fri, 2003-08-08 at 04:04, Steve Byrne wrote:
Simon Kitching [EMAIL PROTECTED] writes:
Ki ora, Simon ;)
:-)
What are you seeing as your behaviour? A hang, or just invalid documents
being processed?
Hmm.. I wonder what default ErrorHandler the Digester sets up for its
parser...
One
Hi,
Sorry to ask the obvious, but have you called
digester.setValidating(true)
immediately after creating the digester instance?
On Thu, 2003-08-07 at 18:53, Steve Byrne wrote:
I'm trying to get digester to do XML Schema validation based off the schema
referenced in the input XML file. I
On Sat, 2003-08-30 at 08:29, Vivian Fonger wrote:
Hi everyone,
Is there anyway that I can set digester to use log4j logging
mechanism???
Vivian Fonger
Digester uses the apache commons-logging wrapper.
If the log4j jar file is in the classpath, and either a log4j.xml or
Bonjour, Nicolas.
The CallMethodRule always operates on the top object on the
object-stack. If you have the rules:
* digester.addFactoryCreate(acces/reader, )
* digester.addCallMethod(acces/reader, ...)
then the top object on the stack will be the object your factory method
has just
Hi Jai,
Please send the complete output generated when the exception occurs, ie
the full stack-trace. Without this, it is hard to know what the problem
might be.
Regards,
Simon
On Sat, 2003-08-30 at 07:15, Jai PP wrote:
I am getting null pointer exception at
addObjectCreate. When there are
Hi,
I'd like to offer some suggestions, but unfortunately I just don't
understand your question. Perhaps if you could include the actual code
you have so far, that would help clarify what you are trying to achieve.
A DTD/schema or simple description of the input xml would also be
useful. And is
Hi Gero,
It's still not clear to me what your data model is.
I guess what I'm really looking for to understand your problem is a UML
diagram of the classes you are mapping to. This would tell me whether
you are storing attributes as objects in a list, or in a hashmap, and
whether there are
On Thu, 2003-09-04 at 21:23, petra staub wrote:
hi,
i have following little problem:
How can I get following XML structure into some java entities?
my example.xml look about this:
list name=list1
element name=name1value1/element
element name=name2value2/element
element
Hi Matthijs,
For complex XML processing, I suggest that you take advantage of the
fact that Digester is an org.xml.sax.ContentHandler. Rather than having
the digester instance create and configure the parser, do it yourself
with the digester object just being the target of the SAX events
On Fri, 2003-09-19 at 13:14, Craig R. McClanahan wrote:
Is there a way to validate each namespace separately. Because for each
application we use different xml with similar elements, this would be
very useful. Maybe this is a question for another (more xml specific)
mailing list, at
Hmm.. looks to me like it should work.
If you post a runnable example, I would be willing to have a look.
You could also turn up digester logging, and see if you can spot the
problem yourself. Placing the following two files in the classpath
should do the trick:
filename:
Hi Robert,
The xmlrules code currently does this sort of thing, so you may wish
to look there for inspiration.
It would also help if you included the stack trace for your null
pointer problems.
One thing I notice in your code snippet below: where does the rules
object you are passing to your
)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
Thanks for your support.
-Robert Grey
From: Simon Kitching [EMAIL PROTECTED]
Reply-To: Jakarta Commons Users List [EMAIL PROTECTED]
To: Jakarta Commons Users List [EMAIL
Hi Steve,
I had a thought yesterday: if you want to trap cases where match returns
no elements, then you can write a custom Rules class which delegates to
RulesBase (or whichever), but has a custom match() rule which checks for
empty lists being returned from the real Rules object. Hope this
Hi Ricky,
It looks to me like what you need is a Rules class which can match
elements according to the value of specific attributes. None of the
existing Rules classes do this, but it seems reasonable to me. The
pattern syntax could include xpath-like conditions, eg
obj/attr[xml:lang=en]
and
On Tue, 2003-10-21 at 22:57, Simon Kitching wrote:
Hi Ricky,
Doh! I wasn't thinking so clearly..the suggestion below is complete
rubbish :-)
Implementing such a Rules class would be non-trivial, though. As a
simpler solution along the same lines, how about writing a LangRules
class which
On Tue, 2003-10-21 at 10:57, Craig R. McClanahan wrote:
But you could certainly supply your own Rule (no trailing s)
implementation whose begin() method checked the Attributes that are
passed to see which (if any) xml:lang attribute was set.
Craig
Hmm .. so
digester.addRule (
many questions. i am rookie in Digester
thanks,
Pankaj
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 10:36 PM
To: Jakarta Commons Developers List
Subject: Re: How to call a constructor with my own values (rather than
theXML
Hi Frank,
You may wish to check out the current digester source code from the cvs
repository, or use CVSWeb to browse it.
You will find code in src/examples/api which may be useful to you.
These examples were added since the last release, so you'll need to
access them from the cvs repository.
Hi Marc,
I see you've not got any replies to your question.
That's unfortunate; there just don't seem to be any xmlrules users or
developers hanging out on this list at the moment.
If you're still having problems with this, let me know and I will have a
look into it for you. Of course any info
On Fri, 2003-11-07 at 04:54, Philip Mark Donaghy wrote:
How can I get the version number that is distributed
with Struts 1.1.
Hi Phil,
I'm not aware of any way you can tell what release a given
commons-digester.jar file is. So I guess you'll have to consult the
documentation for your struts
On Thu, 2003-11-20 at 07:43, Shapira, Yoav wrote:
Howdy,
That works perfectly!! Thanks so much ;)
I have hopefully one final question.
XML:
b attribute1=something
attribute2=something
attribtue3=something /
Class B extends C. Class B has public methods setAttribute1 and
On Fri, 2003-11-21 at 02:38, Shapira, Yoav wrote:
Howdy,
Thanks for your help: I actually figured it out
yesterday but lost this thread so I couldn't post
my solution. The property I was looking to set
was a java.net.URL. When I changed it to a String
things worked fine.
Just a quick
On Sat, 2003-11-22 at 06:26, Marwan Aziz wrote:
I also have the following rules defined:
digester.addFactoryCreate(a/b, );
digester.addSetProperties(a/b);
digester.addSetNExt(a/b, );
digester.addObjectCreate(a/b/c, );
digester.addSetProperties(a/b/c);
On Fri, 2003-11-21 at 18:50, Daniel Joshua wrote:
Could you give an example/link on how to do this.
I could not find anything related on Google :(
The package is:
http://jakarta.apache.org/commons/beanutils.html
See class ConvertUtils in the javadoc.
Regards,
Simon
On Tue, 2003-11-25 at 06:30, __matthewHawthorne wrote:
I finally have found the chance to use Digester, and it's pretty
impressive. However, there are a few issues that I'm confused about,
and would appreciate the help.
Here's my XML:
table name=pmw
record id=1 name=pmw1/
Hi Narinder,
That message is coming out of the BeanUtils library. The message implies
that BeanUtils thinks that the java property is a read-only property,
and therefore cannot be set by Digester.
What's probably happening is that the class you are setting properties
on does not correctly
Hi Craig,
On Tue, 2003-12-09 at 08:57, Craig Tataryn wrote:
Sorry, forgot to specify which commons project this was for in the subject.
From: Craig Tataryn [EMAIL PROTECTED]
Reply-To: Jakarta Commons Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: addBeanPropertySetter help
Hi Gary,
The standard rules engine in Digester should support */menu fine
(though it will not support foo/*/menu type patterns). The pattern
*/menu will match any menu tag, regardless of what its parentage is.
If this isn't good enough (ie you want to avoid matching menu tags which
are children
On Tue, 2003-12-23 at 11:45, Juan Alvarado wrote:
Hello:
Hi Juan,
In the CVS repository there are now some examples of using Digester that
will hopefully answer your questions. You can see these examples by
following the instructions for checking out files from CVS, or use the
CVS web
On Tue, 2003-12-23 at 12:18, Juan Alvarado wrote:
Simon thanks for all of your help and comments.
Off the top of your head can you tell me what tools you have used if
any that will allow me to convert from object to xml.
I've never needed to do object-xml, but I know of the following
On Tue, 2003-12-23 at 14:00, Mike Zatko wrote:
Howdy,
I just started looking into the Digester components and I have come
across a peculiarity as follows. I began by using a precanned example of
using Digester off of an article on IBM's site I think. Basically, all
of the Digester code
On Mon, 2003-12-29 at 08:10, Paul Libbrecht wrote:
On 28-Dec-03, at 19:21 Uhr, Craig R. McClanahan wrote:
Quoting Iantosca, Jonathan [EMAIL PROTECTED]:
Hello,
I'm trying to digest an xml file with the following doctype
declaration.
!DOCTYPE adaptor SYSTEM woadaptor.dtd
I
Hi,
I need to backport an app which uses some java 1.4 regular expressions
to java 1.3. Would I be better off using jakarta regexp or jakarata oro?
They both seem to be stable and actively maintained, based on the fact
that in both cases their last two releases were around dec 2002 and dec
2003.
Hi Michael,
I believe this is commonly caused by classloader problems.
Are you running this code in a container of some sort?
When SimpleLog and Log are loaded by different classloaders, the
instance-of operation can report false.
Regards,
Simon
On Thu, 2004-01-08 at 15:40, Michael
On Fri, 2004-01-09 at 17:50, Daniel F. Savarese wrote:
To answer the original question. If you need Perl (including zero-width
negative lookahead assertions), AWK, or glob expressions, use ORO. If
you need POSIX-like expressions, use Regexp. If you don't care, then
establish some other
On Sat, 2004-01-17 at 23:58, robert burrell donkin wrote:
the RSS 0.91 is really just an example but many people find it a very
useful one. creating digestions for RSS 1.0 and/or RSS 2.0 isn't really
an itch i have but i suspect that if you were to create one and donate
it to the ASF then
On Mon, 2004-01-19 at 11:14, robert burrell donkin wrote:
On 18 Jan 2004, at 22:00, Simon Kitching wrote:
On Sat, 2004-01-17 at 23:58, robert burrell donkin wrote:
the RSS 0.91 is really just an example but many people find it a very
useful one. creating digestions for RSS 1.0 and/or RSS
Hi Olaf,
On Tue, 2004-01-20 at 07:17, [EMAIL PROTECTED] wrote:
I'm currently writing an XML config file parser using the Digester framework. I've
spent quite a while debugging the digester code, since I really did not understand
how digester was building the object stack. I now understand it
On Fri, 2004-01-23 at 10:50, saeed wrote:
Hi,
I am geting no match for this query when i use [digester] class to get the map
for the entry. Even thogh i see the map is correctly have the query string.
I wonder do i need to use any other tag in my xml?
Thanks!
P.S.
I also have
On Fri, 2004-01-23 at 16:51, Veerasamy, Thirumalai (Cognizant) wrote:
Hi simon,
I searched through google, couldn't find the usage of regex digester.
Each rule you add to the digester has an associated pattern. Example:
digester.addCreateObject( some-kind-of-pattern, MyObject.class);
When
On Fri, 2004-01-23 at 17:06, Veerasamy, Thirumalai (Cognizant) wrote:
Let me know if this is possible.
contexts
context
entry
/entry
entry
entry
entry
...
/entry
/entry
/entry
/context
/contexts
Here the entry node could occur go to any depth and
On Wed, 2004-01-28 at 10:47, Samuel Cheung wrote:
Thanks Robert.
But if I have 50 static attributes in my Globals, do I need to create 1
custom Rule per attribute?
Hmm.. I think there is a problem with Robert's suggestion (sorry, Robert
:-)
You are using a separate xml element for each
On Fri, 2004-02-13 at 09:32, Chad Woolley wrote:
Hello,
I never got any bites on this, so here it is again with all the info in
one place.
I'd really like to resolve this, as it is preventing me from using
Digester. I guess I should try to write a failing unit test for it and
submit
On Sun, 2004-02-29 at 13:11, Martin Kersten wrote:
Hi maillist,
after I've tried for hours to get my simple XML shema working
(due to bad documentation if you ask me). I nearly give up.
Ummm .. you aren't likely to win many friends on this list with comments
like that. You're asking for
On Sun, 2004-02-29 at 21:16, Martin Kersten wrote:
And when you're done, feel free to write a user manual and submit it for
inclusion into the project...
My english isn't that good. But I can provide some concepts and if someone
would like to play an English teacher and correct my bumpy
[Martin Kersten wrote:]
How about changing:
[snip]
The Release Notes document the new features and bug fixes that have been
included in this release.
The JavaDoc API documents are available online. In particular, you should
read the package description for the
On Tue, 2004-03-02 at 05:32, [EMAIL PROTECTED] wrote:
Hi,
I load an XML file with Apache digester and I have a strange behaviour
with XML schema validation. I have enabled XML schema validation and
provided a XML input file with a syntax error in it = The syntax error is
well detected by
On Wed, 2004-03-03 at 08:27, Savitsky, Alex wrote:
Uhh... now I am confused too...
So let me get it straight - your suggestion is to create a helper class
XMLContact with getters/setters for each field in Contact, that would
capture XML data (instead of Contact doing it) and then push it to
On Wed, 2004-03-03 at 10:08, Savitsky, Alex wrote:
Already did five minutes ago, and it works great :)
One comment I have, though, is that pretty much any parameter-related rule
needs access to digester.peekParams() (PathCallParamRule needs it, too),
and that method has package visibility.
On Wed, 2004-03-03 at 20:11, toni price wrote:
Your diagnosis is pretty much right:
quote
but it seems like the wire logger is using a separate logging repository
/quote
[well, it's just using a category which doesn't happen to follow the
conventional category=classname naming convention].
On Thu, 2004-03-11 at 01:32, Diego wrote:
Hi everyone!
I'm using commons digester to parse a xml file like this:
class
property
meta attribute=field-descriptiondata1/meta
meta attribute=field-descriptiondata2/meta
/property
/class
I'm having problems getting
On Fri, 2004-03-19 at 07:32, Pretterhofer, Guenter (ext.) wrote:
property
database name=db1
useruser1/user
/database
database name=db2
useruser2/user
/database
/property
[snip]
digester.addObjectCreate(property,
Hi,
Some tidying up is being done in preparation for a Digester 1.6 release
sometime soon. One of the new things in CVS is an examples directory.
But there is not yet a simple xmlrules example.
Are there any xmlrules users out there interested in writing one and
contributing it?
There are
On Fri, 2004-04-09 at 04:36, Chen, Tim wrote:
I saw that in the list archives it was not supported but
1) is it planned to be able to support something like
digester.addCallMethod([EMAIL PROTECTED]blah\], foo); ?
2) is there a way around it currently?
I see that all the rules have a way to
On Mon, 2004-04-12 at 06:09, robert burrell donkin wrote:
i've had a longer think about this, and i'm not really sure anymore
that there's any XPath engines that this would work for. the other
issue is that some XPath expressions really require the whole of the
document to work with. (but
Hi Robert,
I know you were working on betwixt on a branch, and in the sandbox for a
while too. Is the latest development now happening on the trunk (ie
getting cvs HEAD returns latest code)? I'm just interested in seeing how
Betwixt works, and want to make sure I'm not looking at obsolete code!
On Tue, 2004-04-13 at 18:07, Simon Kitching wrote:
Root
subSection
id7/id
Item Name=forProperty Type=StringThis is the
Content/Item
Item Name=forAnotherProperty Type=StringMore
Content/Item
/subSection
/Root
Or the SetNestedPropertiesRule
On Tue, 2004-04-13 at 19:55, robert burrell donkin wrote:
hi simon
the stuff in the sandbox is very old.
the branch contains refactoring work, a rewriting of the way that the
reading works (plus some other simplifications). one of the problems
with the original betwixt code was that it
On Wed, 2004-04-14 at 10:40, Thyr wrote:
Hello,
I want to use digester to solve the following task:
test.xml
?xml version='1.0' encoding='utf-8'?
root
acontent/a
b
adeeper content/a
/b
aanother content/a
/root
The code:
Digester d = new Digester();
On Wed, 2004-04-21 at 02:30, Aristos Stavrou wrote:
Could you please help me on the following problem?
If I have an xml file containing the following element:
...
author name=
address ... /address
/author
and I have the following class defined for author
On Thu, 2004-04-22 at 19:43, Samuel Tang wrote:
Dear users,
I have read the article on the ibm website regarding using lucene
(http://www-106.ibm.com/developerworks/library/j-lucene) and followed the provided
'Listing 4' to make the DigesterMarriesLucene.class. I downloaded the Digester
On Fri, 2004-04-23 at 14:35, Jeffrey D. Brekke wrote:
I haven't seen anything about this either, but if you do find out some
information, please share it with us via this list or the wiki.
Thanks.
On Thu, 22 Apr 2004 09:45:18 -0700, Roger Tanuatmadja [EMAIL PROTECTED] said:
Hi, I need
Hi,
On Mon, 2004-05-10 at 01:05, gary and sarah wrote:
I am using digester to read the following file
with the following as an example of a rules
// x axis
digester.addObjectCreate(tensor_frame/x_axis,
BasicProjections.class);
Hi,
On Mon, 2004-05-10 at 01:22, gary and sarah wrote:
I am not sure if this is the right place to send this but here goes
Yep, this is the perfect place for this sort of comment.
I am using the commons digester component and was having some debugging
difficulties [see my last message
On Mon, 2004-05-10 at 19:58, Igor Smirnov wrote:
Hi,
This is my first time posting here! :)
I've working with commons logging for the past week and have implemented a new
logger within for my needs.
Now, since I am not confortable with the whole commons package yet and the user's
guide
On Mon, 2004-05-10 at 20:22, Igor Smirnov wrote:
Hollowing Simon's suggestion, I am posting the same question under another
Subject.
And to be more specific: I am working tiwht Monolog logger that implements
and extends log4j functionality. I needed a new Log impl. in commons logging
to be
On Thu, 2004-04-29 at 08:45, Thyr wrote:
Hello,
I have searched the mailing archive and found that Schema Validation
using Digester is also a problem to others. But all the answers did not
help me getting digester use my schema to validate the xml-file.
I would personally avoid using
On Fri, 2004-04-30 at 05:51, José Antonio Pérez Testa wrote:
Hi Juergen,
apart from corrections donwside, you have to push an object to the
Digester stack
[...]
That is because the SetNext rule pops the element from the stack, so if
you start up with nothing you end up with nothing.
Hi
On Wed, 2004-05-19 at 14:26, Bill Keese wrote:
I'm curious how people use digester to persist class hierachies.
Consider the class hiearchy below (that represent graphical objects).
class Component { int x,y; }
class TextString extends Component { String text; }
class Rectangle extends
On Wed, 2004-05-19 at 16:43, Bill Keese wrote:
Thanks Simon!
All the existing Digester object creation options
(ObjectCreateRule, FactoryCreateRule) create the target object when the
opening xml tag is found.
I see. In that case, I need to create the Text object when the text
tag is
On Fri, 2004-05-21 at 12:34, Bill Keese wrote:
Is there any way to tell digester to read in the entire content of an
element (including text and sub-elements) as a single String? For
example, if I persist e-mail to XML, I'd like to use digester to read
the e-mail address list, etc., but the
Hi Ashish,
On Thu, 2004-06-03 at 03:47, Ashish Naik wrote:
I am not able to understand how to confifigure Log4J for Commons logging
API.
I have added log4j.jar to my classpath. How do I set
log4j.configuration=log4j.properties
I am refering to Logging User Guide at
1 - 100 of 395 matches
Mail list logo