1

フィード xml の取得に問題があります。問題は、タグに「コンテンツ」などの特殊文字が含まれていない場合、問題がないことです。しかし、「d:content」のようにタグに「:」が含まれていると、パーサーが機能しません。

私の質問は次のとおりです。それを機能させるにはどうすればよいですか?

私はそのリンクを見つけました: android sax not parsing "dc:creator"? これは同様の問題ですが、ドキュメントがよくわかりません

ありがとう

私のxmlのURL

4

1 に答える 1

1

It's an XML namespace. Your parser is probably complaining that it cannot knows what the 'd:' is mapped to. You could also tell your XML parser to ignore namespaces, if you don't care about that. Could you post your complete XML to make things a bit more clear, in case my suggestion doesn't work for you?

于 2013-04-19T12:01:23.950 に答える