Expand my Community achievements bar.

ATOM Feed working on author not on publish

Avatar

Level 2

I am facing one weired issue my feeds are working fine in author environment. But when i pushed the code to publish i am getting error "Cannot have a DOCTYPE declaration outside of prolog" Can someone please help me.

2 Replies

Avatar

Level 10

This looks like an issue related to the feed as opposed to AEM. I have searched this error: https://social.msdn.microsoft.com/Forums/en-US/832cba94-a3a5-4af8-a1ad-c7c8b5651218/cannot-have-a-do...

I find it strange it works on Author and not publish - this normally indicates that there is code on author not deployed to publish. If all dependencies are deployed - it should behave the same. 

Avatar

Level 9

Hi Harsharya,

Sounds issue at blog feed response. Can you attach the generated xml response?

Thanks,