Re: Digester and Struts...

2002-02-25 Thread Craig R. McClanahan
There is a part of this that is parser-related and part that is Digester related. See intermixed responses below. On Mon, 25 Feb 2002, Keith Chew wrote: Date: Mon, 25 Feb 2002 18:07:18 +1300 From: Keith Chew [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To:

cvs commit: jakarta-commons/xdocs betwixt.xml

2002-02-25 Thread jstrachan
jstrachan02/02/25 09:26:24 Modified:docs betwixt.html xdocsbetwixt.xml Log: Patched URL for the betwixt javadoc Revision ChangesPath 1.5 +1 -1 jakarta-commons/docs/betwixt.html Index: betwixt.html

Re: [AltRMI] multiplexing over single connection

2002-02-25 Thread vinaysahil chandran
Paul, So would the right place to export an Object from an API standpoint be : AltrmiFactory.exposeObject(Object o); ? Regards, Vinay --- Paul Hammant [EMAIL PROTECTED] wrote: Vinay, Yes you are right BEEP looks better. There is a BSD impl on SF :-

Re: [lang] NumberRange contribution

2002-02-25 Thread Daniel Rall
Christopher Elkins [EMAIL PROTECTED] writes: Hi, all. Attached are a class representing a range of Number instances and its associated unit-test class. I hope they are suitable for inclusion in the new lang sandbox module. (P.S. Why are seemingly all of the commons modules allergic to

Release version constant in TestObject [was: Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestObject.java]

2002-02-25 Thread Morgan Delagrange
Sorry, I didn't notice this email initially. This constant makes it possible for TestMap (and other subclasses, if necessary) to automatically check CVS for a versionX copy of a Serialized object, so we can make sure that compatibility is maintained. See, for example,

Re: Util Dispersion

2002-02-25 Thread Lavandowska
Christoph, I like your name suggestion! Bay, are you talking about making the build conditional? If so, check out the conditional javac stuff I wrote for the build.xml in utils (in regards to RequestUtils ExtendedBrowserDetector). You may have to go back a version (of build.xml) as the

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestObject.java

2002-02-25 Thread morgand
morgand 02/02/25 10:14:57 Modified:collections/src/test/org/apache/commons/collections TestObject.java Log: description of COLLECTIONS_VERSION constant Revision ChangesPath 1.5 +8 -4

Re: Util Dispersion

2002-02-25 Thread Henri Yandell
Nah, I'm just wanting to make the Util package import the Lang package :) Simple stuff I'm sure, just not something I've looked at yet. Or are you saying having something that only compiles XmlString if Lang package is available? On Mon, 25 Feb 2002, Lavandowska wrote: Christoph, I like your

Re: [AltRMI] multiplexing over single connection

2002-02-25 Thread Paul Hammant
Vinay, Paul, So would the right place to export an Object from an API standpoint be : AltrmiFactory.exposeObject(Object o); You mean in the context of BEEP and the layer it represents inside AltRMI ? I don't quite understand what you are asking here AltrmiFactory is a client-side class,

cvs commit: jakarta-commons-sandbox/util build.xml

2002-02-25 Thread bayard
bayard 02/02/25 10:44:27 Modified:util build.xml Log: updated the build so it is dependent on the lang. note that lang will also update soon as I didn't have its build.xml right. it's all a learning thing :) Revision ChangesPath 1.12 +9 -43

cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io/id - New directory

2002-02-25 Thread rdonkin
rdonkin 02/02/25 10:44:49 jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io/id - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/cvs - New directory

2002-02-25 Thread rdonkin
rdonkin 02/02/25 10:45:30 jakarta-commons-sandbox/cvs - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/util/src/java/org/apache/commons/util XmlUtils.java

2002-02-25 Thread bayard
bayard 02/02/25 10:47:25 Modified:util/src/java/org/apache/commons/util XmlUtils.java Log: Changed to use lang.Strings. The name of this file will be changing to XmlString or XmlStrings at some point. However I am delaying this name change as I will probably create a xml/

cvs commit: jakarta-commons-sandbox/lang/src/conf - New directory

2002-02-25 Thread bayard
bayard 02/02/25 10:48:00 jakarta-commons-sandbox/lang/src/conf - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/lang/src/conf MANIFEST.MF

2002-02-25 Thread bayard
bayard 02/02/25 10:49:28 Added: lang/src/conf MANIFEST.MF Log: All important manifest that's needed to make a jar :) Revision ChangesPath 1.1 jakarta-commons-sandbox/lang/src/conf/MANIFEST.MF Index: MANIFEST.MF

cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io/id AbstractIDGenerator.java RandomIDGenerator.java SequentialIDGenerator.java package.html

2002-02-25 Thread rdonkin
rdonkin 02/02/25 11:07:15 Modified:betwixt/src/java/org/apache/commons/betwixt XMLBeanInfo.java XMLIntrospector.java betwixt/src/java/org/apache/commons/betwixt/io BeanWriter.java Added:

Re: Util Dispersion

2002-02-25 Thread Henri Yandell
Just to confirm, I found the time to understand the way in which dependencies were handled and now Lang and Util are both ant compile and ant dist'ing for me. I plan to change the name of XmlUtils to xml.XmlStrings a bit later. On Mon, 25 Feb 2002, Henri Yandell wrote: Nah, I'm just wanting

Re: [lang] NumberRange contribution

2002-02-25 Thread Henri Yandell
Hi Christopher, Definitely seems worth including. I've got a math.Interval class I wrote to be a range of two doubles (while reading a lisp book) and was wondering if you'd think the following methods would do well in NumberRange: NumberRange add(NumberRange) NumberRange sub(NumberRange)

[Betwixt] ID-IDREF solution to cyclic reference problem

2002-02-25 Thread robert burrell donkin
i've just committed code that stamps IDs on elements and then uses IDREFs to solve the cyclic reference problem. it's been delayed since it took me a while to find a good way to implement it. i should probably say something about the changes to org.apache.commons.betwixt.io.BeanWriter since

Re: [lang] NumberRange contribution

2002-02-25 Thread Christopher Elkins
On Mon, Feb 25, 2002 at 08:59:40AM -0800, Daniel Rall wrote: Christopher Elkins [EMAIL PROTECTED] writes: (P.S. Why are seemingly all of the commons modules allergic to using Ant's junit task? I couldn't get the current test target to work at all, so I was forced to hack in a temporary

Re: [lang] NumberRange contribution

2002-02-25 Thread Christopher Elkins
On Mon, Feb 25, 2002 at 02:19:01PM -0500, Henri Yandell wrote: Definitely seems worth including. I've got a math.Interval class I wrote to be a range of two doubles (while reading a lisp book) and was wondering if you'd think the following methods would do well in NumberRange: NumberRange

[httpclient] Proxy and release questions.

2002-02-25 Thread Bill Cutshall
I just discovered Http Client about a week ago. It's just what I need for a project that I'm working on. I have a few questions, though: 1. In message http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg03518.html Rodney intimates that that Http Client is close to being a 2.0

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/generator ProxyGeneratorImpl.java

2002-02-25 Thread hammant
hammant 02/02/25 12:32:57 Modified:altrmi/src/java/org/apache/commons/altrmi/client/impl BaseServedObject.java altrmi/src/java/org/apache/commons/altrmi/generator ProxyGeneratorImpl.java Log: renames for simplicity

RE: Digester and Struts...

2002-02-25 Thread Keith Chew
Hi Craig !ENTITY part1 SYSTEM part1.xml was what I started off with, but it didn't work. Then I tried !ENTITY part1 SYSTEM file:part1.xml but no joy. Finally I tried: !ENTITY part1 SYSTEM file:C:\projects\test\WEB-INF\part1.xml it worked! I would really like to use !ENTITY

Re: [httpclient] Sorted cookie patch broken

2002-02-25 Thread dIon Gillard
Marc Saegesser wrote: The recent patch to sort the cookies in the Cookie header according to path (per RFC 2109/4.3.4) is broken and results in some cookies not being sent back to the server. The problem is that SortedMap uses compare() to test for equality instead of calling equals(). Since

RE: [httpclient] Sorted cookie patch broken

2002-02-25 Thread Marc Saegesser
Yep, I've got other work to do for new test cases and that I'm hoping to get to later this week. I'll take a look at the this test while I'm in there. Marc Saegesser -Original Message- From: dIon Gillard [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:31 PM To:

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestMap.java TestObject.java

2002-02-25 Thread morgand
morgand 02/02/25 12:57:08 Modified:collections/src/test/org/apache/commons/collections TestMap.java TestObject.java Log: changed 'String COLLECTIONS_VERSION' to 'int COLLECTIONS_MAJOR_VERSION', separated COLLECTIONS_MAJOR_VERSION from COMPATIBILITY_VERSION

Re: integrate security frameworks

2002-02-25 Thread Juozas Baliuka
Hi, skip I've been expecting this conversation to find its way to commons sooner or later. I actually thought it might be me to start it. I think there is some simultaneous security wheel invention happening (maybe re-invention). Might be a good thing. I know at least Turbine and Avalon

cvs commit: jakarta-commons-sandbox/lang build.properties.sample

2002-02-25 Thread dlr
dlr 02/02/25 13:04:09 Modified:lang build.properties.sample Log: Added ending line break. Revision ChangesPath 1.2 +1 -1 jakarta-commons-sandbox/lang/build.properties.sample Index: build.properties.sample

cvs commit: jakarta-commons-sandbox/lang/src/conf MANIFEST.MF

2002-02-25 Thread dlr
dlr 02/02/25 13:05:16 Modified:lang/src/conf MANIFEST.MF Log: Use Ant's filter task to pre-process the version during a build. Revision ChangesPath 1.2 +1 -1 jakarta-commons-sandbox/lang/src/conf/MANIFEST.MF Index: MANIFEST.MF

cvs commit: jakarta-commons-sandbox/util/src/conf MANIFEST.MF

2002-02-25 Thread dlr
dlr 02/02/25 13:06:18 Modified:util/src/conf MANIFEST.MF Log: Use Ant's filter task to pre-process the version during a build. Revision ChangesPath 1.3 +1 -1 jakarta-commons-sandbox/util/src/conf/MANIFEST.MF Index: MANIFEST.MF

Re: Release version constant in TestObject [was: Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestObject.java]

2002-02-25 Thread Daniel Rall
Ah, okay. Thanks Morgan. Dan Morgan Delagrange [EMAIL PROTECTED] writes: Sorry, I didn't notice this email initially. This constant makes it possible for TestMap (and other subclasses, if necessary) to automatically check CVS for a versionX copy of a Serialized object, so we can make

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client AltrmiFactoryFactory.java

2002-02-25 Thread hammant
hammant 02/02/25 13:27:18 Added: altrmi/src/java/org/apache/commons/altrmi/client AltrmiFactoryFactory.java Log: Initial design for FactoryFactory Revision ChangesPath 1.1

[AltRMI] Initial design for FactoryFactory

2002-02-25 Thread Paul Hammant
Vinay, Related to our need for a) JNDI lookup and b) server redirection Take a look org.apache.commons.altrmi.client.AltrmiFactoryFactory. A default impl of that interface could have a set of registered 'providers' that could could construct or reuse an AltrmiFactory for a given

cvs commit: jakarta-commons-sandbox/betwixt/src/test/org/apache/commons/betwixt/expression TestEvaluation.java

2002-02-25 Thread rdonkin
rdonkin 02/02/25 14:04:24 Modified:betwixt/src/java/org/apache/commons/betwixt/expression Context.java betwixt/src/test/org/apache/commons/betwixt TestAll.java Removed: betwixt/src/test/org/apache/commons/betwixt/expression

Re: [AltRMI] multiplexing over single connection

2002-02-25 Thread Paul Hammant
Vinay, Paul, I was aiming along the lines of UnicastRemoteObject.exportObject(Remote obj) . For the EventNotifier example I was trying to come with , the Subscriber exports itself and passes the reference of it to the Server. Subscriber: // SubscriberInterface.java public interface

Re: Release version constant in TestObject [was: Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestObject.java]

2002-02-25 Thread Morgan Delagrange
Although, come to think of it, it may make sense to have a separate compatibility constant, so that subclasses can indicate compatibility with earlier versions. - Morgan - Original Message - From: Daniel Rall [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Cc:

Re: cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestIterator.java TestArrayIterator.java

2002-02-25 Thread Morgan Delagrange
I didn't really add that line, it already existed. :) I had to reformat the file, it had funky line feeds. Does anyone know what causes that phenomenon? - Morgan - Original Message - From: Daniel Rall [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent:

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestAll.java

2002-02-25 Thread morgand
morgand 02/02/25 15:15:29 Modified:collections/src/test/org/apache/commons/collections TestAll.java Log: was missing TestFilterIterator Revision ChangesPath 1.17 +5 -4

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestIterator.java

2002-02-25 Thread morgand
morgand 02/02/25 15:26:25 Modified:collections/src/test/org/apache/commons/collections TestIterator.java Log: more details for hasNext() testing Revision ChangesPath 1.3 +7 -3

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestFilterIterator.java

2002-02-25 Thread morgand
morgand 02/02/25 15:26:44 Modified:collections/src/test/org/apache/commons/collections TestFilterIterator.java Log: added base class for testing iterators Revision ChangesPath 1.2 +53 -4

Re: [AltRMI] multiplexing over single connection

2002-02-25 Thread vinaysahil chandran
Hey dude, you're scaring me with RMI interfaces! Sorry not my intention but somehow couldn't stop thinking of this example over Altrmi without much of an modification... Pub/Sub is just an fancy name for callbacks not so? Are we not talking about the same thing? We are ... Maybe I

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestIterator.java

2002-02-25 Thread morgand
morgand 02/02/25 15:37:38 Modified:collections/src/test/org/apache/commons/collections TestIterator.java Log: added methods to allow for iterators that can't be full, or that can't be empty Revision ChangesPath 1.4 +30 -3

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestSingletonIterator.java

2002-02-25 Thread morgand
morgand 02/02/25 15:37:48 Modified:collections/src/test/org/apache/commons/collections TestSingletonIterator.java Log: added base class for testing iterators Revision ChangesPath 1.2 +136 -112

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestArrayList.java TestCursorableLinkedList.java TestList.java

2002-02-25 Thread morgand
morgand 02/02/25 15:51:24 Modified:collections/src/test/org/apache/commons/collections TestArrayList.java TestCursorableLinkedList.java TestList.java Log: changed the makeList() method to makeEmptyList() Revision ChangesPath

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestMap.java TestObject.java TestSequencedHashMap.java

2002-02-25 Thread morgand
morgand 02/02/25 16:08:07 Modified:collections/src/test/org/apache/commons/collections TestMap.java TestObject.java TestSequencedHashMap.java Log: changed compatibility version to a method, and had it default to the maximum level of

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestMultiHashMap.java

2002-02-25 Thread morgand
morgand 02/02/25 16:13:37 Modified:collections/src/test/org/apache/commons/collections TestMultiHashMap.java Log: fixed funky line feeds and indicated that MultiHashMap is new to Collections 2.x Revision ChangesPath 1.3 +231 -226

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestAll.java

2002-02-25 Thread morgand
morgand 02/02/25 16:17:24 Modified:collections/src/test/org/apache/commons/collections TestAll.java Log: took out test cases that ran against JDK classes directly Revision ChangesPath 1.19 +4 -6

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestFastHashMap.java TestFastTreeMap.java TestHashMap.java TestSoftRefHashMap.java TestTreeMap.java

2002-02-25 Thread morgand
morgand 02/02/25 16:31:32 Modified:collections/src/test/org/apache/commons/collections TestFastHashMap.java TestFastTreeMap.java TestHashMap.java TestSoftRefHashMap.java TestTreeMap.java Log: fixed errors where

cvs commit: jakarta-commons/collections/data/test TreeMap.emptyMap.version2.obj TreeMap.fullMap.version2.obj

2002-02-25 Thread morgand
morgand 02/02/25 16:32:41 Removed: collections/data/test TreeMap.emptyMap.version2.obj TreeMap.fullMap.version2.obj Log: no need to test classes included in the JVM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: [logging] minor patch applied for AccessControlExceptioncatching...

2002-02-25 Thread costinm
On Tue, 26 Feb 2002, James Strachan wrote: I've just committed a minor patch to the SimpleLog class that catches any security exceptions thrown inside the class constructor (when accessing system properties) which occur when using the commons-logging component inside a container. Good catch

Re: [logging] minor patch applied for AccessControlExceptioncatching...

2002-02-25 Thread Craig R. McClanahan
On Mon, 25 Feb 2002 [EMAIL PROTECTED] wrote: Date: Mon, 25 Feb 2002 20:31:50 -0800 (PST) From: [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: Re: [logging] minor patch applied for

[digester] lowering logging level of a couple of messages...

2002-02-25 Thread James Strachan
Would anyone have any complaints if I lowered the logging level of the current startDocument() and endDocument() messages? Right now commons-logger defaults to SimpleLog with INFO which means anything that uses a digester always gets start/endDocument() messages appearing which don't add much

Re: [digester] lowering logging level of a couple of messages...

2002-02-25 Thread Craig R. McClanahan
On Tue, 26 Feb 2002, James Strachan wrote: Date: Tue, 26 Feb 2002 04:47:57 - From: James Strachan [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: Jakarta Commons Developers [EMAIL PROTECTED] Subject: [digester] lowering logging level of a couple of

Re: [Betwixt] ID-IDREF solution to cyclic reference problem

2002-02-25 Thread James Strachan
From: robert burrell donkin [EMAIL PROTECTED] i've just committed code that stamps IDs on elements and then uses IDREFs to solve the cyclic reference problem. it's been delayed since it took me a while to find a good way to implement it. Thanks robert - it looks great. i should probably say

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestArrayIterator2.java

2002-02-25 Thread morgand
morgand 02/02/25 21:41:51 Removed: collections/src/test/org/apache/commons/collections Tag: collections_1_x_branch TestArrayIterator2.java Log: remove test class, which was based on code never released in Collections 1.0 -- To unsubscribe, e-mail:

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestAll.java

2002-02-25 Thread morgand
morgand 02/02/25 21:44:14 Modified:collections/src/test/org/apache/commons/collections Tag: collections_1_x_branch TestAll.java Log: remove test class, which was based on code never released in Collections 1.0 Revision ChangesPath No

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestAll.java TestFastHashMap.java TestFastTreeMap.java TestHashMap.java TestLRUMap.java TestMap.java TestSoftRefHashMap.java TestTreeMap.java

2002-02-25 Thread morgand
morgand 02/02/25 22:17:52 Modified:collections/src/test/org/apache/commons/collections Tag: collections_1_x_branch TestAll.java TestFastHashMap.java TestFastTreeMap.java TestHashMap.java TestLRUMap.java

RE: commons dbcp or pool problems

2002-02-25 Thread Aaron Smuts
You can easily take out Oracle this way, even by just not closing statements on reaped connections. This is very dangerous. I have a *practically* fool proof pooling technique that we are working on. I may have something in a few days. To sort of give it away -- we clean up after each

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestMap.java

2002-02-25 Thread morgand
morgand 02/02/25 22:28:41 Modified:collections/src/test/org/apache/commons/collections Tag: collections_1_x_branch TestMap.java Log: removing some unwanted code Revision ChangesPath No revision No

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestLRUMap.java

2002-02-25 Thread morgand
morgand 02/02/25 22:31:13 Modified:collections/src/test/org/apache/commons/collections Tag: collections_1_x_branch TestLRUMap.java Log: use default size for LRUMap Revision ChangesPath No revision No

cvs commit: jakarta-commons/collections/data/test FastHashMap.emptyMap.version1.obj FastHashMap.fullMap.version1.obj FastTreeMap.emptyMap.version1.obj FastTreeMap.fullMap.version1.obj LRUMap.emptyMap.version1.obj LRUMap.fullMap.version1.obj LRUMapVersion1.obj

2002-02-25 Thread morgand
morgand 02/02/25 22:33:29 Added: collections/data/test Tag: collections_1_x_branch FastHashMap.emptyMap.version1.obj FastHashMap.fullMap.version1.obj FastTreeMap.emptyMap.version1.obj

cvs commit: jakarta-commons/collections/data/test FastHashMap.emptyMap.version1.obj FastHashMap.fullMap.version1.obj FastTreeMap.emptyMap.version1.obj FastTreeMap.fullMap.version1.obj

2002-02-25 Thread morgand
morgand 02/02/25 22:36:21 Added: collections/data/test FastHashMap.emptyMap.version1.obj FastHashMap.fullMap.version1.obj FastTreeMap.emptyMap.version1.obj FastTreeMap.fullMap.version1.obj Log: Serialized