Re: [VOTE] Release Cocoon Serializers Charset and Block

2009-10-13 Thread David Legg

Carsten Ziegeler wrote:

please vote on a first release of these two artifacts:

Apache Cocoon Serializers Charsets 1.0.0
http://people.apache.org/builds/cocoon/org/apache/cocoon/cocoon-serializers-charsets/1.0.0/

and

Apache Cocoon Serializers Block 1.0.0
http://people.apache.org/builds/cocoon/org/apache/cocoon/cocoon-serializers-impl/1.0.0/
  


+1

I look forward to the addition of this block though I wonder what sort 
of confusion will arise when users start talking about the 'HTMLSerializer'!


Do they mean:
 org.apache.cocoon.serialization.HTMLSerializer 
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/serialization/HTMLSerializer.html

or maybe:
 org.apache.cocoon.components.serializers.HTMLSerializer

I updated the old HTMLSerializer document page [1] and mentioned that 
two implementations exist.  The same will need doing for the new 
serializers.


[1] 
http://cocoon.zones.apache.org/daisy/cdocs/g1/g1/g2/g4/Serializer/896.html


Regards,
David Legg



Re: [VOTE] Release Cocoon Serializers Charset and Block

2009-10-13 Thread Thorsten Scherler
On Fri, 2009-10-09 at 14:23 +0200, Carsten Ziegeler wrote:
 Hi,
 
 please vote on a first release of these two artifacts:
 
 Apache Cocoon Serializers Charsets 1.0.0
 http://people.apache.org/builds/cocoon/org/apache/cocoon/cocoon-serializers-charsets/1.0.0/
 
 and
 
 Apache Cocoon Serializers Block 1.0.0
 http://people.apache.org/builds/cocoon/org/apache/cocoon/cocoon-serializers-impl/1.0.0/
 
 The first artifact is a general purpose library with the basic code for
 the serializers. The block uses this lib to add some new serializers to
 Cocoon.
 
 Please cast your votes.

+1

salu2
-- 
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)






Re: Admin rights for cocoon3 jira

2009-10-13 Thread Thorsten Scherler
On Fri, 2009-10-09 at 10:59 +0200, Thorsten Scherler wrote:
 Hi all,
 
 I wanted to assign COCOON3-43 to myself but I cannot due to insufficient
 rights.
 
 Can somebody fix that for me. TIA

Anybody? Pretty please.

salu2
-- 
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)






Re: Admin rights for cocoon3 jira

2009-10-13 Thread Carsten Ziegeler
Thorsten Scherler wrote:
 On Fri, 2009-10-09 at 10:59 +0200, Thorsten Scherler wrote:
 Hi all,

 I wanted to assign COCOON3-43 to myself but I cannot due to insufficient
 rights.

 Can somebody fix that for me. TIA
 
 Anybody? Pretty please.
 
If I did everything correctly it should work now

Carsten

-- 
Carsten Ziegeler
cziege...@apache.org


Re: Admin rights for cocoon3 jira

2009-10-13 Thread Thorsten Scherler
On Tue, 2009-10-13 at 13:20 +0200, Carsten Ziegeler wrote:
 Thorsten Scherler wrote:
  On Fri, 2009-10-09 at 10:59 +0200, Thorsten Scherler wrote:
  Hi all,
 
  I wanted to assign COCOON3-43 to myself but I cannot due to insufficient
  rights.
 
  Can somebody fix that for me. TIA
  
  Anybody? Pretty please.
  
 If I did everything correctly it should work now

Thank you very much Carsten. 

It is working fine.

salu2
 
-- 
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)






[jira] Assigned: (COCOON3-43) Provide a Consumer that interacts with solr

