Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

unable to parse xml file

807603Dec 3 2007 — edited Dec 4 2007
hi,
i am unable to parse xml file whose one element is

<dislike_video>
<video_id>17</video_id>
<video_artist>Artist1</video_artist>
<video_genre_name>gen2</video_genre_name>
<video_title>sample_100kbit</video_title>
<video_url>rtsp://rtsp2.youtube.com/video.3gp?cid=2d4f030d8cfaf243&fmt=13</video_url>
<video_duration>5:00</video_duration>
</dislike_video>

error comes is unable to define "&fmt=13" in the given url....
rtsp://rtsp2.youtube.com/video.3gp?cid=2d4f030d8cfaf243&fmt=13



my parsing code is...

c = (StreamConnection)Connector.open("http://222.129.109.152/ae/bb/veeztv/response.xml");
InputStream in = c.openInputStream();
InputStreamReader isr = new InputStreamReader(in);
parser = new XmlParser( isr );
doc.parse( parser );
parser = null;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2008
Added on Dec 3 2007
1 comment
217 views