Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Missing start tag "xml"
Missing start tag "xml" [message #522037] Fri, 19 March 2010 14:24 Go to next message
Eclipse UserFriend
I'm trying this tutorial: Using Google Maps in Android | mobiForge

Developing in Eclipse and in the AndroidManifest.xml file I copy and pasted directly from the tutorial, I even tried manually typing it. Eclipse keeps telling me that the " </xml> " at the end of the file is "missing start tag" and it isn't.

Any ideas?

Here's my xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.learn2develop.GooglMaps"
android:versionCode="1"
android:versionName="1.0.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<uses-library android:name="com.google.android.maps" />
<activity android:name=".MapsActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
</xml> 
Re: Missing start tag "xml" [message #522049 is a reply to message #522037] Fri, 19 March 2010 14:39 Go to previous messageGo to next message
Eclipse UserFriend
xml is not a tag.
It's just a version and content type declaration.
You can tell that because of the "?" at the start and end of the "< >"
See?
"<? .... ?>"

You shouldn't add a </xml> at the end of your file.
Just remove that line and you should be ok.

The root element of your document is the manifest tag, not the xml.
Re: Missing start tag "xml" [message #522055 is a reply to message #522049] Fri, 19 March 2010 14:54 Go to previous message
Eclipse UserFriend
You know when you are so frustrated you want to scream? You just took that away Smile Thank you.

Deleting the xml did the trick.

Also, thank you for explaining that the root element of my document is the manifest tag, not the xml.

Best regards,
Robert
Previous Topic:Not able to install developer tools in eclipse
Next Topic:Not able to install developer tools in eclipse
Goto Forum:
  


Current Time: Sat Mar 15 01:45:33 EDT 2025

Powered by FUDForum. Page generated in 0.03496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top