RE: Remove XML declaration and html DOCTYPE

2013-08-22 Thread Robby Pelssers
I vaguely remember a similar issue and using inside sitemap did not seem to work. However, If i would declare the serializer in my spring application context instead of in my sitemap, and there set the property "omit-xml-declaration to yes it would work. Please give that a try. Cheers, Rob

Re: Remove XML declaration and html DOCTYPE

2013-08-22 Thread Bardo Nelgen
Thanks nonetheless for the response, Thorsten. The problem is: It won't work for me. While the XML-declaration, indeed, disappears completely with the approach, the doctype remains there. http://www.cityapi.eu/semaworx/MyCompressed.js The mime-type is not additionally declared in the serial

Re: Remove XML declaration and html DOCTYPE

2013-08-22 Thread Thorsten Scherler
On 08/21/2013 11:18 PM, Bardo Nelgen wrote: > > Hi all, > > sorry to pick this up again so late, but is there a solution for > Cocoon 2.2 as well? > > Tried both approaches without the desired result, for a piece of > generated JavaScript… > > As the XML serialization did not work as advertised in