<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>dev@abdera.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/abdera-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/abdera-dev/</id>
<updated>2009-12-08T18:25:46Z</updated>
<entry>
<title>Re: Activity Streams Abdera Extension published</title>
<author><name>ant elder &lt;antelder@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c71e1b5740911180550n69702016lb42e02bdc6162618@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740911180550n69702016lb42e02bdc6162618@mail-gmail-com%3e</id>
<updated>2009-11-18T13:50:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Fantastic.

The process is mainly formalities of verifying the IP of the code to
be donated,  see
http://incubator.apache.org/ip-clearance/ip-clearance-template.html.
If you're happy to sign those legal forms then the actual process
would be wait for a few days to see if others have comments on this
thread, then hold a formal vote here to accept the code and making the
activitystreams people Abdera committers, then we'd submitted the
paper work, wait a few more days, then import the code and make you
all committers. Does that sounds ok?

I expect the main reason anyone here might object would be if it was
to just be a code dump with no intention of staying to helping
maintain the code in the future - thats not the case is it? You guys
would like to help support and maintain it and perhaps even get more
involved in Abdera?

   ...ant

On Wed, Nov 18, 2009 at 1:03 PM, Darren Bounds &lt;darren@cliqset.com&gt; wrote:
&gt; Absolutely. In fact that was our intention.
&gt;
&gt; How do we go about it?
&gt;
&gt; --
&gt; darren bounds
&gt; darren@cliqset.com
&gt;
&gt; On Nov 18, 2009 3:07 AM, "ant elder" &lt;ant.elder@gmail.com&gt; wrote:
&gt;
&gt; On Tue, Nov 17, 2009 at 3:15 AM, Darren Bounds &lt;darren@cliqset.com&gt; wrote: &gt;
&gt; Hey everyone, &gt; &gt; We've...
&gt; Looks good. Would you consider donating that code here and joining the
&gt; Apache Abdera project?
&gt;
&gt;  ...ant
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Activity Streams Abdera Extension published</title>
<author><name>Darren Bounds &lt;darren@cliqset.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c195c952a0911180503m37d6feeeh6289cc59671351bf@mail.gmail.com%3e"/>
<id>urn:uuid:%3c195c952a0911180503m37d6feeeh6289cc59671351bf@mail-gmail-com%3e</id>
<updated>2009-11-18T13:03:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Absolutely. In fact that was our intention.

How do we go about it?

--
darren bounds
darren@cliqset.com

On Nov 18, 2009 3:07 AM, "ant elder" &lt;ant.elder@gmail.com&gt; wrote:

On Tue, Nov 17, 2009 at 3:15 AM, Darren Bounds &lt;darren@cliqset.com&gt; wrote: &gt;
Hey everyone, &gt; &gt; We've...
Looks good. Would you consider donating that code here and joining the
Apache Abdera project?

  ...ant


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Re-engaging</title>
<author><name>ant elder &lt;ant.elder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c71e1b5740911180009m70db8b3enbda3ca32f1ddefd3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740911180009m70db8b3enbda3ca32f1ddefd3@mail-gmail-com%3e</id>
<updated>2009-11-18T08:09:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Good to hear James.

   ...ant

