Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML file error

 
vendikonda sravan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am getting problem sayin Content is not allowed in prolog. in the fallowing file
I have tryd changing
<?xml version="1.0" encoding="UTF-8"?>
to
<?xml version="1.0" encoding="UTF-16"?>
Still it show ing the same error.


Thanks
sravan V
 
Paul Clapham
Sheriff
Pie
Posts: 20959
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's nothing to do with the encoding declaration. There's a dash before the start tag of your root element, see line 6 in what you posted. Get rid of that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic