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).
right, 0.1.0-incubating.retro
Any chance you can
grab the latest trunk and try that out instead?
ok, will try that shortly
You'd get the writer by
calling:
Abdera abdera = new Abdera();
Writer writer = abdera.getWriter();
thanks for the hint.
Will send another email ;-)
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:
<entry xmlns="http://www.w3.org/2005/Atom">
<title xmlns:axis2ns65="" type="text">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</title>
+ <title xmlns:axis2ns636="" type="text">Test
...ulysses-prototype-1-0.1.10-rc3-r16660</title>
<author><name>Michael Wechner</name></author>
<id>urn:yanel-uuid:atom:release-entries:ulysses-prototype-1-0.1.10-rc3-r16660.xml</id>
<!-- Obsolete: Will be added dynamically ...
<link rel="edit" href="ulysses-prototype-1-0.1.10-rc3-r16660.xml"/>
-->
- <updated>2006-09-20T09:49:56-01:00</updated>
+ <updated>2006-09-23T21:46:13.935Z</updated>
<published>2006-08-16T16:30:56-01:00</published>
- <summary type='html'>Release Candidate rc3:
ulysses-prototype-1-0.1.10-rc3-r16660</summary>
- <content type='xhtml'>
- <div xmlns='http://www.w3.org/1999/xhtml'>
+ <summary type="html">Release Candidate rc3:
ulysses-prototype-1-0.1.10-rc3-r16660</summary>
+ <content type="xhtml">
+ <div xmlns="http://www.w3.org/1999/xhtml">
<ul>
<li>Several bugfixes.</li>
<li>Experimental NAR support.</li>
</ul>
</div>
</content>
- <dc:subject xmlns:dc='http://purl.org/dc/elements/1.1/'>Release
Candidate rc3: ulysses-prototype-1-0.1.10-rc3-r16660</dc:subject>
-</entry>
+ <dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/">Release
Candidate rc3: ulysses-prototype-1-0.1.10-rc3-r16660</dc:subject>
+</entry>
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
[EMAIL PROTECTED] [EMAIL PROTECTED]
+41 44 272 91 61