# Strange XML Parse Error

**URL:** <https://www.ruby-forum.com/t/strange-xml-parse-error/175781>\
**Category:** Rails\
**Created:** [September 19, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/strange-xml-parse-error/175781 "2009-09-19T14:31:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [September 19, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/strange-xml-parse-error/175781/1 "2009-09-19T14:31:08Z")

</div>

Hi there,

I created a basic blog app using ./script/generate scaffold command,  
everything works fine, however, when I try to get the xml of the posts  
like 0.0.0.0:3000/posts.xml, it gave me a:

XML Parsing Error: XML declaration not well-formed

\<?xml version="\*\*\*" encoding="\*\*\*\*\*\*"?\>

I didn’t touch any of the scaffolding code. Am I missing some default  
Gems? I’m running Ubuntu 9. I didn’t have this problem on the Mac.

Any help is appreciated.
