Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 60106 invoked from network); 24 Sep 2006 22:59:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Sep 2006 22:59:47 -0000 Received: (qmail 27834 invoked by uid 500); 24 Sep 2006 22:59:47 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 27810 invoked by uid 500); 24 Sep 2006 22:59:47 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 27801 invoked by uid 99); 24 Sep 2006 22:59:47 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Sep 2006 15:59:47 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=michael.wechner@wyona.com; spf=pass X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: pass (idunn.apache.osuosl.org: domain wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] ([195.226.6.68:2628] helo=mx1.wyona.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 5A/E0-13010-EDD07154 for ; Sun, 24 Sep 2006 15:59:44 -0700 Received: from 59-170.1-85.cust.bluewin.ch ([85.1.170.59] helo=[192.168.1.39]) by mx1.wyona.com with asmtp (Exim 3.35 #1 (Debian)) id 1GRcwk-0001Sy-00 for ; Mon, 25 Sep 2006 00:59:38 +0200 Message-ID: <45170DD6.4030800@wyona.com> Date: Mon, 25 Sep 2006 00:59:34 +0200 From: Michael Wechner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, de, fr-ch, en MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: empty namespace References: <4515ABC9.6020105@wyona.com> <4515C591.9030706@gmail.com> In-Reply-To: <4515C591.9030706@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N James M Snell wrote: >Hey Mike, > >I'm not sure of the exact problem yet, but it appears you're using the >0.1.0 version of the API (e.g. Writer.INSTANCE). Any chance you can >grab the latest trunk and try that out instead? You'd get the writer by >calling: > > Abdera abdera = new Abdera(); > Writer writer = abdera.getWriter(); > > yes, this seems to work much better :-) Btw, I noticed that abdera 0.2.0 (retro) is requiring explicitely for Xalan (resp. I received an exception when it wasn't present in the first place). Is this really necessary or do I misunderstand something? Thanks Michi >- James > >Michael Wechner wrote: > > >>Hi >> >>When I "save" data as follows >> >> >> org.apache.abdera.writer.Writer writer = >>org.apache.abdera.writer.Writer.INSTANCE; >> writer.writeTo(entry, out); >>then I receive an empty namespace: >> >> >>Test ... >> >>which will throw an error when being re-parsed, wherea the original >>entry resp. the diff to original entry is >> >> >> >> >>-<?xml version="1.0"?> >>- >><entry xmlns="http://www.w3.org/2005/Atom"> >>- <title>ulysses-prototype-1-0.1.10-rc3-r16660 >>+ Test >>...ulysses-prototype-1-0.1.10-rc3-r16660 >> Michael Wechner >> >> >>urn:yanel-uuid:atom:release-entries:ulysses-prototype-1-0.1.10-rc3-r16660.xml >> >> >>- 2006-09-20T09:49:56-01:00 >>+ 2006-09-23T21:46:13.935Z >> 2006-08-16T16:30:56-01:00 >> >>- Release Candidate rc3: >>ulysses-prototype-1-0.1.10-rc3-r16660 >>- >>-
>>+ Release Candidate rc3: >>ulysses-prototype-1-0.1.10-rc3-r16660 >>+ >>+
>>
    >>
  • Several bugfixes.
  • >>
  • Experimental NAR support.
  • >>
>>
>>
>>- Release >>Candidate rc3: ulysses-prototype-1-0.1.10-rc3-r16660 >>- >>+ Release >>Candidate rc3: ulysses-prototype-1-0.1.10-rc3-r16660 >>+ >> >>Any idea why the empty namespace is being created? >> >>Thanks >> >>Michi >> >> >> > > > -- Michael Wechner Wyona - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org michael.wechner@wyona.com michi@apache.org +41 44 272 91 61