开发者

xml format error on return

I got TypeError: Error #1088: The markup 开发者_开发技巧in the document following the root element must be well-formed.

But the output of this string look correct to me.

<midifile>C:\Users\XYZ\Desktop\white_night_in_G.mp3</midifile>
<resolution>240</resolution>
<tick>77767</tick>
<ttrack>5</ttrack>
<tpatches>0</tpatches>
<tduration>226.063</tduration>


var xmlResults:XML = new XML(message);
xmlResults.ignoreWhite = true;


is that the entire xml markup? you are missing the a root tag. Try

<item>
<midifile>C:\Users\XYZ\Desktop\white_night_in_G.mp3</midifile>
<resolution>240</resolution>
<tick>77767</tick>
<ttrack>5</ttrack>
<tpatches>0</tpatches>
<tduration>226.063</tduration>
</item>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