On Tue, Nov 17, 2009 at 7:19 PM, James M Snell &lt;jasnell@gmail.com&gt; wrote:
&gt; Hello All,
&gt;
&gt; Just a general FYI... A recent job change at IBM pulled me away from all
&gt; things Atom to focus on security technologies. I'd been hoping that the
&gt; community would pick things up and move forward but unfortunately there just
&gt; doesn't seem to be much going on. In order to help get things jump started
&gt; again, I plan on re-engaging with Abdera in the weeks following the
&gt; thanksgiving holiday.
&gt;
&gt; - James
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Activity Streams Abdera Extension published</title>
<author><name>ant elder &lt;ant.elder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c71e1b5740911180007q4ef4d8c7m57255e41d443a685@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740911180007q4ef4d8c7m57255e41d443a685@mail-gmail-com%3e</id>
<updated>2009-11-18T08:07:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Nov 17, 2009 at 3:15 AM, Darren Bounds &lt;darren@cliqset.com&gt; wrote:
&gt; Hey everyone,
&gt;
&gt; We've published the initial release of our Activity Streams
&gt; (http://activitystrea.ms/) Abdera extension to Google Code. This
&gt; library is a generic version of the library we use internally here at
&gt; Cliqset. We hope it will be useful to others who're interested in
&gt; consuming and producing Activity Streams compliant Atom feeds.
&gt;
&gt; The project can be found here: http://code.google.com/p/abdera-activitystreams
&gt;
&gt; Please let me know if you have any questions.
&gt;
&gt; --
&gt; darren bounds
&gt; darren@cliqset.com
&gt;

Looks good. Would you consider donating that code here and joining the
Apache Abdera project?

   ...ant


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Activity Streams Abdera Extension published</title>
<author><name>Lars Trieloff &lt;lars@trieloff.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c8d11d6560911172340g4e26bf71lecf5da5d82e67a2e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8d11d6560911172340g4e26bf71lecf5da5d82e67a2e@mail-gmail-com%3e</id>
<updated>2009-11-18T07:40:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Darren,

thank you, that will definitely be helpful. We plan to incorporate
activity streams in our products in future releases and this will make
our job a bit easier.

regards,

Lars

On Tue, Nov 17, 2009 at 4:15 AM, Darren Bounds &lt;darren@cliqset.com&gt; wrote:
&gt; Hey everyone,
&gt;
&gt; We've published the initial release of our Activity Streams
&gt; (http://activitystrea.ms/) Abdera extension to Google Code. This
&gt; library is a generic version of the library we use internally here at
&gt; Cliqset. We hope it will be useful to others who're interested in
&gt; consuming and producing Activity Streams compliant Atom feeds.
&gt;
&gt; The project can be found here: http://code.google.com/p/abdera-activitystreams
&gt;
&gt; Please let me know if you have any questions.
&gt;
&gt; --
&gt; darren bounds
&gt; darren@cliqset.com
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Help:Atom:Link</title>
<author><name>Ugo Cei &lt;u.cei@sourcesense.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c16E05EEA-ACD9-47CC-8537-7F71DEA47175@sourcesense.com%3e"/>
<id>urn:uuid:%3c16E05EEA-ACD9-47CC-8537-7F71DEA47175@sourcesense-com%3e</id>
<updated>2009-11-17T21:23:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 13, 2009, at 5:25 AM, Udomsak Donkhampai wrote:

&gt; I try to reader Atom and I  found error when in Atom has  '&amp;' in the  
&gt; link
&gt;
&gt;
&gt;
&gt; Example: &lt;link  href="http://news.google.com/news?ned=us&amp;topic=h&amp;output=atom

&gt; " rel="self" &gt;&lt;/link&gt;


The '&amp;'  character cannot be used non-escaped in an XML document and  
an Atom feed is an XML document. Actually, the feed that can be found  
at that URL has all occurrences of '&amp;' correctly escaped as '&amp;amp;' as  
it should be.

	Ugo

-- 
Ugo Cei
Sourcesense - making sense of Open Source: http://www.sourcesense.com



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Re-engaging</title>
<author><name>=?ISO-8859-1?Q?Niklas_Lindstr=F6m?= &lt;lindstream@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3ccf8107640911171259m420a8089of4b9228ddb34b18d@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccf8107640911171259m420a8089of4b9228ddb34b18d@mail-gmail-com%3e</id>
<updated>2009-11-17T20:59:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Wonderful; thanks James! I recently joined to ask about 1.0, the new
stuff in trunk etc. Got a bit spooked by the talk about apache attic..
So great so see you back! As previously mentioned, Abdera has a large
user base and deserve a 1.0 status.

(I know though that it's really up to the community to pitch in of
course. I haven't so much time I'm afraid, but I'd be glad to test,
report and provide assistance as much as I can.)

Best regards,
Niklas


On Tue, Nov 17, 2009 at 8:19 PM, James M Snell &lt;jasnell@gmail.com&gt; wrote:
&gt; Hello All,
&gt;
&gt; Just a general FYI... A recent job change at IBM pulled me away from all
&gt; things Atom to focus on security technologies. I'd been hoping that the
&gt; community would pick things up and move forward but unfortunately there just
&gt; doesn't seem to be much going on. In order to help get things jump started
&gt; again, I plan on re-engaging with Abdera in the weeks following the
&gt; thanksgiving holiday.
&gt;
&gt; - James
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Re-engaging</title>
<author><name>Luciano Resende &lt;luckbr1975@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c5a75db780911171122x5b9ce314ncf9a1729c7246ca1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5a75db780911171122x5b9ce314ncf9a1729c7246ca1@mail-gmail-com%3e</id>
<updated>2009-11-17T19:22:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Nov 17, 2009 at 11:19 AM, James M Snell &lt;jasnell@gmail.com&gt; wrote:
&gt; Hello All,
&gt;
&gt; Just a general FYI... A recent job change at IBM pulled me away from all
&gt; things Atom to focus on security technologies. I'd been hoping that the
&gt; community would pick things up and move forward but unfortunately there just
&gt; doesn't seem to be much going on. In order to help get things jump started
&gt; again, I plan on re-engaging with Abdera in the weeks following the
&gt; thanksgiving holiday.
&gt;
&gt; - James
&gt;
&gt;

Very good news, welcome back !


-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re-engaging</title>
<author><name>James M Snell &lt;jasnell@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c4B02F729.10907@gmail.com%3e"/>
<id>urn:uuid:%3c4B02F729-10907@gmail-com%3e</id>
<updated>2009-11-17T19:19:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello All,

Just a general FYI... A recent job change at IBM pulled me away from all 
things Atom to focus on security technologies. I'd been hoping that the 
community would pick things up and move forward but unfortunately there 
just doesn't seem to be much going on. In order to help get things jump 
started again, I plan on re-engaging with Abdera in the weeks following 
the thanksgiving holiday.

- James



</pre>
</div>
</content>
</entry>
<entry>
<title>Activity Streams Abdera Extension published</title>
<author><name>Darren Bounds &lt;darren@cliqset.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c195c952a0911161915t159ec1c8v1036e726ac44c9ba@mail.gmail.com%3e"/>
<id>urn:uuid:%3c195c952a0911161915t159ec1c8v1036e726ac44c9ba@mail-gmail-com%3e</id>
<updated>2009-11-17T03:15:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hey everyone,

We've published the initial release of our Activity Streams
(http://activitystrea.ms/) Abdera extension to Google Code. This
library is a generic version of the library we use internally here at
Cliqset. We hope it will be useful to others who're interested in
consuming and producing Activity Streams compliant Atom feeds.

The project can be found here: http://code.google.com/p/abdera-activitystreams

Please let me know if you have any questions.

-- 
darren bounds
darren@cliqset.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Help:Atom:Link</title>
<author><name>Jim Ancona &lt;jim@anconafamily.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c59af3fb30911131044k4803dc99oa3e78addb7758ee9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c59af3fb30911131044k4803dc99oa3e78addb7758ee9@mail-gmail-com%3e</id>
<updated>2009-11-13T18:44:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Nov 12, 2009 at 11:25 PM, Udomsak Donkhampai
&lt;UDonkhampai@vizrt.com&gt; wrote:
&gt; I try to reader Atom and I  found error when in Atom has  '&amp;' in the link

Atom documents must be well-formed XML, so the '&amp;' must be encoded as '&amp;amp;'.

Jim

&gt;
&gt;
&gt;
&gt; Example: &lt;link  href="http://news.google.com/news?ned=us&amp;topic=h&amp;output=atom"
rel="self" &gt;&lt;/link&gt;
&gt;
&gt; This error: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code
61); expected a semi-colon after the reference for entity 'topic'
&gt;
&gt;
&gt;
&gt; And I read  in http://www.ietf.org/rfc/rfc4287.txt
&gt;
&gt;
&gt;
&gt; 4.2.7.1.  The "href" Attribute
&gt;
&gt;
&gt;
&gt;   The "href" attribute contains the link's IRI. atom:link elements MUST
&gt;
&gt;   have an href attribute, whose value MUST be a IRI reference
&gt;
&gt;   [RFC3987].
&gt;
&gt;
&gt;
&gt; And IRI (http://www.ietf.org/rfc/rfc3987.txt)
&gt;
&gt;
&gt;   IRI            = scheme ":" ihier-part [ "?" iquery ]
&gt;                         [ "#" ifragment ]
&gt;
&gt;
&gt;
&gt; IRI allow to have  '&amp;' after '?' iquery
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; Do you have any idea for this problem?
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; Thank.
&gt;
&gt;
&gt;
&gt; Aom
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Help:Atom:Link</title>
<author><name>Udomsak Donkhampai &lt;UDonkhampai@vizrt.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3cA77BE2C53BEB254A8460CFDB15A86343711CAB74C0@mailaut.vizrt.internal%3e"/>
<id>urn:uuid:%3cA77BE2C53BEB254A8460CFDB15A86343711CAB74C0@mailaut-vizrt-internal%3e</id>
<updated>2009-11-13T04:25:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I try to reader Atom and I  found error when in Atom has  '&amp;' in the link



Example: &lt;link  href="http://news.google.com/news?ned=us&amp;topic=h&amp;output=atom" rel="self"
&gt;&lt;/link&gt;

This error: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61);
expected a semi-colon after the reference for entity 'topic'



And I read  in http://www.ietf.org/rfc/rfc4287.txt



4.2.7.1.  The "href" Attribute



   The "href" attribute contains the link's IRI. atom:link elements MUST

   have an href attribute, whose value MUST be a IRI reference

   [RFC3987].



And IRI (http://www.ietf.org/rfc/rfc3987.txt)


   IRI            = scheme ":" ihier-part [ "?" iquery ]
                         [ "#" ifragment ]



IRI allow to have  '&amp;' after '?' iquery





Do you have any idea for this problem?





Thank.



Aom








</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (ABDERA-251) Charset issue in FOMDiv.getInternalValue() leads to corrupt return value on non-ASCII platforms</title>
<author><name>&quot;Robin Fernandes (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c1126960827.1257953259587.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1126960827-1257953259587-JavaMail-jira@brutus%3e</id>
<updated>2009-11-11T15:27:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Robin Fernandes updated ABDERA-251:
-----------------------------------

    Description: 
In org.apache.abdera.parser.stax.FOMDiv.getInternalValue(), the content of the div is obtained
as a byte array using an XMLStreamWriter.
The content of the byte array is then converted to String using the default platform encoding
(using ByteArrayOutputStream.toString()), which may not be compatible with the encoding used
by the XMLStreamWriter.

A scenario in which this is problematic is if the XMLStreamWriter uses UTF8 (which is the
default behaviour), but FOMDiv.getInternalValue() is invoked on z/OS where the platform encoding
is a flavour of EBCDIC. In this situation, the method returns garbage.

Here's a suggested patch which ensures the XMLStreamWriter writes directly to a StringWriter,
so no 'bytes to String' conversion is required in FOMDiv, and therefore no transcoding issues
arise. The patch also remove seemingly unnecessary calls to XMLStreamWriter.writeStartElement()
and XMLStreamWriter.writeEndElement().

Index: parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java
===================================================================
--- parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(revision 834082)
+++ parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(working copy)
@@ -17,7 +17,7 @@
 */
 package org.apache.abdera.parser.stax;
 
-import java.io.ByteArrayOutputStream;
+import java.io.StringWriter;
 import java.util.Iterator;
 
 import javax.xml.namespace.QName;
@@ -143,16 +143,14 @@
 
   protected String getInternalValue() {
     try {
-      ByteArrayOutputStream out = new ByteArrayOutputStream();
+      StringWriter out = new StringWriter(); 
       XMLStreamWriter writer = 
         XMLOutputFactory.newInstance().createXMLStreamWriter(out);
-      writer.writeStartElement("");
       for (Iterator&lt;?&gt; nodes = this.getChildren(); nodes.hasNext();) {
         OMNode node = (OMNode) nodes.next();
         node.serialize(writer);
       }
-      writer.writeEndElement();
-      return out.toString().substring(2);
+      return out.getBuffer().toString();
     } catch (Exception e) {}
     return "";
   }



  was:
In org.apache.abdera.parser.stax.FOMDiv.getInternalValue(), the content of the div is obtained
as a byte array using an XMLStreamWriter.
The content of the byte array is then converted to String using the default platform encoding
(using ByteArrayOutputStream.toString()), which may not be compatible with the encoding used
by the XMLStreamWriter.

A scenario in which this is problematic is if the XMLStreamWriter uses UTF8 (which is the
default behaviour), but FOMDiv.getInternalValue() is invoked on z/OS where the platform encoding
is a flavour EBCDIC. In this situation, the method returns garbage.

Here's a suggested patch which ensures the XMLStreamWriter writes directly to a StringWriter,
so no 'bytes to String' conversion is required in FOMDiv, and therefore no transcoding issues
arise. The patch also remove seemingly unnecessary calls to XMLStreamWriter.writeStartElement()
and XMLStreamWriter.writeEndElement().

Index: parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java
===================================================================
--- parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(revision 834082)
+++ parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(working copy)
@@ -17,7 +17,7 @@
 */
 package org.apache.abdera.parser.stax;
 
-import java.io.ByteArrayOutputStream;
+import java.io.StringWriter;
 import java.util.Iterator;
 
 import javax.xml.namespace.QName;
@@ -143,16 +143,14 @@
 
   protected String getInternalValue() {
     try {
-      ByteArrayOutputStream out = new ByteArrayOutputStream();
+      StringWriter out = new StringWriter(); 
       XMLStreamWriter writer = 
         XMLOutputFactory.newInstance().createXMLStreamWriter(out);
-      writer.writeStartElement("");
       for (Iterator&lt;?&gt; nodes = this.getChildren(); nodes.hasNext();) {
         OMNode node = (OMNode) nodes.next();
         node.serialize(writer);
       }
-      writer.writeEndElement();
-      return out.toString().substring(2);
+      return out.getBuffer().toString();
     } catch (Exception e) {}
     return "";
   }




&gt; Charset issue in FOMDiv.getInternalValue() leads to corrupt return value on non-ASCII
platforms
&gt; -----------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-251
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-251
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 0.4.0, 1.0
&gt;         Environment: z/OS
&gt;            Reporter: Robin Fernandes
&gt;
&gt; In org.apache.abdera.parser.stax.FOMDiv.getInternalValue(), the content of the div is
obtained as a byte array using an XMLStreamWriter.
&gt; The content of the byte array is then converted to String using the default platform
encoding (using ByteArrayOutputStream.toString()), which may not be compatible with the encoding
used by the XMLStreamWriter.
&gt; A scenario in which this is problematic is if the XMLStreamWriter uses UTF8 (which is
the default behaviour), but FOMDiv.getInternalValue() is invoked on z/OS where the platform
encoding is a flavour of EBCDIC. In this situation, the method returns garbage.
&gt; Here's a suggested patch which ensures the XMLStreamWriter writes directly to a StringWriter,
so no 'bytes to String' conversion is required in FOMDiv, and therefore no transcoding issues
arise. The patch also remove seemingly unnecessary calls to XMLStreamWriter.writeStartElement()
and XMLStreamWriter.writeEndElement().
&gt; Index: parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java
&gt; ===================================================================
&gt; --- parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(revision 834082)
&gt; +++ parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(working copy)
&gt; @@ -17,7 +17,7 @@
&gt;  */
&gt;  package org.apache.abdera.parser.stax;
&gt;  
&gt; -import java.io.ByteArrayOutputStream;
&gt; +import java.io.StringWriter;
&gt;  import java.util.Iterator;
&gt;  
&gt;  import javax.xml.namespace.QName;
&gt; @@ -143,16 +143,14 @@
&gt;  
&gt;    protected String getInternalValue() {
&gt;      try {
&gt; -      ByteArrayOutputStream out = new ByteArrayOutputStream();
&gt; +      StringWriter out = new StringWriter(); 
&gt;        XMLStreamWriter writer = 
&gt;          XMLOutputFactory.newInstance().createXMLStreamWriter(out);
&gt; -      writer.writeStartElement("");
&gt;        for (Iterator&lt;?&gt; nodes = this.getChildren(); nodes.hasNext();) {
&gt;          OMNode node = (OMNode) nodes.next();
&gt;          node.serialize(writer);
&gt;        }
&gt; -      writer.writeEndElement();
&gt; -      return out.toString().substring(2);
&gt; +      return out.getBuffer().toString();
&gt;      } catch (Exception e) {}
&gt;      return "";
&gt;    }

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-251) Charset issue in FOMDiv.getInternalValue() leads to corrupt return value on non-ASCII platforms</title>
<author><name>&quot;Robin Fernandes (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c2095853030.1257953139765.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2095853030-1257953139765-JavaMail-jira@brutus%3e</id>
<updated>2009-11-11T15:25:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Charset issue in FOMDiv.getInternalValue() leads to corrupt return value on non-ASCII platforms
-----------------------------------------------------------------------------------------------

                 Key: ABDERA-251
                 URL: https://issues.apache.org/jira/browse/ABDERA-251
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 0.4.0, 1.0
         Environment: z/OS
            Reporter: Robin Fernandes


In org.apache.abdera.parser.stax.FOMDiv.getInternalValue(), the content of the div is obtained
as a byte array using an XMLStreamWriter.
The content of the byte array is then converted to String using the default platform encoding
(using ByteArrayOutputStream.toString()), which may not be compatible with the encoding used
by the XMLStreamWriter.

A scenario in which this is problematic is if the XMLStreamWriter uses UTF8 (which is the
default behaviour), but FOMDiv.getInternalValue() is invoked on z/OS where the platform encoding
is a flavour EBCDIC. In this situation, the method returns garbage.

Here's a suggested patch which ensures the XMLStreamWriter writes directly to a StringWriter,
so no 'bytes to String' conversion is required in FOMDiv, and therefore no transcoding issues
arise. The patch also remove seemingly unnecessary calls to XMLStreamWriter.writeStartElement()
and XMLStreamWriter.writeEndElement().

Index: parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java
===================================================================
--- parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(revision 834082)
+++ parser/src/main/java/org/apache/abdera/parser/stax/FOMDiv.java	(working copy)
@@ -17,7 +17,7 @@
 */
 package org.apache.abdera.parser.stax;
 
-import java.io.ByteArrayOutputStream;
+import java.io.StringWriter;
 import java.util.Iterator;
 
 import javax.xml.namespace.QName;
@@ -143,16 +143,14 @@
 
   protected String getInternalValue() {
     try {
-      ByteArrayOutputStream out = new ByteArrayOutputStream();
+      StringWriter out = new StringWriter(); 
       XMLStreamWriter writer = 
         XMLOutputFactory.newInstance().createXMLStreamWriter(out);
-      writer.writeStartElement("");
       for (Iterator&lt;?&gt; nodes = this.getChildren(); nodes.hasNext();) {
         OMNode node = (OMNode) nodes.next();
         node.serialize(writer);
       }
-      writer.writeEndElement();
-      return out.toString().substring(2);
+      return out.getBuffer().toString();
     } catch (Exception e) {}
     return "";
   }



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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-250) Abdera fails to load META-INF/services provider configuration files on non-ASCII platforms</title>
<author><name>&quot;Robin Fernandes (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c351152913.1257787414838.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c351152913-1257787414838-JavaMail-jira@brutus%3e</id>
<updated>2009-11-09T17:23:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Abdera fails to load META-INF/services provider configuration files on non-ASCII platforms
------------------------------------------------------------------------------------------

                 Key: ABDERA-250
                 URL: https://issues.apache.org/jira/browse/ABDERA-250
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 0.4.0, 1.0
         Environment: z/OS, IBM Java 6.0 sr4
            Reporter: Robin Fernandes


Sun's jar file specification states that service provider config files (the files under META-INF/services
that determine which implementations of a given interface to use) must be encoded as UTF-8:
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Provider%20Configuration%20File

Abdera attempts to read these files without explicitly specifying an encoding. In other words,
it assumes the files are in the default platform encoding. Consequently, on non-ASCII platforms,
the files are not read correctly. For example, on z/OS (an EBCDIC platform), the UTF-8 config
files are read as though they were EBCDIC by Abdera, so they are not processed correctly.

Here's a suggested patch:
Index: core/src/main/java/org/apache/abdera/util/ServiceUtil.java
===================================================================
--- core/src/main/java/org/apache/abdera/util/ServiceUtil.java	(revision 834079)
+++ core/src/main/java/org/apache/abdera/util/ServiceUtil.java	(working copy)
@@ -279,7 +279,7 @@
     try {
       InputStream is = locateStream(sid);
       if (is != null) {
-        buf = new BufferedReader(new InputStreamReader(is));
+        buf = new BufferedReader(new InputStreamReader(is, "UTF-8"));
         String line = buf.readLine();
         if (line != null) {
           String s = line.split("#",2)[0].trim();
@@ -326,7 +326,7 @@
           URL url = (URL) e.nextElement();
           InputStream is = url.openStream();
           if (is != null) {
-            buf = new BufferedReader(new InputStreamReader(is));
+            buf = new BufferedReader(new InputStreamReader(is, "UTF-8"));
             String line;
             while ((line = buf.readLine()) != null) {
               String s = line.split("#",2)[0].trim();



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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>ant elder &lt;antelder@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c71e1b5740911062349m7dd06134m47c4a39c1d56de8f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740911062349m7dd06134m47c4a39c1d56de8f@mail-gmail-com%3e</id>
<updated>2009-11-07T07:49:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Nov 6, 2009 at 5:19 PM, Luciano Resende &lt;luckbr1975@gmail.com&gt; wrote:

&gt;
&gt; All what I was trying to do was to give my advice on the legal side of
&gt; the release being voted. As you said, I'm no binding, and I don't want
&gt; to interfere with what the Abdera PMC thing it's the right thing to
&gt; do. Please have fun....
&gt;

Don't be like that. If we didn't publish these artifacts would you
actually help make new ones? By that I mean help fix trunk so it
builds again which is what needs to happen before any legal updates
could be done as we need to see what the distribution looks like.

   ...ant


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>Luciano Resende &lt;luckbr1975@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c5a75db780911060919s4cac7e3do9d40800a92557309@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5a75db780911060919s4cac7e3do9d40800a92557309@mail-gmail-com%3e</id>
<updated>2009-11-06T17:19:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Nov 6, 2009 at 8:39 AM, ant elder &lt;antelder@apache.org&gt; wrote:
&gt; I think it needs to be clear what state Abdera is in. There have been
&gt; no releases since leaving the Incubator a year ago, there have been no
&gt; commits for 6 months, committers have said they no longer have time
&gt; for the project, most questions or patches on the dev list go ignored.
&gt; The trunk code is broken from various changes at the start of the year
&gt; including some non trivial refactoring and with the old committers not
&gt; around to answer questions its difficult to work out fixes.
&gt;
&gt; At this stage Abdera could be retired to the Apache Attic, or try to
&gt; get some new committers to get some life back in it. It does seem like
&gt; there is a community willing to contribute and there is a sizable user
&gt; base so it would be a shame to retire it. But right now its very
&gt; difficult for anyone to help as trunk is broken and patches aren't
&gt; getting applied.
&gt;
&gt; The 1.0 vote happened way back in January and passed with 4 binding +1
&gt; votes and a non binding -1, and it seems reasonably clear from the
&gt; thread and other later emails that the PMC considered the vote a pass
&gt; and the artifacts could be published. I've checked the licensing,
&gt; there are some inconsistencies but i don't see anything I'd consider a
&gt; blocker and I'd don't see any problem with following through on the
&gt; result of the vote and finally publishing the artifacts, especially
&gt; given the current state of the project. That would give at least a
&gt; point to try to go forward with and we could start bringing up trunk
&gt; again, applying some patches, getting some new comitters, and then
&gt; maybe it would be possible to get the latest code out in another
&gt; release.
&gt;
&gt;   ...ant
&gt;

All what I was trying to do was to give my advice on the legal side of
the release being voted. As you said, I'm no binding, and I don't want
to interfere with what the Abdera PMC thing it's the right thing to
do. Please have fun....

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>ant elder &lt;antelder@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c71e1b5740911060839h8eac089yef3220e0cac55989@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740911060839h8eac089yef3220e0cac55989@mail-gmail-com%3e</id>
<updated>2009-11-06T16:39:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think it needs to be clear what state Abdera is in. There have been
no releases since leaving the Incubator a year ago, there have been no
commits for 6 months, committers have said they no longer have time
for the project, most questions or patches on the dev list go ignored.
The trunk code is broken from various changes at the start of the year
including some non trivial refactoring and with the old committers not
around to answer questions its difficult to work out fixes.

At this stage Abdera could be retired to the Apache Attic, or try to
get some new committers to get some life back in it. It does seem like
there is a community willing to contribute and there is a sizable user
base so it would be a shame to retire it. But right now its very
difficult for anyone to help as trunk is broken and patches aren't
getting applied.

The 1.0 vote happened way back in January and passed with 4 binding +1
votes and a non binding -1, and it seems reasonably clear from the
thread and other later emails that the PMC considered the vote a pass
and the artifacts could be published. I've checked the licensing,
there are some inconsistencies but i don't see anything I'd consider a
blocker and I'd don't see any problem with following through on the
result of the vote and finally publishing the artifacts, especially
given the current state of the project. That would give at least a
point to try to go forward with and we could start bringing up trunk
again, applying some patches, getting some new comitters, and then
maybe it would be possible to get the latest code out in another
release.

   ...ant

On Fri, Nov 6, 2009 at 7:45 AM, David Calavera &lt;david.calavera@gmail.com&gt; wrote:
&gt; I don't know who was the last committer that modified the trunk code, but
&gt; actually it doesn't compile even and I'm not sure if that code is too much
&gt; stable.
&gt;
&gt; Luciano, seems you have much experience than us in legal stuff, any patch to
&gt; solve those issues is very appreciated.
&gt;
&gt; Finally, I just want to remember that voting processes should go on 72
&gt; hours, messages after that can be gracefully ignored.
&gt;
&gt; Cheers
&gt;
&gt;
&gt; On Fri, Nov 6, 2009 at 3:01 AM, Luciano Resende &lt;luckbr1975@gmail.com&gt;wrote:
&gt;
&gt;&gt; On Mon, Oct 26, 2009 at 12:37 AM, ant elder &lt;antelder@apache.org&gt; wrote:
&gt;&gt; &gt; Thanks for replying. I did find the old vote threads, the license
&gt;&gt; &gt; issue was a question on the copyrights in the NOTICE file, I've had a
&gt;&gt; &gt; look and I don't think there's any issue - not all copyrights need to
&gt;&gt; &gt; be included its only required third-party notices that are necessary,
&gt;&gt; &gt; and they seem ok. So it should be fine to publish those artifacts.
&gt;&gt; &gt; I'll wait for a while to see if anyone else comments.
&gt;&gt; &gt;
&gt;&gt;
&gt;&gt; I believe there were various enhancements applied to trunk after the
&gt;&gt; release was started (see [1]). as this is a 1.0 release, would it be
&gt;&gt; better to get these changes and start a new vote ?
&gt;
&gt;
&gt;&gt; I also think that the legal files should be reviewed, there seems to
&gt;&gt; be issues as described in [2], but there seems to be other issue as
&gt;&gt; well (e.g jaxen-LICENSE.txt is a ASL 2.0 license, and the license.txt
&gt;&gt; inside javen-1.1.1.jar is a BSD like one).
&gt;&gt;
&gt;&gt; [1] http://markmail.org/message/qnk6xo2e5eqtuyia
&gt;&gt; [2] http://markmail.org/message/vb2s6gay4dfqxnbt
&gt;
&gt;
&gt;&gt; --
&gt;&gt; Luciano Resende
&gt;&gt; http://people.apache.org/~lresende &lt;http://people.apache.org/%7Elresende&gt;
&gt;&gt; http://lresende.blogspot.com/
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>Luciano Resende &lt;luckbr1975@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c5a75db780911060743w1520ac16j79bc3264f82d5b27@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5a75db780911060743w1520ac16j79bc3264f82d5b27@mail-gmail-com%3e</id>
<updated>2009-11-06T15:43:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Nov 5, 2009 at 11:45 PM, David Calavera
&lt;david.calavera@gmail.com&gt; wrote:
&gt; I don't know who was the last committer that modified the trunk code, but
&gt; actually it doesn't compile even and I'm not sure if that code is too much
&gt; stable.
&gt;
&gt; Luciano, seems you have much experience than us in legal stuff, any patch to
&gt; solve those issues is very appreciated.
&gt;
&gt; Finally, I just want to remember that voting processes should go on 72
&gt; hours, messages after that can be gracefully ignored.
&gt;
&gt; Cheers

I can try to send a patch over the weekend, as I'm at ApacheCon and
still have to present today...

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>David Calavera &lt;david.calavera@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3cbaf7e05c0911052345j30d73b7dtcd22bd8d862e1d6f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cbaf7e05c0911052345j30d73b7dtcd22bd8d862e1d6f@mail-gmail-com%3e</id>
<updated>2009-11-06T07:45:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I don't know who was the last committer that modified the trunk code, but
actually it doesn't compile even and I'm not sure if that code is too much
stable.

Luciano, seems you have much experience than us in legal stuff, any patch to
solve those issues is very appreciated.

Finally, I just want to remember that voting processes should go on 72
hours, messages after that can be gracefully ignored.

Cheers


On Fri, Nov 6, 2009 at 3:01 AM, Luciano Resende &lt;luckbr1975@gmail.com&gt;wrote:

&gt; On Mon, Oct 26, 2009 at 12:37 AM, ant elder &lt;antelder@apache.org&gt; wrote:
&gt; &gt; Thanks for replying. I did find the old vote threads, the license
&gt; &gt; issue was a question on the copyrights in the NOTICE file, I've had a
&gt; &gt; look and I don't think there's any issue - not all copyrights need to
&gt; &gt; be included its only required third-party notices that are necessary,
&gt; &gt; and they seem ok. So it should be fine to publish those artifacts.
&gt; &gt; I'll wait for a while to see if anyone else comments.
&gt; &gt;
&gt;
&gt; I believe there were various enhancements applied to trunk after the
&gt; release was started (see [1]). as this is a 1.0 release, would it be
&gt; better to get these changes and start a new vote ?


&gt; I also think that the legal files should be reviewed, there seems to
&gt; be issues as described in [2], but there seems to be other issue as
&gt; well (e.g jaxen-LICENSE.txt is a ASL 2.0 license, and the license.txt
&gt; inside javen-1.1.1.jar is a BSD like one).
&gt;
&gt; [1] http://markmail.org/message/qnk6xo2e5eqtuyia
&gt; [2] http://markmail.org/message/vb2s6gay4dfqxnbt


&gt; --
&gt; Luciano Resende
&gt; http://people.apache.org/~lresende &lt;http://people.apache.org/%7Elresende&gt;
&gt; http://lresende.blogspot.com/
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>Luciano Resende &lt;luckbr1975@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c5a75db780911051801s55f1af82x7f8bdc013133bf18@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5a75db780911051801s55f1af82x7f8bdc013133bf18@mail-gmail-com%3e</id>
<updated>2009-11-06T02:01:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Oct 26, 2009 at 12:37 AM, ant elder &lt;antelder@apache.org&gt; wrote:
&gt; Thanks for replying. I did find the old vote threads, the license
&gt; issue was a question on the copyrights in the NOTICE file, I've had a
&gt; look and I don't think there's any issue - not all copyrights need to
&gt; be included its only required third-party notices that are necessary,
&gt; and they seem ok. So it should be fine to publish those artifacts.
&gt; I'll wait for a while to see if anyone else comments.
&gt;

I believe there were various enhancements applied to trunk after the
release was started (see [1]). as this is a 1.0 release, would it be
better to get these changes and start a new vote ?

I also think that the legal files should be reviewed, there seems to
be issues as described in [2], but there seems to be other issue as
well (e.g jaxen-LICENSE.txt is a ASL 2.0 license, and the license.txt
inside javen-1.1.1.jar is a BSD like one).

[1] http://markmail.org/message/qnk6xo2e5eqtuyia
[2] http://markmail.org/message/vb2s6gay4dfqxnbt

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: errors while building Abdera trunk using Maven</title>
<author><name>Sean Sullivan &lt;sean@seansullivan.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c3a0630af0911042349p466f478clf3976f83cf7c1025@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3a0630af0911042349p466f478clf3976f83cf7c1025@mail-gmail-com%3e</id>
<updated>2009-11-05T07:49:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

Is there a workaround for this build error?

Sean


On Sun, Nov 1, 2009 at 8:17 PM, Sean Sullivan &lt;sean@seansullivan.com&gt; wrote:

&gt;
&gt; $ rm -rf ~/.m2/repository/org/apache/abdera
&gt;
&gt; $ svn co http://svn.apache.org/repos/asf/abdera/java/trunk/
&gt;
&gt; $ cd trunk
&gt;
&gt; $ mvn --version
&gt;
&gt; Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
&gt; Java version: 1.6.0_15
&gt; Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
&gt; Default locale: en_US, platform encoding: MacRoman
&gt; OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac"
&gt;
&gt; $ mvn clean install
&gt;
&gt; The build fails with the following errors:
&gt;
&gt; [INFO] [compiler:compile {execution: default-compile}]
&gt; [INFO] Compiling 50 source files to
&gt; /private/tmp/apache/trunk/parser/target/classes
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD FAILURE
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Compilation failure
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[51,31]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[52,31]
&gt; cannot find symbol
&gt; symbol  : class Parser
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[53,31]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[581,61]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: class org.apache.abdera.parser.stax.FOMElement
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[34,31]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[36,31]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[45,13]
&gt; cannot find symbol
&gt; symbol: class Parser
&gt;   implements Parser {
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[55,35]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[32,31]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[33,31]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[70,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[71,13]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[90,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[91,13]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[133,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[134,13]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[199,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[200,13]
&gt; cannot find symbol
&gt; symbol  : class ParseException
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[216,12]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMParser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java:[96,9]
&gt; cannot find symbol
&gt; symbol  : class Parser
&gt; location: class org.apache.abdera.parser.stax.FOMFactory
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[55,16]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMBuilder
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[66,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMBuilder
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[86,9]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMBuilder
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMException.java:[22,34]
&gt; cannot find symbol
&gt; symbol: class ParseException
&gt; public class FOMException extends ParseException {
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[24,31]
&gt; cannot find symbol
&gt; symbol  : class NamedParser
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[26,31]
&gt; cannot find symbol
&gt; symbol  : class ParserFactory
&gt; location: package org.apache.abdera.parser
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[31,13]
&gt; cannot find symbol
&gt; symbol: class ParserFactory
&gt;   implements ParserFactory {
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[34,27]
&gt; cannot find symbol
&gt; symbol  : class NamedParser
&gt; location: class org.apache.abdera.parser.stax.FOMParserFactory
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[50,20]
&gt; cannot find symbol
&gt; symbol  : class Parser
&gt; location: class org.apache.abdera.parser.stax.FOMParserFactory
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[54,20]
&gt; cannot find symbol
&gt; symbol  : class Parser
&gt; location: class org.apache.abdera.parser.stax.FOMParserFactory
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[63,21]
&gt; cannot find symbol
&gt; symbol  : class NamedParser
&gt; location: class org.apache.abdera.parser.stax.FOMParserFactory
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[405,14]
&gt; incompatible types
&gt; found   : org.apache.abdera.parser.stax.FOMException
&gt; required: java.lang.Throwable
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[584,4]
&gt; cannot find symbol
&gt; symbol  : class Parser
&gt; location: class org.apache.abdera.parser.stax.FOMElement
&gt;
&gt; /private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[586,4]
&gt; cannot find symbol
&gt; symbol  : class ParserOptions
&gt; location: class org.apache.abdera.parser.stax.FOMElement
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>errors while building Abdera trunk using Maven</title>
<author><name>Sean Sullivan &lt;sean@seansullivan.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200911.mbox/%3c3a0630af0911012017if96da19q29fdc41aeecde6ed@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3a0630af0911012017if96da19q29fdc41aeecde6ed@mail-gmail-com%3e</id>
<updated>2009-11-02T04:17:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
$ rm -rf ~/.m2/repository/org/apache/abdera

$ svn co http://svn.apache.org/repos/asf/abdera/java/trunk/

$ cd trunk

$ mvn --version

Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_15
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac"

$ mvn clean install

The build fails with the following errors:

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 50 source files to
/private/tmp/apache/trunk/parser/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[51,31]
cannot find symbol
symbol  : class ParseException
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[52,31]
cannot find symbol
symbol  : class Parser
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[53,31]
cannot find symbol
symbol  : class ParserOptions
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[581,61]
cannot find symbol
symbol  : class ParseException
location: class org.apache.abdera.parser.stax.FOMElement

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[34,31]
cannot find symbol
symbol  : class ParseException
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[36,31]
cannot find symbol
symbol  : class ParserOptions
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[45,13]
cannot find symbol
symbol: class Parser
  implements Parser {

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[55,35]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[32,31]
cannot find symbol
symbol  : class ParseException
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[33,31]
cannot find symbol
symbol  : class ParserOptions
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[70,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[71,13]
cannot find symbol
symbol  : class ParseException
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[90,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[91,13]
cannot find symbol
symbol  : class ParseException
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[133,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[134,13]
cannot find symbol
symbol  : class ParseException
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[199,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[200,13]
cannot find symbol
symbol  : class ParseException
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParser.java:[216,12]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMParser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMFactory.java:[96,9]
cannot find symbol
symbol  : class Parser
location: class org.apache.abdera.parser.stax.FOMFactory

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[55,16]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMBuilder

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[66,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMBuilder

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMBuilder.java:[86,9]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMBuilder

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMException.java:[22,34]
cannot find symbol
symbol: class ParseException
public class FOMException extends ParseException {

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[24,31]
cannot find symbol
symbol  : class NamedParser
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[26,31]
cannot find symbol
symbol  : class ParserFactory
location: package org.apache.abdera.parser

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[31,13]
cannot find symbol
symbol: class ParserFactory
  implements ParserFactory {

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[34,27]
cannot find symbol
symbol  : class NamedParser
location: class org.apache.abdera.parser.stax.FOMParserFactory

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[50,20]
cannot find symbol
symbol  : class Parser
location: class org.apache.abdera.parser.stax.FOMParserFactory

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[54,20]
cannot find symbol
symbol  : class Parser
location: class org.apache.abdera.parser.stax.FOMParserFactory

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java:[63,21]
cannot find symbol
symbol  : class NamedParser
location: class org.apache.abdera.parser.stax.FOMParserFactory

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[405,14]
incompatible types
found   : org.apache.abdera.parser.stax.FOMException
required: java.lang.Throwable

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[584,4]
cannot find symbol
symbol  : class Parser
location: class org.apache.abdera.parser.stax.FOMElement

/private/tmp/apache/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMElement.java:[586,4]
cannot find symbol
symbol  : class ParserOptions
location: class org.apache.abdera.parser.stax.FOMElement


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>ant elder &lt;antelder@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200910.mbox/%3c71e1b5740910260137k759302fdid805db9e784c384f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740910260137k759302fdid805db9e784c384f@mail-gmail-com%3e</id>
<updated>2009-10-26T08:37:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks for replying. I did find the old vote threads, the license
issue was a question on the copyrights in the NOTICE file, I've had a
look and I don't think there's any issue - not all copyrights need to
be included its only required third-party notices that are necessary,
and they seem ok. So it should be fine to publish those artifacts.
I'll wait for a while to see if anyone else comments.

   ...ant

On Sun, Oct 25, 2009 at 11:22 AM, David Calavera
&lt;david.calavera@gmail.com&gt; wrote:
&gt; The artifacts published in January were petty much stable but there was
&gt; license issues, some of them were missing. I can't find the thread were we
&gt; discussed that right now. Btw, +1 to publish the same artifacts.
&gt;
&gt; On Sun, Oct 25, 2009 at 10:53 AM, ant elder &lt;ant.elder@gmail.com&gt; wrote:
&gt;
&gt;&gt; There was a 1.0 release back in January but it doesn't look like the
&gt;&gt; release artifacts were ever published in the distribution area or
&gt;&gt; maven repository. I know there has since been a suggestion to do a new
&gt;&gt; 1.0 to pick up all the latest trunk fixes but as thats taking some
&gt;&gt; time how about just publishing the January artifacts now and having
&gt;&gt; all the latest trunk code go out in a new release? WDYT?
&gt;&gt;
&gt;&gt;   ...ant
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Publishing the 1.0 release artifacts</title>
<author><name>David Calavera &lt;david.calavera@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200910.mbox/%3cbaf7e05c0910250422h7df26999n3158c150dafbc731@mail.gmail.com%3e"/>
<id>urn:uuid:%3cbaf7e05c0910250422h7df26999n3158c150dafbc731@mail-gmail-com%3e</id>
<updated>2009-10-25T11:22:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The artifacts published in January were petty much stable but there was
license issues, some of them were missing. I can't find the thread were we
discussed that right now. Btw, +1 to publish the same artifacts.

On Sun, Oct 25, 2009 at 10:53 AM, ant elder &lt;ant.elder@gmail.com&gt; wrote:

&gt; There was a 1.0 release back in January but it doesn't look like the
&gt; release artifacts were ever published in the distribution area or
&gt; maven repository. I know there has since been a suggestion to do a new
&gt; 1.0 to pick up all the latest trunk fixes but as thats taking some
&gt; time how about just publishing the January artifacts now and having
&gt; all the latest trunk code go out in a new release? WDYT?
&gt;
&gt;   ...ant
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Publishing the 1.0 release artifacts</title>
<author><name>ant elder &lt;ant.elder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200910.mbox/%3c71e1b5740910250253m515f8edem59aeda8166972163@mail.gmail.com%3e"/>
<id>urn:uuid:%3c71e1b5740910250253m515f8edem59aeda8166972163@mail-gmail-com%3e</id>
<updated>2009-10-25T09:53:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There was a 1.0 release back in January but it doesn't look like the
release artifacts were ever published in the distribution area or
maven repository. I know there has since been a suggestion to do a new
1.0 to pick up all the latest trunk fixes but as thats taking some
time how about just publishing the January artifacts now and having
all the latest trunk code go out in a new release? WDYT?

   ...ant


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-249) Abdera fails to completely read streams using GZIP compression</title>
<author><name>&quot;James Falkner (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200910.mbox/%3c249879032.1255983779723.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c249879032-1255983779723-JavaMail-jira@brutus%3e</id>
<updated>2009-10-19T20:22:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Abdera fails to completely read streams using GZIP compression
--------------------------------------------------------------

                 Key: ABDERA-249
                 URL: https://issues.apache.org/jira/browse/ABDERA-249
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Mac OS X, Java 1.6
            Reporter: James Falkner


Test code:

{code:java}
Abdera abdera = new Abdera();
AbderaClient client = new AbderaClient(abdera);
ClientResponse resp = client.get("http://www.facebook.com/activitystreams/feed.php?source_id=499225640");
Document&lt;Feed&gt; doc = resp.getDocument();
doc.complete();
{code}

When reading a stream that is gzip-compressed (such as the sample facebook stream above),
Abdera throws an exception:

{code}
Exception in thread "main" org.apache.abdera.parser.ParseException: java.lang.RuntimeException:
[was class java.io.EOFException] Unexpected end of ZLIB input stream
	at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:260)
	at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318)
	at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:614)
	at org.apache.abdera.parser.stax.FOMElement.complete(FOMElement.java:845)
	at org.apache.abdera.parser.stax.FOMFeed.sortEntries(FOMFeed.java:167)
	at FacebookStreamReader.main(FacebookStreamReader.java:42)
Caused by: java.lang.RuntimeException: [was class java.io.EOFException] Unexpected end of
ZLIB input stream
	at com.ctc.wstx.util.ExceptionUtil.throwRuntimeException(ExceptionUtil.java:18)
	at com.ctc.wstx.sr.StreamScanner.throwLazyError(StreamScanner.java:706)
	at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3655)
	at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:809)
	at org.apache.axiom.om.impl.builder.StAXBuilder.createOMText(StAXBuilder.java:245)
	at org.apache.axiom.om.impl.builder.StAXBuilder.createOMText(StAXBuilder.java:216)
	at org.apache.abdera.parser.stax.FOMBuilder.applyTextFilter(FOMBuilder.java:158)
	at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:206)
	... 5 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
	at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
	at java.io.FilterInputStream.read(FilterInputStream.java:116)
	at org.apache.abdera.protocol.client.util.AutoReleasingInputStream.read(AutoReleasingInputStream.java:56)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
	at java.io.InputStreamReader.read(InputStreamReader.java:167)
	at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
	at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
	at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
	at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)
	at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4626)
	at com.ctc.wstx.sr.BasicStreamReader.readCoalescedText(BasicStreamReader.java:4124)
	at com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3699)
	at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3647)
	... 10 more
{code}

If I force the stream to be un-compressed, via this code, it works:

{code:java}
Abdera abdera = new Abdera();
AbderaClient client = new AbderaClient(abdera);
RequestOptions options = client.getDefaultRequestOptions();
options.setAcceptEncoding((String)null);
ClientResponse resp = client.get("http://www.facebook.com/activitystreams/feed.php?source_id=499225640",
options);
Document&lt;Feed&gt; doc = resp.getDocument();
doc.complete();
{code}

There is some code in org.apache.abdera.protocol.client.util.AutoReleasingInputStream that
is not properly handling the EOFException.  If I modify that code to also catch the EOFException
and behave as though it had gotten back a -1 from the read() method, then it also starts working.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (ABDERA-232) build - i18n pom missing commons-codec dependency</title>
<author><name>&quot;Neale Upstone (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200910.mbox/%3c1033756830.1255359451326.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1033756830-1255359451326-JavaMail-jira@brutus%3e</id>
<updated>2009-10-12T14:57:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Neale Upstone updated ABDERA-232:
---------------------------------

    Remaining Estimate: 0h
     Original Estimate: 0h

Is no one maintaining this project any more?  I'd have expected this would be a quick and
easy one.

&gt; build - i18n pom missing commons-codec dependency
&gt; -------------------------------------------------
&gt;
&gt;                 Key: ABDERA-232
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-232
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.0
&gt;            Reporter: Neale Upstone
&gt;            Priority: Trivial
&gt;   Original Estimate: 0h
&gt;  Remaining Estimate: 0h
&gt;
&gt; I've just checked out the whole abdera project into Eclipse + IAM, and all builds fine
apart from i18n.
&gt; i18n depends on commons-codec 1.3.
&gt; Fix:
&gt; Add the following to dependencies/i18n/pom.xml
&gt;     &lt;dependency&gt;
&gt;       &lt;groupId&gt;commons-codec&lt;/groupId&gt;
&gt;       &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
&gt;       &lt;version&gt;1.3&lt;/version&gt;
&gt;       &lt;scope&gt;compile&lt;/scope&gt;
&gt;     &lt;/dependency&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (ABDERA-248) MediaResponseContext#writeTo fails to close input stream after writing</title>
<author><name>&quot;Felix Meschberger (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200909.mbox/%3c1870923650.1252659477717.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1870923650-1252659477717-JavaMail-jira@brutus%3e</id>
<updated>2009-09-11T08:57:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/ABDERA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12754055#action_12754055
] 

Felix Meschberger commented on ABDERA-248:
------------------------------------------

Oops, this was probably too far above in the peanut gallery and I confused input with output.....

You are right: if the context is creating/getting/acquiring the input, it has to make sure
it is closed.

&gt; MediaResponseContext#writeTo fails to close input stream after writing
&gt; ----------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-248
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-248
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.0
&gt;            Reporter: Daniel Lichtenberger
&gt;
&gt; MediaResponseContext#writeTo fully consumes the input stream, but does not close it afterwards.
Looking at the source, I also didn't find another place where the input stream was closed,
potentially leaving an open input stream for every media response.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (ABDERA-248) MediaResponseContext#writeTo fails to close input stream after writing</title>
<author><name>&quot;Daniel Lichtenberger (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200909.mbox/%3c606413221.1252659238146.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c606413221-1252659238146-JavaMail-jira@brutus%3e</id>
<updated>2009-09-11T08:53:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/ABDERA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12754053#action_12754053
] 

Daniel Lichtenberger commented on ABDERA-248:
---------------------------------------------

Well, the client in my case is the AbderaServlet calling context.writeTo(response.getOutputStream()),
and AbderaServlet doesn't know about any wrapped streams in the ResponseContext.

I'm not familiar with the Abdera source code, so I don't know whether ResponseContext#writeTo
should always close the input stream or the caller (AbderaServlet) should call a close method
on the ResponseContext to allow releasing resources at the end of a request.

&gt; MediaResponseContext#writeTo fails to close input stream after writing
&gt; ----------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-248
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-248
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.0
&gt;            Reporter: Daniel Lichtenberger
&gt;
&gt; MediaResponseContext#writeTo fully consumes the input stream, but does not close it afterwards.
Looking at the source, I also didn't find another place where the input stream was closed,
potentially leaving an open input stream for every media response.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (ABDERA-248) MediaResponseContext#writeTo fails to close input stream after writing</title>
<author><name>&quot;Felix Meschberger (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200909.mbox/%3c1388718050.1252658757530.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1388718050-1252658757530-JavaMail-jira@brutus%3e</id>
<updated>2009-09-11T08:45:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/ABDERA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12754050#action_12754050
] 

Felix Meschberger commented on ABDERA-248:
------------------------------------------

&gt;From the peanut gallery not knowing any code: Shouldn't closing the stream be the task
of the caller ? 

I assume writeTo reads the stream until being notified to have reached the end of the input,
which need not necessarily be the real end. Consider for example reading a ZIP entry from
a ZipInputStream.

&gt; MediaResponseContext#writeTo fails to close input stream after writing
&gt; ----------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-248
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-248
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.0
&gt;            Reporter: Daniel Lichtenberger
&gt;
&gt; MediaResponseContext#writeTo fully consumes the input stream, but does not close it afterwards.
Looking at the source, I also didn't find another place where the input stream was closed,
potentially leaving an open input stream for every media response.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-248) MediaResponseContext#writeTo fails to close input stream after writing</title>
<author><name>&quot;Daniel Lichtenberger (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200909.mbox/%3c111245290.1252658397464.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c111245290-1252658397464-JavaMail-jira@brutus%3e</id>
<updated>2009-09-11T08:39:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
MediaResponseContext#writeTo fails to close input stream after writing
----------------------------------------------------------------------

                 Key: ABDERA-248
                 URL: https://issues.apache.org/jira/browse/ABDERA-248
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Daniel Lichtenberger


MediaResponseContext#writeTo fully consumes the input stream, but does not close it afterwards.
Looking at the source, I also didn't find another place where the input stream was closed,
potentially leaving an open input stream for every media response.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>=?utf-8?Q?[jira]_Created:_?= =?utf-8?Q?(ABDERA-247)_=E4=BD=8D=E7=BD=AE=E9=97=AE=E9=A2=98?=</title>
<author><name>&quot;yezq (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c867129501.1251168719539.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c867129501-1251168719539-JavaMail-jira@brutus%3e</id>
<updated>2009-08-25T02:51:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ä½ç½®é—®é¢˜
----

                 Key: ABDERA-247
                 URL: https://issues.apache.org/jira/browse/ABDERA-247
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: WIN2K3
            Reporter: yezq
             Fix For: 0.2.2


ä½ç½®é”™ä¸º

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (ABDERA-246) Abdera 1.0 (tag abdera-1.0) does not compile with java jdk 1.6.0_012</title>
<author><name>&quot;GK Ephorus (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c1230097129.1250585114807.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1230097129-1250585114807-JavaMail-jira@brutus%3e</id>
<updated>2009-08-18T08:45:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

GK Ephorus updated ABDERA-246:
------------------------------

    Fix Version/s:     (was: 1.0)

&gt; Abdera 1.0 (tag abdera-1.0) does not compile with java jdk 1.6.0_012
&gt; --------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-246
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-246
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.0
&gt;         Environment: Windows XP
&gt; Java jdk 1.6.0_012
&gt;            Reporter: GK Ephorus
&gt;            Priority: Minor
&gt;
&gt; Steps to reproduce:
&gt;  * install jdk 1.6.0_012
&gt;  * make sure it's used (java added to PATH etc)
&gt;  * mvn install
&gt; Expected result:
&gt;  * compile succeeds
&gt; Actual result:
&gt;  * compile fails at the i18n tests
&gt; Note:
&gt; how to fix:
&gt;  * install jdk 1.6.0_14
&gt;  * mvn clean
&gt;  * mvn install

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-246) Abdera 1.0 (tag abdera-1.0) does not compile with java jdk 1.6.0_012</title>
<author><name>&quot;GK Ephorus (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c841916302.1250584995052.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c841916302-1250584995052-JavaMail-jira@brutus%3e</id>
<updated>2009-08-18T08:43:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Abdera 1.0 (tag abdera-1.0) does not compile with java jdk 1.6.0_012
--------------------------------------------------------------------

                 Key: ABDERA-246
                 URL: https://issues.apache.org/jira/browse/ABDERA-246
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Windows XP
Java jdk 1.6.0_012
            Reporter: GK Ephorus
            Priority: Minor
             Fix For: 1.0


Steps to reproduce:
 * install jdk 1.6.0_012
 * make sure it's used (java added to PATH etc)
 * mvn install
Expected result:
 * compile succeeds
Actual result:
 * compile fails at the i18n tests

Note:
how to fix:
 * install jdk 1.6.0_14
 * mvn clean
 * mvn install


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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (ABDERA-245) Testcases faking TaskTrackerManager might result into NPE</title>
<author><name>&quot;Amar Kamat (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c975202245.1250139914807.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c975202245-1250139914807-JavaMail-jira@brutus%3e</id>
<updated>2009-08-13T05:05:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Amar Kamat closed ABDERA-245.
-----------------------------

    Resolution: Fixed

This was meant for MAPREDUCE. Sorry.

&gt; Testcases faking TaskTrackerManager might result into NPE
&gt; ---------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-245
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-245
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;            Reporter: Amar Kamat
&gt;
&gt; JobInProgress uses JobTracker.getClock() assuming that the JobTracker is initialized
before creating JobInProgress. This might not be true as the testcase might fake TaskTrackerManager.
In such cases the JobInProgress might result into NPE. 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-245) Testcases faking TaskTrackerManager might result into NPE</title>
<author><name>&quot;Amar Kamat (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c631252701.1250139674786.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c631252701-1250139674786-JavaMail-jira@brutus%3e</id>
<updated>2009-08-13T05:01:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Testcases faking TaskTrackerManager might result into NPE
---------------------------------------------------------

                 Key: ABDERA-245
                 URL: https://issues.apache.org/jira/browse/ABDERA-245
             Project: Abdera
          Issue Type: Bug
            Reporter: Amar Kamat


JobInProgress uses JobTracker.getClock() assuming that the JobTracker is initialized before
creating JobInProgress. This might not be true as the testcase might fake TaskTrackerManager.
In such cases the JobInProgress might result into NPE. 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Closed: (ABDERA-244) JobInProgress.initTasks() should not throw KillInterruptedException</title>
<author><name>&quot;Amar Kamat (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c105096701.1250139674858.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c105096701-1250139674858-JavaMail-jira@brutus%3e</id>
<updated>2009-08-13T05:01:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

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

Amar Kamat closed ABDERA-244.
-----------------------------

    Resolution: Fixed

This was meant for MAPREDUCE. Sorry.

&gt; JobInProgress.initTasks() should not throw KillInterruptedException
&gt; -------------------------------------------------------------------
&gt;
&gt;                 Key: ABDERA-244
&gt;                 URL: https://issues.apache.org/jira/browse/ABDERA-244
&gt;             Project: Abdera
&gt;          Issue Type: Bug
&gt;            Reporter: Amar Kamat
&gt;
&gt; JobInProgress.initTasks() throws KillInterruptedException if its killed in init. This
is a bad programming practice.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (ABDERA-244) JobInProgress.initTasks() should not throw KillInterruptedException</title>
<author><name>&quot;Amar Kamat (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c845340770.1250139434804.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c845340770-1250139434804-JavaMail-jira@brutus%3e</id>
<updated>2009-08-13T04:57:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
JobInProgress.initTasks() should not throw KillInterruptedException
-------------------------------------------------------------------

                 Key: ABDERA-244
                 URL: https://issues.apache.org/jira/browse/ABDERA-244
             Project: Abdera
          Issue Type: Bug
            Reporter: Amar Kamat


JobInProgress.initTasks() throws KillInterruptedException if its killed in init. This is a
bad programming practice.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] Add in RSS into Ant build and complete jar</title>
<author><name>Justin Erenkrantz &lt;justin@erenkrantz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/abdera-dev/200908.mbox/%3c5c902b9e0908101415y5b45a7dblfd9dae0b4f89d1f4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5c902b9e0908101415y5b45a7dblfd9dae0b4f89d1f4@mail-gmail-com%3e</id>
<updated>2009-08-10T21:15:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi gang,

For a demo we're building, we're using Abdera.  Yay.  However, one of
the things is that we're parsing both RSS and Atom feeds.  I saw that
this support was folded into extensions/ in ABDERA-202 ; but it looks
like a few loose ends were left.

Here's my attempt to fix it.  It Works For Me(tm).

Comments welcomed!  -- justin

Add RSS support to complete JAR and add it to the ant build.

* extensions/complete/resources/META-INF/services/org.apache.abdera.factory.ExtensionFactory:
  Add RSS extension factory to complete JAR.
* build/build.xml: Teach Ant how to build RSS support.

Index: extensions/complete/resources/META-INF/services/org.apache.abdera.factory.ExtensionFactory
===================================================================
--- extensions/complete/resources/META-INF/services/org.apache.abdera.factory.ExtensionFactory
(revision
802867)
+++ extensions/complete/resources/META-INF/services/org.apache.abdera.factory.ExtensionFactory
(working
copy)
@@ -3,5 +3,6 @@
 org.apache.abdera.ext.tombstones.TombstonesExtensionFactory
 org.apache.abdera.ext.media.MediaExtensionFactory
 org.apache.abdera.ext.opensearch.OpenSearchExtensionFactory
+org.apache.abdera.ext.rss.RssExtensionFactory
 org.apache.abdera.ext.sharing.SharingExtensionFactory
-org.apache.abdera.protocol.error.ErrorExtensionFactory
\ No newline at end of file
+org.apache.abdera.protocol.error.ErrorExtensionFactory
Index: build/build.xml
===================================================================
--- build/build.xml	(revision 802867)
+++ build/build.xml	(working copy)
@@ -360,7 +360,7 @@
   &lt;target name="docs" depends="init"&gt;
     &lt;javadoc
       packagenames="org.apache.abdera.*"
-      sourcepath="${core.src}:${security.src}:${server.src}:${client.src}:${spring.src}:${i18n.src.java}:${extensions}/gdata/src/main/java:${extensions}/geo/src/main/java:${extensions}/html/src/main/java:${extensions}/json/src/main/java:${extensions}/main/src/main/java:${extensions}/media/src/main/java:${extensions}/oauth/src/main/java:${extensions}/opensearch/src/main/java:${extensions}/serializer/src/main/java:${extensions}/sharing/src/main/java:${extensions}/wsse/src/main/java"
+      sourcepath="${core.src}:${security.src}:${server.src}:${client.src}:${spring.src}:${i18n.src.java}:${extensions}/gdata/src/main/java:${extensions}/geo/src/main/java:${extensions}/html/src/main/java:${extensions}/json/src/main/java:${extensions}/main/src/main/java:${extensions}/media/src/main/java:${extensions}/oauth/src/main/java:${extensions}/opensearch/src/main/java:${extensions}/rss/src/main/java:${extensions}/serializer/src/main/java:${extensions}/sharing/src/main/java:${extensions}/wsse/src/main/java"
       destdir="${javadocs}"
       windowtitle="Abdera"
       classpathref="jar.dependencies" /&gt;
@@ -445,6 +445,7 @@
       &lt;fileset dir="${extensions.work}/media" includes="**/*"
excludes="META-INF/**/*"/&gt;
       &lt;fileset dir="${extensions.work}/oauth" includes="**/*"
excludes="META-INF/**/*"/&gt;
       &lt;fileset dir="${extensions.work}/opensearch" includes="**/*"
excludes="META-INF/**/*"/&gt;
+      &lt;fileset dir="${extensions.work}/rss" includes="**/*"
excludes="META-INF/**/*"/&gt;
       &lt;fileset dir="${extensions.work}/serializer" includes="**/*"
excludes="META-INF/**/*"/&gt;
       &lt;fileset dir="${extensions.work}/sharing" includes="**/*"
excludes="META-INF/**/*"/&gt;
       &lt;fileset dir="${extensions.work}/wsse" includes="**/*"
excludes="META-INF/**/*"/&gt;
@@ -728,6 +729,10 @@
     &lt;/antcall&gt;

     &lt;antcall target="compile.extension"&gt;
+      &lt;param name="ext" value="rss" /&gt;
+    &lt;/antcall&gt;
+
+    &lt;antcall target="compile.extension"&gt;
       &lt;param name="ext" value="sharing" /&gt;
     &lt;/antcall&gt;

@@ -819,6 +824,10 @@
     &lt;/antcall&gt;

     &lt;antcall target="dist.extension"&gt;
+      &lt;param name="ext" value="rss" /&gt;
+    &lt;/antcall&gt;
+
+    &lt;antcall target="dist.extension"&gt;
       &lt;param name="ext" value="sharing" /&gt;
     &lt;/antcall&gt;

@@ -885,6 +894,10 @@
     &lt;/antcall&gt;

     &lt;antcall target="test.extension"&gt;
+      &lt;param name="ext" value="rss" /&gt;
+    &lt;/antcall&gt;
+
+    &lt;antcall target="test.extension"&gt;
       &lt;param name="ext" value="sharing" /&gt;
     &lt;/antcall&gt;

@@ -945,6 +958,10 @@
     &lt;/antcall&gt;

     &lt;antcall target="retro.extension"&gt;
+      &lt;param name="ext" value="rss" /&gt;
+    &lt;/antcall&gt;
+
+    &lt;antcall target="retro.extension"&gt;
       &lt;param name="ext" value="sharing" /&gt;
     &lt;/antcall&gt;


</pre>
</div>
</content>
</entry>
</feed>
