Forum Xamarin.Android

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

PLEASE HELP - error parsing xml not well-formed (invalid token) on BRAND NEW document

I'm getting the error "error parsing xml not well-formed (invalid token)" on a document that I've literally stripped down to be just like the one out of the box.

Also, the page doesn't render. I've checked this code in validators and am getting no errors back.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

</LinearLayout>

Best Answer

  • ClovyClovClovyClov Member ✭✭
    Accepted Answer

    I figured it out. I had copied my code from TextEdit and apparently it brought over some hidden Unicode characters

Answers

  • ClovyClovClovyClov Member ✭✭
    Accepted Answer

    I figured it out. I had copied my code from TextEdit and apparently it brought over some hidden Unicode characters

Sign In or Register to comment.