Content is not allowed in prolog. strings.xml in android application -
this question has reply here:
org.xml.sax.saxparseexception: content not allowed in prolog 19 answershere xml, , error getting "content not allowed in prolog."? can please tell me why? have cleaned , rebuilt project , nil working 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 !</string> </resources>
any possible answers awesome
this error generated during parsing of xml document.
so remove space before <?xm
for more info see sax error – content not allowed in prolog
edit
also seek recreate xml file edits if not work yet.
android xml
No comments:
Post a Comment