0

Here is my xml, and the error i am getting is "Content is not allowed in prolog."? can anyone please tell me why? i have cleaned and rebuilt my project and nothing is working so far?

<?xml version="1.0"?>
<resources>
    <string name="app_name">Mobile</string>
    <string name="txtUsernameStartValue"/>
    <string name="txtPasswordStartValue"/>
    <string name="LblPassword">Password</string>
    <string name="LblUsername">Username</string>
    <string name="btnLogin">Login</string>
    <string name="blankstring"/>
    <string name="lblNewUser">New User?</string>
    <string name="btnRegister">Register Now !</string>
</resources>

any possible answers would be awesome

Arrie
  • 1,327
  • 5
  • 18
  • 39

1 Answers1

4

This error is generated during parsing of an XML document.

So remove space before the <?xm

For more info see SAX Error – Content Is Not Allowed In Prolog

Edit

Also try to recreate your xml file with edits if that not work yet.

Giru Bhai
  • 14,370
  • 5
  • 46
  • 74