From abdera-user-returnwhiteadam@example.net Tue Aug 08 13:26:09 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 23432 invoked from network); 8 Aug 2006 13:26:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 13:26:09 -0000 Received: (qmail 5042 invoked by uid 500); 8 Aug 2006 13:26:09 -0000 Delivered-To: whiteadam@example.net Received: (qmail 5029 invoked by uid 500); 8 Aug 2006 13:26:09 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 5020 invoked by uid 99); 8 Aug 2006 13:26:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 06:26:08 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 06:26:06 -0700 Received: by ug-out-1314.google.com with SMTP id u40so426370ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 06:25:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=h+tvS45nLa+j2cmG5zFLfqkpou7W5EYAyOkILV0p4lGxWUkPdhd9A9KMD9fcjAGv7aYBNfJ0NxUjbJtwi+B3lnJk9BokScfFTQ3yL0FUHRBdtkwnRRac5GJ7Pn16CGg7kFltXBMJCOoFMdrm/HilZCRWbvcngs5SFGC67U3hQbc= Received: by 83.161.120.155 with SMTP id g12mr9584833ugj; Tue, 08 Aug 2006 06:25:45 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id q1sm6235124uge.283.161.120.155.25.44; Tue, 08 Aug 2006 06:25:45 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <whiteadam@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: whiteadam@example.net From: Ugo Cei <whiteadam@example.net> Subject: <content src=> Date: Tue, 8 Aug 2006 15:25:41 +0200 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, looking at the setContent* methods on the Entry interface, I cannot figure out exactly which one should I use to output a <content> element with an src attribute. IOW, I cannot find a method to easily create out of line content. TIA, Ugo -- Ugo Cei Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Evil or Not?: http://evilornot.info/ Company: http://www.sourcesense.com/ From abdera-user-returnwhiteadam@example.net Tue Aug 08 14:30:41 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 49168 invoked from network); 8 Aug 2006 14:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 14:30:41 -0000 Received: (qmail 36869 invoked by uid 500); 8 Aug 2006 14:30:41 -0000 Delivered-To: whiteadam@example.net Received: (qmail 36854 invoked by uid 500); 8 Aug 2006 14:30:41 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 36845 invoked by uid 99); 8 Aug 2006 14:30:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 07:30:40 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 07:30:40 -0700 Received: by wx-out-0506.google.com with SMTP id s13so471882wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 07:30:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WdLi0nwv7PRvgO03zB139F/ym2PbKax1vixYDUOuzbHXBfm5ZwD3IJqN2/AFFbcowMV/rbvZ67wTS0tXgYa7xsrCuuzCHY1hr4zcxfXs9PP5Ut+Z2TMBJK5/q5UVg95aT5ZHIDzh7N9B3nBBscZHgcJtUEma4dRBuZsDMJ/z1xE= Received: by 83.161.120.155 with SMTP id f12mr2777746hud; Tue, 08 Aug 2006 07:30:18 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 8 Aug 2006 07:30:18 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 8 Aug 2006 10:30:18 -0400 From: "Garrett Rooney" <whiteadam@example.net> Sender: whiteadam@example.net To: whiteadam@example.net Subject: Re: <content src=> In-Reply-To: <whiteadam@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <whiteadam@example.net> X-Google-Sender-Auth: 7d03f2e41bbb3e8a X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > Hi, > > looking at the setContent* methods on the Entry interface, I cannot > figure out exactly which one should I use to output a <content> > element with an src attribute. IOW, I cannot find a method to easily > create out of line content. Hmm, I don't see an obvious way to do it, but it sure seems like there should be one. Feel like putting together a patch that adds a setContentSrc(String) or maybe setContent(URI) version? It seems like it should be pretty straitforward to implement. -garrett From abdera-user-returnwhiteadam@example.net Tue Aug 08 15:47:08 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 86630 invoked from network); 8 Aug 2006 15:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 15:47:08 -0000 Received: (qmail 1099 invoked by uid 500); 8 Aug 2006 15:47:08 -0000 Delivered-To: whiteadam@example.net Received: (qmail 1085 invoked by uid 500); 8 Aug 2006 15:47:07 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 1076 invoked by uid 99); 8 Aug 2006 15:47:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:47:07 -0700 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:47:06 -0700 Received: by wx-out-0506.google.com with SMTP id s13so492319wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 08:46:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:sender; b=jLrErc5kr88JaSYBhVHKoUiWqEVP0pzVvLghMB/tGcwaJkbUOa63dEVDCjFlqmPtjgOlkFYVAqwdBSLaPeHKhOqrBbnAzXhhtB0DS8jukOJOFNaIEx/V8oyCvFbW0gG1obPVsYOuTlgaxlrft/4OC4jWX5tuCu02qT5a9J/Uj5E= Received: by 83.161.120.155 with SMTP id z2mr1005912wxz; Tue, 08 Aug 2006 08:46:45 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 8sm4737375wrl.283.161.120.155.46.44; Tue, 08 Aug 2006 08:46:44 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 11:46:40 -0400 From: Elias Torres <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> X-Enigmail-Version: 83.161.120.155 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: Elias Torres <whiteadam@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ugo, This is how you would add a content with src. Content content = Factory.INSTANCE.newContent( new MimeType(jEntryContentType), entry); content.setSrc("url"); entry.setContentElement(content); Initially abdera had a every possible combination of shorthand API calls to do this, but we decided to trim down and start with a small number and only add the most used. Maybe this would be one of them, but hey at least now you know how to do it. -Elias Garrett Rooney wrote: > On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: >> Hi, >> >> looking at the setContent* methods on the Entry interface, I cannot >> figure out exactly which one should I use to output a <content> >> element with an src attribute. IOW, I cannot find a method to easily >> create out of line content. > > Hmm, I don't see an obvious way to do it, but it sure seems like there > should be one. Feel like putting together a patch that adds a > setContentSrc(String) or maybe setContent(URI) version? It seems like > it should be pretty straitforward to implement. > > -garrett > From abdera-user-returnwhiteadam@example.net Tue Aug 08 15:48:30 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 87213 invoked from network); 8 Aug 2006 15:48:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 15:48:30 -0000 Received: (qmail 2421 invoked by uid 500); 8 Aug 2006 15:48:30 -0000 Delivered-To: whiteadam@example.net Received: (qmail 2407 invoked by uid 500); 8 Aug 2006 15:48:30 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 2397 invoked by uid 99); 8 Aug 2006 15:48:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:48:30 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:48:29 -0700 Received: by wx-out-0506.google.com with SMTP id s13so492689wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 08:48:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=iuM/QKZ1BYB184+wju4eDeaOTicd47XF7LheJJeP1aqAJ7Ud8KcZhnGaqNkHZHbr8XnV5sPwAlN99ImCKzrm4jqpBHHH3sBDHb2HGT2WxiF6+ugOjE+aGnkKBpWD68CVSLweNzgydPNAWy5lezPucNnLD2Zrzwbd6uuN7umMisg= Received: by 83.161.120.155 with SMTP id w1mr964314wxa; Tue, 08 Aug 2006 08:48:08 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 29sm3855335wrl.283.161.120.155.48.07; Tue, 08 Aug 2006 08:48:08 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 08:48:03 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Keep in mind that the mime type is required on out of line content, so it should be setContent(URI uri, String mediatype) It should be very simple to do. As a hint to get you started, look at the Entry and FOMEntry classes. Specifically, look at the implementation of the existing setContent(String value, String mediatype) method as a template. Implementing the new method should require only changing one line of code from that method. - James Garrett Rooney wrote: > On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: >> Hi, >> >> looking at the setContent* methods on the Entry interface, I cannot >> figure out exactly which one should I use to output a <content> >> element with an src attribute. IOW, I cannot find a method to easily >> create out of line content. > > Hmm, I don't see an obvious way to do it, but it sure seems like there > should be one. Feel like putting together a patch that adds a > setContentSrc(String) or maybe setContent(URI) version? It seems like > it should be pretty straitforward to implement. > > -garrett > From abdera-user-returnwhiteadam@example.net Tue Aug 08 16:16:22 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 2437 invoked from network); 8 Aug 2006 16:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 16:16:22 -0000 Received: (qmail 58256 invoked by uid 500); 8 Aug 2006 16:16:22 -0000 Delivered-To: whiteadam@example.net Received: (qmail 58236 invoked by uid 500); 8 Aug 2006 16:16:22 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 58225 invoked by uid 99); 8 Aug 2006 16:16:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 09:16:22 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 09:16:18 -0700 Received: by ug-out-1314.google.com with SMTP id u40so30919ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 09:15:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=OnYk4yQjf88ueyn6jBD1hQIWX9fill93QlSnWGkVFEtIb31upv2vJFlLZsPERw5ySPKnCf5/cqe01RTmN4lOt8bzpbonvKtuOcz12Xi4UBXyLFA2ANEYJH7ayUaPMesTadtkKI2UanSXKU6K9+hbim/iP2BsuRw6pblvKwQHbuU= Received: by 83.161.120.155 with SMTP id u9mr9776081ugg; Tue, 08 Aug 2006 09:15:56 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id q40sm6415605ugc.283.161.120.155.15.55; Tue, 08 Aug 2006 09:15:56 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <whiteadam@example.net> Content-Transfer-Encoding: 7bit From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 18:15:54 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Aug 8, 2006, at 5:48 PM, James M Snell wrote: > Keep in mind that the mime type is required on out of line content, so > it should be setContent(URI uri, String mediatype) It should be very > simple to do. As a hint to get you started, look at the Entry and > FOMEntry classes. Specifically, look at the implementation of the > existing setContent(String value, String mediatype) method as a > template. Implementing the new method should require only changing > one > line of code from that method. Thanks. I will implement this ASAP, unless someone else beats me to it. Ugo -- Ugo Cei Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Evil or Not?: http://evilornot.info/ Company: http://www.sourcesense.com/ From abdera-user-returnwhiteadam@example.net Tue Aug 08 16:27:51 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 7805 invoked from network); 8 Aug 2006 16:27:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 16:27:51 -0000 Received: (qmail 82409 invoked by uid 500); 8 Aug 2006 16:27:51 -0000 Delivered-To: whiteadam@example.net Received: (qmail 82397 invoked by uid 500); 8 Aug 2006 16:27:51 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 82388 invoked by uid 99); 8 Aug 2006 16:27:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 09:27:51 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 09:27:50 -0700 Received: by nz-out-0102.google.com with SMTP id v1so273569nzb for <whiteadam@example.net>; Tue, 08 Aug 2006 09:27:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ON4uG3WOJp9vRuNmjhqCAYtGE4pxXqzGGU5QZWdc0Yc9ctt48C2bTY1hpcfH7h7dZitBQpCBwQfwVk3MlDng0Crzl0A7p2y6KCEMTn8pNunWHAVqBV9Aebp5tiBo5BxtzVEi1UsXEihNAnYOLXavNcJGR4fKK0LDqfYP+guUtMA= Received: by 83.161.120.155 with SMTP id x14mr7974280qbl; Tue, 08 Aug 2006 09:27:26 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 43sm4948112wri.283.161.120.155.27.23; Tue, 08 Aug 2006 09:27:24 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 09:27:18 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ugo Cei wrote: > Thanks. I will implement this ASAP, unless someone > else beats me to it. Will.... restrain.... myself.... must.... not.... open.... eclipse.... ;-) From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:08:00 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 25869 invoked from network); 8 Aug 2006 17:08:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:08:00 -0000 Received: (qmail 59349 invoked by uid 500); 8 Aug 2006 17:08:00 -0000 Delivered-To: whiteadam@example.net Received: (qmail 59314 invoked by uid 500); 8 Aug 2006 17:08:00 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 59305 invoked by uid 99); 8 Aug 2006 17:08:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:08:00 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:07:58 -0700 Received: by ug-out-1314.google.com with SMTP id u40so46987ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:07:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=JTVLMIhiIklpnJBGVmCll/oHtX0rX2gM5TozyHPFtzyBVhqh6aKyKJvyerjsuuE1bpPn6UxDqd1jks6tBWB40TlFjVQDrD0TSPHhZWcUxtKZRhvBpwWimcei0N9Gnoara2LLrb66x98xQJcGr55tdfrBSzUVNC73AhRQay1JM/w= Received: by 83.161.120.155 with SMTP id w11mr9843986ugh; Tue, 08 Aug 2006 10:07:36 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id k1sm4595878ugf.283.161.120.155.07.30; Tue, 08 Aug 2006 10:07:35 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: multipart/mixed; boundary=Apple-Mail-5-655990533 Message-Id: <whiteadam@example.net> From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 19:07:29 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-5-655990533 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 8, 2006, at 6:27 PM, James M Snell wrote: > Ugo Cei wrote: >> Thanks. I will implement this ASAP, unless someone >> else beats me to it. > > Will.... restrain.... myself.... must.... not.... open.... eclipse.... OK, here's your patch. A couple of things to note: - I didn't know where to put some tests for this, as there doesn't seem to be other tests already for the various setContent* methods, so I simply added some code to the examples to see if everything looked alright. - There are some tests which fail (running mvn test) but they were failing even before my changes: [surefire] Running org.apache.abdera.test.parser.stax.FOMTest [surefire] Tests run: 11, Failures: 3, Errors: 0, Time elapsed: 0.511 sec <<<<<<<< FAILURE !! Ugo --Apple-Mail-5-655990533 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed -- Ugo Cei Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Evil or Not?: http://evilornot.info/ Company: http://www.sourcesense.com/ --Apple-Mail-5-655990533-- From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:16:40 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 29586 invoked from network); 8 Aug 2006 17:16:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:16:40 -0000 Received: (qmail 91592 invoked by uid 500); 8 Aug 2006 17:16:39 -0000 Delivered-To: whiteadam@example.net Received: (qmail 91580 invoked by uid 500); 8 Aug 2006 17:16:39 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 91565 invoked by uid 99); 8 Aug 2006 17:16:39 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:16:38 -0700 Received: by wx-out-0506.google.com with SMTP id s13so516084wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:15:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tFKIfkY0gQwe7KXWW7Mo92RhGZxXzm9Iex2jUs76mfcnDOZ+5HbFPO8kxN20if4IViUxt1yIJq8r47A1dOaocPpV3Y/LbdJQ2pE42LXZHAw+43EKAyQLkcw4lVn+rEQW/d4LWsAvFlU6xgXtgjnjyHzbqpneR529GGuSHq9ehnc= Received: by 83.161.120.155 with SMTP id x7mr2845736hud; Tue, 08 Aug 2006 10:15:15 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 8 Aug 2006 10:15:15 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 8 Aug 2006 13:15:15 -0400 From: "Garrett Rooney" <whiteadam@example.net> Sender: whiteadam@example.net To: whiteadam@example.net Subject: Re: <content src=> In-Reply-To: <whiteadam@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> X-Google-Sender-Auth: 9688b9c8dd57b687 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > OK, here's your patch. A couple of things to note: Your patch seems to have been stripped someplace along the line... > - I didn't know where to put some tests for this, as there doesn't > seem to be other tests already for the various setContent* methods, > so I simply added some code to the examples to see if everything > looked alright. Looks like a section of the code that could use some new tests... > - There are some tests which fail (running mvn test) but they were > failing even before my changes: > > [surefire] Running org.apache.abdera.test.parser.stax.FOMTest > [surefire] Tests run: 11, Failures: 3, Errors: 0, Time elapsed: 0.511 > sec <<<<<<<< FAILURE !! Interesting. I wonder what's different between running the tests via maven and running them via ant. Is maven pulling down some new dependencies or something? They all seem to pass here... -garrett From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:20:31 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 31553 invoked from network); 8 Aug 2006 17:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:20:31 -0000 Received: (qmail 13087 invoked by uid 500); 8 Aug 2006 17:20:31 -0000 Delivered-To: whiteadam@example.net Received: (qmail 13070 invoked by uid 500); 8 Aug 2006 17:20:31 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 13060 invoked by uid 99); 8 Aug 2006 17:20:31 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:20:29 -0700 Received: by ug-out-1314.google.com with SMTP id u40so50534ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:19:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=B/X1pA0ylaaayvkwKPP1MupJ1xVPJWmpyUEdBUKl7Mlh+96umeI+PaBrUdN2m5TR+W4l8y7UG6mf30xbHiRRZc5clAJf+Nng25YPsDstdbKa8W9GNFmMcvpkw24CIC55MZlV24AHvXnRKAN9WnljGHbVzJbexiqsL2B6x21gSNw= Received: by 83.161.120.155 with SMTP id r5mr9838252ugl; Tue, 08 Aug 2006 10:19:08 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id k30sm6454567ugc.283.161.120.155.19.07; Tue, 08 Aug 2006 10:19:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: multipart/mixed; boundary=Apple-Mail-6-656687085 Message-Id: <whiteadam@example.net> From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 19:19:06 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-6-656687085 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Aug 8, 2006, at 7:15 PM, Garrett Rooney wrote: > On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > >> OK, here's your patch. A couple of things to note: > > Your patch seems to have been stripped someplace along the line... I'm trying to send it again. --Apple-Mail-6-656687085-- From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:23:49 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 33149 invoked from network); 8 Aug 2006 17:23:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:23:49 -0000 Received: (qmail 23354 invoked by uid 500); 8 Aug 2006 17:23:47 -0000 Delivered-To: whiteadam@example.net Received: (qmail 23335 invoked by uid 500); 8 Aug 2006 17:23:46 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 23264 invoked by uid 99); 8 Aug 2006 17:23:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:23:46 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:23:41 -0700 Received: by nf-out-0910.google.com with SMTP id a25so308821nfc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:23:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=oSmY22wpkw7nRLUASWYb3r9PWbEgS7zjab069MdQyYIMcFMBxi1bZHw7sSmHTM8Mwm7rxttIRCjBKyhJhWkeDn+zgnzTDYWr9Ck+axea1xnt3aRRvr+WOM7bK23bOmO6A/4LOxfC3RvXI5p02mvwqX4z7d6Xp7b2dTQunriFGFQ= Received: by 83.161.120.155 with SMTP id z3mr2840469hue; Tue, 08 Aug 2006 10:23:01 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 8 Aug 2006 10:23:01 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 8 Aug 2006 13:23:01 -0400 From: "Garrett Rooney" <whiteadam@example.net> Sender: whiteadam@example.net To: whiteadam@example.net Subject: Re: <content src=> In-Reply-To: <whiteadam@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> X-Google-Sender-Auth: b6a68ca56083cdf5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > > On Aug 8, 2006, at 7:15 PM, Garrett Rooney wrote: > > > On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > > > >> OK, here's your patch. A couple of things to note: > > > > Your patch seems to have been stripped someplace along the line... > > I'm trying to send it again. Nope :( Does it perhaps have a filename that looks ungood to one of the mail servers in the way? Perhaps changing it to .txt? -garrett From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:26:57 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 34209 invoked from network); 8 Aug 2006 17:26:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:26:56 -0000 Received: (qmail 34723 invoked by uid 500); 8 Aug 2006 17:26:56 -0000 Delivered-To: whiteadam@example.net Received: (qmail 34708 invoked by uid 500); 8 Aug 2006 17:26:56 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 34699 invoked by uid 99); 8 Aug 2006 17:26:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:26:56 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:26:55 -0700 Received: by ug-out-1314.google.com with SMTP id u40so52813ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:26:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=jNfNXmUf1hcGANbTJ0Xx3Y4jCKX0jFeFBiNlkLj38uj1tSNUOnxSpapNlABGcgpNcijOAoKlTo08B0APBmAtpvG+Xn9KW4OVDSzcI7i+3x+Rt7OABti4KnY+vzEvy+1MN0TER9BEgwpfEuuTFOsgW6ZflKC1sf++/k22etIB5UY= Received: by 83.161.120.155 with SMTP id b13mr9873747ugj; Tue, 08 Aug 2006 10:26:15 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id j1sm6478041ugf.283.161.120.155.26.14; Tue, 08 Aug 2006 10:26:14 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <whiteadam@example.net> Content-Transfer-Encoding: 7bit From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 19:26:12 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Aug 8, 2006, at 7:15 PM, Garrett Rooney wrote: > I wonder what's different between running the tests via maven and > running them via ant. Is maven pulling down some new dependencies or > something? > > They all seem to pass here... Well, they don't pass here, even when using ant: $ ant -f build/build.xml test .... [echo] Running Stax Parser Tests... [java] ......................................... [java] ......................................... [java] ......................................... [java] ......................................... [java] ......................................... [java] ......................................... [java] .........................F.F...F... [java] Time: 66.456 [java] There were 3 failures: The failing testcases seem to be the same as with Maven. By the way, this is: $ java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) on OS X 10.4.7. I'll see later if I can find out what is causing this. Ugo From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:27:43 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 34339 invoked from network); 8 Aug 2006 17:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:27:43 -0000 Received: (qmail 38288 invoked by uid 500); 8 Aug 2006 17:27:43 -0000 Delivered-To: whiteadam@example.net Received: (qmail 38273 invoked by uid 500); 8 Aug 2006 17:27:43 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 38255 invoked by uid 99); 8 Aug 2006 17:27:43 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:27:40 -0700 Received: by wx-out-0506.google.com with SMTP id s13so519049wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:26:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HZAt0ToTTRkDVfwmRdcIW6DP6EFzVQqjBg09JhlwKbWn/KVgc0aQ90z5ByJcXApQodHzQMeCimZyuRMUeJjVflC37Dhb3q69TsDETAxlJT8fAPNx/jUKyrCXWnIrg412r7di7OTAG9q4OGBt+SIME2BsvLR7wm/DAZZ4ZMnml0k= Received: by 83.161.120.155 with SMTP id s7mr1107297wxa; Tue, 08 Aug 2006 10:26:19 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 11sm1484591wrl.283.161.120.155.26.18; Tue, 08 Aug 2006 10:26:19 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 10:26:13 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Garrett Rooney wrote: >[snip] >> - I didn't know where to put some tests for this, as there doesn't >> seem to be other tests already for the various setContent* methods, >> so I simply added some code to the examples to see if everything >> looked alright. > > Looks like a section of the code that could use some new tests... > must.... resist.... >> - There are some tests which fail (running mvn test) but they were >> failing even before my changes: >> >> [surefire] Running org.apache.abdera.test.parser.stax.FOMTest >> [surefire] Tests run: 11, Failures: 3, Errors: 0, Time elapsed: 0.511 >> sec <<<<<<<< FAILURE !! > > Interesting. > > I wonder what's different between running the tests via maven and > running them via ant. Is maven pulling down some new dependencies or > something? > > They all seem to pass here... > well, I'm seeing some wierdness also. Running the tests via ant, everything works. Running the tests from Eclipse, I'm seeing some failures, but the failures don't make any whiteadam@example.net. I'm willing to trust the Ant build for now, but eventually we may need to explore what's going on. - James From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:27:48 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 34362 invoked from network); 8 Aug 2006 17:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:27:48 -0000 Received: (qmail 38561 invoked by uid 500); 8 Aug 2006 17:27:48 -0000 Delivered-To: whiteadam@example.net Received: (qmail 38547 invoked by uid 500); 8 Aug 2006 17:27:48 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 38538 invoked by uid 99); 8 Aug 2006 17:27:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:27:48 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:27:44 -0700 Received: by wx-out-0506.google.com with SMTP id s13so519271wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:27:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=sAa3civ+QEC07UfD3I0IB9Ie+i157OWPkrQnptXS/lrsoiuBgbiUfNQAbvWzVusc/0fQHbyE4L/U+gRCmdkGVcuzBzVrYRNIJZ5XH5sdpcZAZ8s2jzG4IsQnNsrwjMBwQ8Tp+4eNb10AnmRB3pMCjzXYvHLoAuIBrYNy8T9FWis= Received: by 83.161.120.155 with SMTP id p4mr1122170wxa; Tue, 08 Aug 2006 10:27:09 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 38sm2699596wrl.283.161.120.155.27.08; Tue, 08 Aug 2006 10:27:09 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 10:27:04 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Strange. Thunderbird is telling me that there is an attachment, but no attachment is to be found anywhere. Try attaching it with a different extension (txt, for instance). - James Ugo Cei wrote: > > On Aug 8, 2006, at 7:15 PM, Garrett Rooney wrote: > >> On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: >> >>> OK, here's your patch. A couple of things to note: >> >> Your patch seems to have been stripped someplace along the line... > > I'm trying to send it again. > From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:28:42 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 34684 invoked from network); 8 Aug 2006 17:28:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:28:42 -0000 Received: (qmail 41404 invoked by uid 500); 8 Aug 2006 17:28:42 -0000 Delivered-To: whiteadam@example.net Received: (qmail 41367 invoked by uid 500); 8 Aug 2006 17:28:42 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 41354 invoked by uid 99); 8 Aug 2006 17:28:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:28:42 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:28:38 -0700 Received: by ug-out-1314.google.com with SMTP id u40so53176ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:27:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=evA2CA+617yaFw0fQkRNGT0Kb2JrOum62ZNaYsxtJZFDMitNp4uqtfEzINpNvsHDdAv1UUb442oTTTVRoAzfyn1L5CAxnFmplfwvbUAgM2ztXyW3YXGOrzJRCtnMPchRgUtB1yNiJzKl/Ycm+dKoxPiqIxliARlD/QaHPbl2Pk4= Received: by 83.161.120.155 with SMTP id c17mr9834041ugm; Tue, 08 Aug 2006 10:27:30 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id y7sm6485151ugc.283.161.120.155.27.29; Tue, 08 Aug 2006 10:27:30 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: multipart/mixed; boundary=Apple-Mail-+1-228-715-4028 Message-Id: <whiteadam@example.net> From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 19:27:28 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-+1-228-715-4028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Aug 8, 2006, at 7:23 PM, Garrett Rooney wrote: > Does it perhaps have a filename that looks ungood to one of the mail > servers in the way? Perhaps changing it to .txt? Let's try. --Apple-Mail-+1-228-715-4028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name=abdera.diff.txt Content-Disposition: attachment; filename=abdera.diff.txt Index: java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java =================================================================== --- java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java (revision 429733) +++ java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java (working copy) @@ -214,6 +214,17 @@ Content setContent(String value, String mediatype) throws MimeTypeParseException; /** + * Sets the content for this entry as out of line. + * + * @param uri URI of the content (value of the "src" attribute). + * @param mediatype Type of the content. + * @return The new content element. + * @throws MimeTypeParseException if the mime type is invalid. + * @throws URISyntaxException if the URI is invalid. + */ + Content setContent(URI uri, String mediatype) throws MimeTypeParseException, URISyntaxException; + + /** * Returns the text of the content element */ String getContent(); Index: java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java =================================================================== --- java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java (revision 429733) +++ java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java (working copy) @@ -259,6 +259,19 @@ setContentElement(content); return content; } + + /** + * Sets the content for this entry + * @throws MimeTypeParseException + * @throws URISyntaxException + */ + public Content setContent(URI uri, String mediatype) throws MimeTypeParseException, URISyntaxException { + FOMFactory factory = (FOMFactory) this.factory; + Content content = factory.newContent(new MimeType(mediatype)); + content.setSrc(uri.toString()); + setContentElement(content); + return content; + } public List<Person> getContributors() { Index: java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java =================================================================== --- java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java (revision 429733) +++ java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java (working copy) @@ -17,6 +17,7 @@ */ package org.apache.abdera.examples.simple; +import java.net.URI; import java.util.Date; import org.apache.abdera.factory.Factory; @@ -63,6 +64,14 @@ entry3.setSummaryAsHtml("<p><a href=\"foo\">Test</a></p>").setBaseUri("http://example.org/site/"); entry3.setSource(feed.getAsSource()); + // Out-of-line content + Entry entry4 = feed.addEntry(); + entry4.setTitle("re: Atom-Powered Robots Run Amok"); + entry4.addLink("/2003/12/13/atom03/3"); + entry4.setId("urn:uuid:1225c695-cfb8-4ebb-aaaa-cafebabecafe"); + entry4.setUpdated(new Date()); + entry4.setSummary("An entry with out-of-line content"); + entry4.setContent(new URI("http://example.org/0xcafebabe"), "text/html"); feed.getDocument().writeTo(System.out); } --Apple-Mail-+1-228-715-4028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Ugo --Apple-Mail-+1-228-715-4028-- From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:33:18 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 36060 invoked from network); 8 Aug 2006 17:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:33:18 -0000 Received: (qmail 56878 invoked by uid 500); 8 Aug 2006 17:33:18 -0000 Delivered-To: whiteadam@example.net Received: (qmail 56858 invoked by uid 500); 8 Aug 2006 17:33:18 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 56848 invoked by uid 99); 8 Aug 2006 17:33:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:33:18 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:33:17 -0700 Received: by wx-out-0506.google.com with SMTP id s13so520784wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:32:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=BVfUiEtTNSmCTYKRS8TBcGgcAyvNFZdR6Np9cPfbWyumsimvqNXQ9BqGAy5hp2OGIkWggO+Xv39hKPfl6q/KzpzPhTcOLnRz4ve0D4eg2lvhnmJFdOnfm0RRWBq0vgKa+xoNGQxrpmNs203KJndWo/fATahl3icBLno2kmhapOc= Received: by 83.161.120.155 with SMTP id 20mr1096373wxn; Tue, 08 Aug 2006 10:32:43 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id 39sm2659883wrl.283.161.120.155.32.41; Tue, 08 Aug 2006 10:32:42 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 10:32:37 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Got it. Ugo Cei wrote: > > On Aug 8, 2006, at 7:23 PM, Garrett Rooney wrote: > >> Does it perhaps have a filename that looks ungood to one of the mail >> servers in the way? Perhaps changing it to .txt? > > Let's try. > > > ------------------------------------------------------------------------ > > Index: java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java > =================================================================== > --- java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java (revision 429733) > +++ java/trunk/core/src/main/java/org/apache/abdera/model/Entry.java (working copy) > @@ -214,6 +214,17 @@ > Content setContent(String value, String mediatype) throws MimeTypeParseException; > > /** > + * Sets the content for this entry as out of line. > + * > + * @param uri URI of the content (value of the "src" attribute). > + * @param mediatype Type of the content. > + * @return The new content element. > + * @throws MimeTypeParseException if the mime type is invalid. > + * @throws URISyntaxException if the URI is invalid. > + */ > + Content setContent(URI uri, String mediatype) throws MimeTypeParseException, URISyntaxException; > + > + /** > * Returns the text of the content element > */ > String getContent(); > Index: java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java > =================================================================== > --- java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java (revision 429733) > +++ java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java (working copy) > @@ -259,6 +259,19 @@ > setContentElement(content); > return content; > } > + > + /** > + * Sets the content for this entry > + * @throws MimeTypeParseException > + * @throws URISyntaxException > + */ > + public Content setContent(URI uri, String mediatype) throws MimeTypeParseException, URISyntaxException { > + FOMFactory factory = (FOMFactory) this.factory; > + Content content = factory.newContent(new MimeType(mediatype)); > + content.setSrc(uri.toString()); > + setContentElement(content); > + return content; > + } > > > public List<Person> getContributors() { > Index: java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java > =================================================================== > --- java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java (revision 429733) > +++ java/trunk/examples/src/main/java/org/apache/abdera/examples/simple/Create.java (working copy) > @@ -17,6 +17,7 @@ > */ > package org.apache.abdera.examples.simple; > > +import java.net.URI; > import java.util.Date; > > import org.apache.abdera.factory.Factory; > @@ -63,6 +64,14 @@ > entry3.setSummaryAsHtml("<p><a href=\"foo\">Test</a></p>").setBaseUri("http://example.org/site/"); > entry3.setSource(feed.getAsSource()); > > + // Out-of-line content > + Entry entry4 = feed.addEntry(); > + entry4.setTitle("re: Atom-Powered Robots Run Amok"); > + entry4.addLink("/2003/12/13/atom03/3"); > + entry4.setId("urn:uuid:1225c695-cfb8-4ebb-aaaa-cafebabecafe"); > + entry4.setUpdated(new Date()); > + entry4.setSummary("An entry with out-of-line content"); > + entry4.setContent(new URI("http://example.org/0xcafebabe"), "text/html"); > feed.getDocument().writeTo(System.out); > } > > > > ------------------------------------------------------------------------ > > > Ugo From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:35:39 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 36874 invoked from network); 8 Aug 2006 17:35:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:35:39 -0000 Received: (qmail 65469 invoked by uid 500); 8 Aug 2006 17:35:39 -0000 Delivered-To: whiteadam@example.net Received: (qmail 65451 invoked by uid 500); 8 Aug 2006 17:35:39 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 65442 invoked by uid 99); 8 Aug 2006 17:35:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:35:39 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:35:37 -0700 Received: by ug-out-1314.google.com with SMTP id c2so274085ugf for <whiteadam@example.net>; Tue, 08 Aug 2006 10:35:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=ZrxFY5CpX0keYWvCz36uAFqfx4H/4IEEyrIbo5B8bp1kgn6azCfCTHIiW+Ecle+Jeg4pOwE6CdMTAz8ZsdQGyUWryBfSJh9TSSe2+gbtT4ngkZNUKe6jEq8eb8Ptv/+YWRECFdjBmqBbOSbapAHK6zXniXpzKo6QTDAS0KdQ7Kk= Received: by 83.161.120.155 with SMTP id g12mr9903767ugj; Tue, 08 Aug 2006 10:35:00 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id q40sm6502645ugc.283.161.120.155.34.59; Tue, 08 Aug 2006 10:35:00 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <whiteadam@example.net> Content-Transfer-Encoding: 7bit From: Ugo Cei <whiteadam@example.net> Subject: Re: <content src=> Date: Tue, 8 Aug 2006 19:34:58 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Aug 8, 2006, at 7:26 PM, James M Snell wrote: > well, I'm seeing some wierdness also. Running the tests via ant, > everything works. Running the tests from Eclipse, I'm seeing some > failures, but the failures don't make any whiteadam@example.net. I'm > willing to > trust the Ant build for now, but eventually we may need to explore > what's going on. Well, at least I'm getting consistent results: the same tests fail whether using Ant, Maven or Eclipse. I'm going to investigate this ASAP. Ugo -- Ugo Cei Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Evil or Not?: http://evilornot.info/ Company: http://www.sourcesense.com/ From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:43:43 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 39239 invoked from network); 8 Aug 2006 17:43:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:43:43 -0000 Received: (qmail 95951 invoked by uid 500); 8 Aug 2006 17:43:43 -0000 Delivered-To: whiteadam@example.net Received: (qmail 95936 invoked by uid 500); 8 Aug 2006 17:43:43 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 95927 invoked by uid 99); 8 Aug 2006 17:43:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:43:43 -0700 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:43:39 -0700 Received: by wx-out-0506.google.com with SMTP id s13so523617wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:43:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YL4pSvAwZc/hKaLCHbRLqNYdBaWvAckcvmLXUCRNON+eE34tCXs3oXyVhTv7LoihhctEFNRoKZt/kNGrsvMm5+SrV5Q1c9wXj11HSnoh7S6Evq8NfzXBdNHenuL+GAYf4upSGavgoJZch7KlMS4RTX3ylrJ1iFhv8/tLO4Cn8ek= Received: by 83.161.120.155 with SMTP id w11mr1169096wxb; Tue, 08 Aug 2006 10:43:01 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id g9sm1972038wra.283.161.120.155.43.00; Tue, 08 Aug 2006 10:43:01 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 08 Aug 2006 10:42:56 -0700 From: James M Snell <whiteadam@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20060719) MIME-Version: 1.0 To: whiteadam@example.net Subject: Re: <content src=> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> In-Reply-To: <whiteadam@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Cool, thx! Ugo Cei wrote: > > On Aug 8, 2006, at 7:26 PM, James M Snell wrote: >> well, I'm seeing some wierdness also. Running the tests via ant, >> everything works. Running the tests from Eclipse, I'm seeing some >> failures, but the failures don't make any whiteadam@example.net. I'm willing to >> trust the Ant build for now, but eventually we may need to explore >> what's going on. > > Well, at least I'm getting consistent results: the same tests fail > whether using Ant, Maven or Eclipse. I'm going to investigate this ASAP. > > Ugo > > > > --Ugo Cei > Blog: http://agylen.com/ > Open Source Zone: http://oszone.org/ > Evil or Not?: http://evilornot.info/ > Company: http://www.sourcesense.com/ > > > From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:49:15 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 44915 invoked from network); 8 Aug 2006 17:49:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:49:12 -0000 Received: (qmail 15269 invoked by uid 500); 8 Aug 2006 17:49:11 -0000 Delivered-To: whiteadam@example.net Received: (qmail 15252 invoked by uid 500); 8 Aug 2006 17:49:11 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 15243 invoked by uid 99); 8 Aug 2006 17:49:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:49:11 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO hu-out-0102.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:49:10 -0700 Received: by hu-out-0102.google.com with SMTP id 22so825088hug for <whiteadam@example.net>; Tue, 08 Aug 2006 10:48:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=q6Vn6l1oWIlDqc1pnvrrkAF/VGuaenJgMpO2ZiiPxV6fnN2lV5Aa7MPqqqTKG5Cm2MGJCchPFcEoEY1AcsKpPdn+7wmIqaQwNMKcbBtU5XZL63Ms8pQozktfY7Mp84oyOT7qW0FsVCFykmlW4BB2EqCCgZ23Dbggc7pfjG1zouo= Received: by 83.161.120.155 with SMTP id r10mr9903930ugh; Tue, 08 Aug 2006 10:48:47 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id h1sm5431965ugf.283.161.120.155.48.46; Tue, 08 Aug 2006 10:48:47 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <whiteadam@example.net> Content-Transfer-Encoding: 7bit From: Ugo Cei <whiteadam@example.net> Subject: Failing tests (was Re: <content src=>) Date: Tue, 8 Aug 2006 19:48:45 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N More info about the failing tests. The following test methods fail: FOMTest#testTextFilter FOMTest#testXPath FOMTest#testRoundTrip Now, hold yourself tight, but if I run each of those tests *alone* in Eclipse, they succeed! This tells me there is some interaction between tests. What stands out is this, apparently: ParserOptions options = Parser.INSTANCE.getDefaultParserOptions(); options.setTextFilter(filter); If the object returned by getDefaultParserOptions is a singleton, it's possible that one of the tests sets a filter and a subsequent tests fails because it expects the options to be empty. Just a suggestion. Ugo -- Ugo Cei Blog: http://agylen.com/ Open Source Zone: http://oszone.org/ Evil or Not?: http://evilornot.info/ Company: http://www.sourcesense.com/ From abdera-user-returnwhiteadam@example.net Tue Aug 08 17:53:40 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 50344 invoked from network); 8 Aug 2006 17:53:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 17:53:40 -0000 Received: (qmail 26224 invoked by uid 500); 8 Aug 2006 17:53:40 -0000 Delivered-To: whiteadam@example.net Received: (qmail 26207 invoked by uid 500); 8 Aug 2006 17:53:40 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 26192 invoked by uid 99); 8 Aug 2006 17:53:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:53:40 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 10:53:39 -0700 Received: by wx-out-0506.google.com with SMTP id s13so526199wxc for <whiteadam@example.net>; Tue, 08 Aug 2006 10:53:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=OaeMwU8+8Qtfb7xvkmscrVOmFdckzR3Sqc9RSBwSLThqKr58GJ0RZR3PEjdXxoNqSEOi5ySTgsnH2oOEiMVf+vXdPWtfagLmmp0DANeoLRPlUkwo7oq7dwYAhhypX30pS5yXxyzg6DYlsc5TU/wGY8rXw1KJ3yrF8QxHKPkuEnk= Received: by 83.161.120.155 with SMTP id n17mr2865335hud; Tue, 08 Aug 2006 10:53:18 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 8 Aug 2006 10:53:18 -0700 (PDT) Message-ID: <whiteadam@example.net> Date: Tue, 8 Aug 2006 13:53:18 -0400 From: "Garrett Rooney" <whiteadam@example.net> Sender: whiteadam@example.net To: whiteadam@example.net Subject: Re: Failing tests (was Re: <content src=>) In-Reply-To: <whiteadam@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> X-Google-Sender-Auth: c06f6da0383b8ac0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/8/06, Ugo Cei <whiteadam@example.net> wrote: > More info about the failing tests. The following test methods fail: > > FOMTest#testTextFilter > FOMTest#testXPath > FOMTest#testRoundTrip > > Now, hold yourself tight, but if I run each of those tests *alone* in > Eclipse, they succeed! > > This tells me there is some interaction between tests. What stands > out is this, apparently: > > > ParserOptions options = Parser.INSTANCE.getDefaultParserOptions(); > options.setTextFilter(filter); > > If the object returned by getDefaultParserOptions is a singleton, > it's possible that one of the tests sets a filter and a subsequent > tests fails because it expects the options to be empty. Just a > suggestion. Sounds promising, but... @Override public ParserOptions getDefaultParserOptions() { return new FOMParserOptions(); } That's from FOMParser.java, and FOMParserOptions doesn't seem to have anything odd in it. -garrett From abdera-user-returnwhiteadam@example.net Tue Aug 08 18:01:30 2006 Return-Path: <abdera-user-returnwhiteadam@example.net> Delivered-To: whiteadam@example.net Received: (qmail 56403 invoked from network); 8 Aug 2006 18:01:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2006 18:01:30 -0000 Received: (qmail 42115 invoked by uid 500); 8 Aug 2006 18:01:30 -0000 Delivered-To: whiteadam@example.net Received: (qmail 42099 invoked by uid 500); 8 Aug 2006 18:01:30 -0000 Mailing-List: contact whiteadam@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:whiteadam@example.net> List-Unsubscribe: <mailto:whiteadam@example.net> List-Post: <mailto:whiteadam@example.net> List-Id: <abdera-user.incubator.apache.org> Reply-To: whiteadam@example.net Delivered-To: mailing list whiteadam@example.net Received: (qmail 42090 invoked by uid 99); 8 Aug 2006 18:01:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 11:01:30 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whiteadam@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 11:01:29 -0700 Received: by ug-out-1314.google.com with SMTP id u40so63072ugc for <whiteadam@example.net>; Tue, 08 Aug 2006 11:01:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=Mlg4fL34ZW4P65ZKuf94h/veJZX5fd3sUPyhb76ta7Eni9jJmkT69udGEN5FDninUhk0r6aA5jnWmJItzhLW0Q1ygbOlS6U26Ugh8rEgpgSB7N+9WZ7Nr/q/7YknoA69LrQTB/Kv+dC5UOhKajJuSMxqxkVZ5d54XStujhPjja8= Received: by 83.161.120.155 with SMTP id o6mr9853846ugg; Tue, 08 Aug 2006 11:01:08 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id q40sm6536403ugc.283.161.120.155.01.07; Tue, 08 Aug 2006 11:01:08 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <whiteadam@example.net> References: <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> <whiteadam@example.net> Content-Type: multipart/mixed; boundary=Apple-Mail-+1-228-715-4028 Message-Id: <whiteadam@example.net> From: Ugo Cei <whiteadam@example.net> Subject: Re: Failing tests (was Re: <content src=>) Date: Tue, 8 Aug 2006 20:01:05 +0200 To: whiteadam@example.net X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-+1-228-715-4028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 8, 2006, at 7:53 PM, Garrett Rooney wrote: > Sounds promising, but... > > @Override > public ParserOptions getDefaultParserOptions() { > return new FOMParserOptions(); > } > > That's from FOMParser.java, and FOMParserOptions doesn't seem to have > anything odd in it. Huh? My copy (rev. 429578) has: @Override public ParserOptions getDefaultParserOptions() { if (options == null) options = new FOMParserOptions(); return options; } And this is indeed the problem, since I've modified the tests (patch attached) to make sure options are reset after every test (should probably use tearDown, though) and the tests now succeeed. Ugo --Apple-Mail-+1-228-715-4028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name=abdera.diff.2.txt Content-Disposition: attachment; filename=abdera.diff.2.txt Index: java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java =================================================================== --- java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java (revision 429743) +++ java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java (working copy) @@ -148,30 +148,35 @@ filter.add(Constants.TITLE); filter.add(Constants.ID); ParserOptions options = Parser.INSTANCE.getDefaultParserOptions(); - options.setParseFilter(filter); + try { + options.setParseFilter(filter); + + URL url = FOMTest.class.getResource("/simple.xml"); + InputStream in = url.openStream(); - URL url = FOMTest.class.getResource("/simple.xml"); - InputStream in = url.openStream(); - - Document<Feed> doc = Parser.INSTANCE.parse(in, url.toURI(), options); - Feed feed = doc.getRoot(); + Document<Feed> doc = Parser.INSTANCE.parse(in, url.toURI(), options); + Feed feed = doc.getRoot(); + + assertEquals(feed.getTitle(),"Example Feed"); + assertEquals(feed.getTitleType(), Text.Type.TEXT); + assertNull(feed.getAlternateLink()); + assertNull(feed.getUpdated()); + assertNull(feed.getAuthor()); + assertEquals(feed.getId().toString(), "urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6"); + + Entry entry = feed.getEntries().get(0); - assertEquals(feed.getTitle(),"Example Feed"); - assertEquals(feed.getTitleType(), Text.Type.TEXT); - assertNull(feed.getAlternateLink()); - assertNull(feed.getUpdated()); - assertNull(feed.getAuthor()); - assertEquals(feed.getId().toString(), "urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6"); - - Entry entry = feed.getEntries().get(0); - - assertEquals(entry.getTitle(),"Atom-Powered Robots Run Amok"); - assertEquals(entry.getTitleType(), Text.Type.TEXT); - assertNull(entry.getAlternateLink()); - assertEquals(entry.getId().toString(),"urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a"); - assertNull(entry.getUpdated()); - assertNull(entry.getSummary()); - assertNull(entry.getSummaryType()); + assertEquals(entry.getTitle(),"Atom-Powered Robots Run Amok"); + assertEquals(entry.getTitleType(), Text.Type.TEXT); + assertNull(entry.getAlternateLink()); + assertEquals(entry.getId().toString(),"urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a"); + assertNull(entry.getUpdated()); + assertNull(entry.getSummary()); + assertNull(entry.getSummaryType()); + } + finally { + options.setParseFilter(null); + } } public void testBlackListParseFilter() throws Exception { @@ -179,31 +184,35 @@ ParseFilter filter = new BlackListParseFilter(); filter.add(Constants.UPDATED); ParserOptions options = Parser.INSTANCE.getDefaultParserOptions(); - options.setParseFilter(filter); + try { + options.setParseFilter(filter); + + URL url = FOMTest.class.getResource("/simple.xml"); + InputStream in = url.openStream(); - URL url = FOMTest.class.getResource("/simple.xml"); - InputStream in = url.openStream(); - - Document<Feed> doc = Parser.INSTANCE.parse(in, url.toURI(), options); - Feed feed = doc.getRoot(); + Document<Feed> doc = Parser.INSTANCE.parse(in, url.toURI(), options); + Feed feed = doc.getRoot(); + + assertEquals(feed.getTitle(),"Example Feed"); + assertEquals(feed.getTitleType(), Text.Type.TEXT); + assertEquals(feed.getAlternateLink().getResolvedHref().toString(), "http://example.org/"); + assertNull(feed.getUpdated()); + assertEquals(feed.getAuthor().getName(), "John Doe"); + assertEquals(feed.getId().toString(), "urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6"); + + Entry entry =
{'source': 'Apache Software Foundation Public Mail Archives'}