简体   繁体   中英

Parsing the KML file throwing org.xml.sax.SAXParseException

I searched the Links but still not getting why i am getting this error :

07-20 12:02:59.140: W/System.err(6558): org.xml.sax.SAXParseException: expected: /meta read: noscript (position:END_TAG </noscript>@1:495 in java.io.InputStreamReader@41efde28) 
07-20 12:02:59.140: W/System.err(6558):     at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146)
07-20 12:02:59.140: W/System.err(6558):     at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107)
07-20 12:02:59.140: W/System.err(6558):     at com.twra.mapview.MyDrivingDirectionsActivity.DrawPath(MyDrivingDirectionsActivity.java:82)
07-20 12:02:59.140: W/System.err(6558):     at com.twra.mapview.MyDrivingDirectionsActivity.onCreate(MyDrivingDirectionsActivity.java:43)
07-20 12:02:59.140: W/System.err(6558):     at android.app.Activity.performCreate(Activity.java:4470)
07-20 12:02:59.140: W/System.err(6558):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
07-20 12:02:59.150: W/System.err(6558):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
07-20 12:02:59.150: W/System.err(6558):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
07-20 12:02:59.150: W/System.err(6558):     at android.app.ActivityThread.access$600(ActivityThread.java:128)
07-20 12:02:59.150: W/System.err(6558):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
07-20 12:02:59.150: W/System.err(6558):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-20 12:02:59.150: W/System.err(6558):     at android.os.Looper.loop(Looper.java:137)
07-20 12:02:59.150: W/System.err(6558):     at android.app.ActivityThread.main(ActivityThread.java:4517)
07-20 12:02:59.150: W/System.err(6558):     at java.lang.reflect.Method.invokeNative(Native Method)
07-20 12:02:59.150: W/System.err(6558):     at java.lang.reflect.Method.invoke(Method.java:511)
07-20 12:02:59.150: W/System.err(6558):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
07-20 12:02:59.150: W/System.err(6558):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
07-20 12:02:59.150: W/System.err(6558):     at dalvik.system.NativeStart.main(Native Method)
07-20 12:02:59.180: I/Adreno200-EGLSUB(6558): <ConfigWindowMatch:2218>: Format RGBA_8888.

您尝试在此处解析的xml文档MyDrivingDirectionsActivity.java:82格式不正确。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM