Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old June 24th, 2011, 09:16 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Jun 2011
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Mad error: Error parsing XML: not well-formed (invalid token)

I cant seem to figure out this problem, in two of my xml files(this is one, the other is very similar and has the exact same problem) the line that says android:state_selected="true" /> has the error that is in the title. The true" is doesn't have the blue color to it like it should. Because of this I have no Auto generated file which is messing up the rest of my application. Does anyone know how to solve this? Be warned I am new to android development.





<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- When selected, use this -->
<item android:drawable="@drawable/tab_two_icon"
android:state_selected="true" />
<!-- When not selected, use that-->
<item android:drawable="@drawable/tab_two_iconfaded" />
</selector>

Lijap is offline  
Reply With Quote
Sponsors
Old June 25th, 2011, 03:19 AM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,299
 
Device(s): GalaxyNexus, Nexus1, Droid1, Eris, GalaxyTab10.1, Revue, Nexus7
Carrier: VZW...$$

Thanks: 4,196
Thanked 3,333 Times in 1,362 Posts
Default

could it be the &quot ?

I usually get that error when i have an ampersand somewhere -> &
alostpacket is offline  
Reply With Quote
Reply
Tags
android, auto, development, droid, error, file, frustrating, generated, parsing


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:01 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.