2009-10-13 Thread Thorsten Scherler (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler reassigned COCOON3-43:


Assignee: Thorsten Scherler  (was: Cocoon Developers Team)

 Provide a Consumer that interacts with solr
 ---

 Key: COCOON3-43
 URL: https://issues.apache.org/jira/browse/COCOON3-43
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-sax
Reporter: Bertil Chapuis
Assignee: Thorsten Scherler
 Attachments: SolrConsumer.patch


 In solr, the org.apache.solr.handler.XMLLoader class allows to save xml 
 documents in a solr index. In the same way, cocoon could provides a 
 SAXConsumer that lets save documents in a solr index. 
 The input document should respect a structure as this one:
 docs
 doc
 field name=... boost=../field
 /doc
 ...
 /docs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (COCOON3-43) Provide a Consumer that interacts with solr

2009-10-13 Thread Thorsten Scherler (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler closed COCOON3-43.


Resolution: Fixed
  Assignee: (was: Thorsten Scherler)

Committed revision 824705.

Thanks Bertil.

 Provide a Consumer that interacts with solr
 ---

 Key: COCOON3-43
 URL: https://issues.apache.org/jira/browse/COCOON3-43
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-sax
Reporter: Bertil Chapuis
 Attachments: SolrConsumer.patch


 In solr, the org.apache.solr.handler.XMLLoader class allows to save xml 
 documents in a solr index. In the same way, cocoon could provides a 
 SAXConsumer that lets save documents in a solr index. 
 The input document should respect a structure as this one:
 docs
 doc
 field name=... boost=../field
 /doc
 ...
 /docs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: svn commit: r824705 - in /cocoon/cocoon3/trunk/cocoon-optional: ./ solr/ solr/conf/ src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/ src/test/java/org/apache/cocoon/optional/

2009-10-13 Thread Reinhard Pötz
thors...@apache.org wrote:
 Author: thorsten
 Date: Tue Oct 13 11:33:26 2009
 New Revision: 824705
 
 URL: http://svn.apache.org/viewvc?rev=824705view=rev
 Log:
 COCOON3-43
 Provide a Consumer that interacts with solr
 Reporter and Patch-Provder: Bertil Chapuis
 Thanks Bertil.
 

 +public void characters(char[] ch, int start, int length)
 +throws SAXException {
 +text += new String(Arrays.copyOfRange(ch, start, start + length));
 +getSAXConsumer().characters(ch, start, length);
 +}

Arrays.copyOfRange() comes with JDK 1.6. Can you please replace it with
an 1.5 compliant alternative? Thanks!

-- 
Reinhard Pötz   Managing Director, {Indoqa} GmbH
 http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member  reinh...@apache.org



Re: [VOTE] Release Cocoon Serializers Charset and Block

2009-10-13 Thread Alfred Nathaniel
On Fri, 2009-10-09 at 14:23 +0200, Carsten Ziegeler wrote:

 Please cast your votes.

+1

Cheers, Alfred.



Re: svn commit: r824705 - in /cocoon/cocoon3/trunk/cocoon-optional: ./ solr/ solr/conf/ src/main/java/org/apache/cocoon/optional/pipeline/components/sax/solr/ src/test/java/org/apache/cocoon/optional/

2009-10-13 Thread Thorsten Scherler


On 13/10/2009, at 23:02, Reinhard Pötz wrote:


thors...@apache.org wrote:

Author: thorsten
Date: Tue Oct 13 11:33:26 2009
New Revision: 824705

URL: http://svn.apache.org/viewvc?rev=824705view=rev
Log:
COCOON3-43
Provide a Consumer that interacts with solr
Reporter and Patch-Provder: Bertil Chapuis
Thanks Bertil.




+public void characters(char[] ch, int start, int length)
+throws SAXException {
+text += new String(Arrays.copyOfRange(ch, start, start +  
length));

+getSAXConsumer().characters(ch, start, length);
+}


Arrays.copyOfRange() comes with JDK 1.6. Can you please replace it  
with

an 1.5 compliant alternative? Thanks!



Good catch, should be fixed now.

Committed revision 824959.

salu2

--
Reinhard Pötz   Managing Director, {Indoqa}  
GmbH
http://www.indoqa.com/en/people/ 
reinhard.poetz/


Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member  reinh...@apache.org