Re: XML format in ATOM content element

2009-12-09 Thread Thierry Boileau
Hello Rob, at this time the XMl writer consider the content element as simple text in any case (in the most general case, it can contain both text and XML elements) without taking care of formatting options. However, it is possible to use formatting in the special case of XML content. I've

XML format in ATOM content element

2009-12-07 Thread Rob Lincourt
Hi, I am trying to use the Restlet ATOM extension and I cannot figure out why I am losing the formatting of my content element in the Atom document I am creating. Here is a piece of code from my class that extends ServerResource: public Representation getAtomFeed() throws IOException {

Re: XML format in ATOM content element

2009-12-07 Thread David Bordoley
Not sure about your formatting problem, but I thought i'd mention that you need to add a namespace declaration (at the minimum use the default namespace) on the XML within your atom:content element, otherwise an XML processor is going to assume that your XML is in the Atom namespace and many