我想在網頁視圖中2.2SDK在線仿真器打開一個HTML頁面(在瀏覽器),但我總是得到這個消息的html頁面:問題與Android
「此頁包含出現以下錯誤:第1行第68列的錯誤:開始和結束標記不匹配:元行0和頭「
然後我試圖打開兩個設備上的相同頁面,並沒有問題。現在我在1.6SDK-Emulator中打開相同的應用程序
有沒有人有任何想法,會發生什麼?我可以以某種方式看到頁面的html代碼?!
UPD:
HTML代碼將在服務器生成。這就是爲什麼它不太可讀。我替換了所有的src值。他們都是正確的。
<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/><title>title</title></head><body><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img src="..._0_0.png" alt="" border="0"/></td><td><img src="..._1_0.png" alt="" border="0"/></td><td><img src="..._2_0.png" alt="" border="0"/></td><td><img src="..._3_0.png" alt="" border="0"/></td><td><img src="..._4_0.png" alt="" border="0"/></td><td><img src="..._5_0.png" alt="" border="0"/></td><td><img src="..._6_0.png" alt="" border="0"/></td><td><img src="..._7_0.png" alt="" border="0"/></td><td><img src="..._8_0.png" alt="" border="0"/></td><td><img src="..._9_0.png" alt="" border="0"/></td></tr></tbody></table></body></html>
UPD2:
OK,服務器人員加入收盤標籤(元和IMG),現在我沒有得到任何分析器錯誤了。看到上面的代碼
但我現在沒有看到任何圖像。
UPD3:
我們已經得到了它。這是服務器,誰說頁面類型是xml而不是html。
你能添加你的html代碼嗎? – Houcine 2011-05-24 15:50:19