You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Robert <rm...@bull-enterprises.com> on 2002/05/06 20:58:29 UTC

Configuration value woes

I have a problem with using CDATA sections in my values. It seems that
from time to time spaces will get eliminated from the value. Meaning
that something like: "hello there java guru" might come out like "hello
there javaguru". Is this more of a problem with the SAXParser, or the
configuration objects potentially doing this? I'm guessing the SAXParser
(xerces in my case), but wanted to ask. 
 
Oh, if I don't use CDATA, it works fine, and it will do it on some CDATA
sections and not on others. Really weird. Just FYI, I need to use cdata
sections in some cases because of the use of the '<' and '>' signs in
SQL statements.
 
And on a semi-related subject, are there any known issues with the
Excalibur DataSource components? We just switched form PoolMan because
of configuration and license issues to the Excalibur components and
wanted to make sure all was well. Peter Donald mentioned that the
Excalibur one was faster, but that was about it. 
 
Thanks in advance!
 
Robert

Re: Configuration value woes

Posted by Peter Donald <pe...@apache.org>.
On Tue, 7 May 2002 08:05, Robert wrote:
> So I assume that means it will switch licenses? 

yep - to Apache. 

> Yet another downside, depending on ones point of view, is that it would
> be yet another object pool mechanism and JDBC pooling mechanism :-)

true ;)

-- 
Cheers,

Peter Donald


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuration value woes

Posted by Robert <rm...@bull-enterprises.com>.
So I assume that means it will switch licenses? We spent a couple of
hours going over that LPGL license and decided it wasn't worth trying to
figure it out.

Yet another downside, depending on ones point of view, is that it would
be yet another object pool mechanism and JDBC pooling mechanism :-)

- Robert

-----Original Message-----
From: Peter Donald [mailto:peter@apache.org] 
Sent: Monday, May 06, 2002 4:01 PM
To: Avalon Developers List
Subject: Re: Configuration value woes

On Tue, 7 May 2002 04:58, Robert wrote:
> And on a semi-related subject, are there any known issues with the
> Excalibur DataSource components? We just switched form PoolMan because
> of configuration and license issues to the Excalibur components and

JFYI, Poolman looks like it is coming to Apache now and will be a seed
project 
for new toplevel project (db.apache.org).

-- 
Cheers,

Peter Donald


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Configuration value woes

Posted by Peter Donald <pe...@apache.org>.
On Tue, 7 May 2002 04:58, Robert wrote:
> And on a semi-related subject, are there any known issues with the
> Excalibur DataSource components? We just switched form PoolMan because
> of configuration and license issues to the Excalibur components and

JFYI, Poolman looks like it is coming to Apache now and will be a seed project 
for new toplevel project (db.apache.org).

-- 
Cheers,

Peter Donald


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuration value woes

Posted by Berin Loritsch <bl...@apache.org>.
> From: Robert [mailto:rmcintosh@bull-enterprises.com] 
> 
> I will certainly do so. Thanks a bunch and glad to hear about 
> the datasource components too!

Cool beans.

> 
> Nope, it has to do with eager trimming in 
> SAXConfigurationHandler.characters. It is one of the wrinkles 
> that Laura's, Leo's, and now mine patch addressed.
> 
> Robert, could you try: 
> http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id
=1795


Patch applied.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuration value woes

Posted by Robert <rm...@bull-enterprises.com>.
I will certainly do so. Thanks a bunch and glad to hear about the
datasource components too!

- Robert

-----Original Message-----
From: Gregory Steuck [mailto:greg-avalon-dev@nest.cx] 
Sent: Monday, May 06, 2002 2:09 PM
To: Avalon Developers List; bloritsch@apache.org;
rmcintosh@bull-enterprises.com
Subject: RE: Configuration value woes

>>>>> "Berin" == Berin Loritsch <bl...@apache.org> writes:

    >> Oh, if I don't use CDATA, it works fine, and it will do it on
    >> some CDATA sections and not on others. Really weird. Just FYI,
    >> I need to use cdata sections in some cases because of the use
    >> of the '<' and '>' signs in SQL statements.

    Berin> Hmm.  That's a good question.  I wonder if this has
    Berin> something to do with "ignorable whitespace"

Nope, it has to do with eager trimming in
SAXConfigurationHandler.characters. It is one of the wrinkles that
Laura's, Leo's, and now mine patch addressed.

Robert, could you try:
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=1795

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuration value woes

Posted by Gregory Steuck <gr...@nest.cx>.
>>>>> "Berin" == Berin Loritsch <bl...@apache.org> writes:

    >> Oh, if I don't use CDATA, it works fine, and it will do it on
    >> some CDATA sections and not on others. Really weird. Just FYI,
    >> I need to use cdata sections in some cases because of the use
    >> of the '<' and '>' signs in SQL statements.

    Berin> Hmm.  That's a good question.  I wonder if this has
    Berin> something to do with "ignorable whitespace"

Nope, it has to do with eager trimming in
SAXConfigurationHandler.characters. It is one of the wrinkles that
Laura's, Leo's, and now mine patch addressed.

Robert, could you try:
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=1795

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuration value woes

Posted by Berin Loritsch <bl...@apache.org>.
> From: Robert [mailto:rmcintosh@bull-enterprises.com] 
> 
> I have a problem with using CDATA sections in my values. It 
> seems that from time to time spaces will get eliminated from 
> the value. Meaning that something like: "hello there java 
> guru" might come out like "hello there javaguru". Is this 
> more of a problem with the SAXParser, or the configuration 
> objects potentially doing this? I'm guessing the SAXParser 
> (xerces in my case), but wanted to ask. 
>  
> Oh, if I don't use CDATA, it works fine, and it will do it on 
> some CDATA sections and not on others. Really weird. Just 
> FYI, I need to use cdata sections in some cases because of 
> the use of the '<' and '>' signs in SQL statements.

Hmm.  That's a good question.  I wonder if this has something
to do with "ignorable whitespace"

>  
> And on a semi-related subject, are there any known issues 
> with the Excalibur DataSource components? We just switched 
> form PoolMan because of configuration and license issues to 
> the Excalibur components and wanted to make sure all was 
> well. Peter Donald mentioned that the Excalibur one was 
> faster, but that was about it. 


The DataSourceComponent is in full use in Cocoon, Phoenix,
and other projects.  The known issues have been dealt with.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>