我在水庫下面的XML文件/文件夾的原料 -對實體「f」的引用必須以';'結尾。分隔符
RSS的標題 http://urlofthething.com
<item>
<title>Title</title>
<description>The description goes here</description>
<link>http://someurl.someurl.com/data/Content/1771370477</link>
<guid>15626277</guid>
<pubDate>28 Jan 2011 19:07:00 +0000</pubDate>
<media:group>
<media:content medium="video" duration="273"
url="http://something.someurl.com/access/choice/u/0/1/15626277?rtspdirect=true&f=001110786488&stylesheet=mobile">
</media:content>
</media:group>
</item>
<item>
<title>Title</title>
<description>The description goes here</description>
<link>http://someurl.someurl.com/data/Content/1771370477</link>
<guid>15626277</guid>
<pubDate>28 Jan 2011 19:07:00 +0000</pubDate>
<media:group>
<media:content medium="video" duration="273"
url="http://something.someurl.com/access/choice/u/0/1/15626277?rtspdirect=true&f=001110786488&stylesheet=mobile">
</media:content>
</media:group>
</item>
</channel>
和我使用
InputStream ins = getResources().openRawResource(R.raw.myxmlfile);
來讀取文件。
但是就行了 -
url="http://something.someurl.com/access/choice/u/0/1/15626277?rtspdirect=true&f=001110786488&stylesheet=mobile">
我收到以下錯誤 -
The reference to entity "f" must end with the ';' delimiter
[對實體「w」的引用必須以';'結尾)分隔符異常](http://stackoverflow.com/questions/6483807/the-reference-to-entity-w-must-end-with-the-delimiter-exception) – BalusC 2016-05-09 12:18:56