anw,
the URL doesn't work because the server answers with a code 302
(resource moved) that the default NetAccessor doesn't supports. If
you built Xerces from the sources you can try selecting the libwww NetAccessor.
Hope this helps,
Alberto
At 18.34 10/11/2006 -0800, anw wrote:
I have two identical xml files located in the following two places:
test.xml
and:
http://hosted.ap.org/lineups/STRANGEHEADS-rss_2.0.xml?SITE=RANDOM&SECTION=HOME
Note that the only difference is that the first one is a local file and the
second is a network URL. The first file, test.xml, is a copy of the
contents of the network URL, i. e., their contents are identical.
Whenever I run the parser with the contents of the file, it works fine.
When I run it against the URL, I get an exception and a "Could not open
file" message.
I have a two other URLs I've run it with:
http://rss.cnn.com/rss/edition
http://rss.cnn.com/rss/cnn_space.rss
Using either of these two URLs works fine, so I don't think it is a
networking issue.
Any idea what's wrong with the one URL that won't open? Oh, BTW, my browser
opens it fine.
TIA
Regards,
anw
--
View this message in context:
http://www.nabble.com/What%27s-wrong-with-opening-this-URL--tf2611528.html#a7288863
Sent from the Xerces - C - Users mailing list archive at Nabble.com.