我在水库下面的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