xml format & connect refused

Hello

I am new to rss feeds

I have deployed the project TestRome and feedservlet is giving output in xml format

For eg:

<?xml version="1.0" encoding="UTF-8" ?>

*-* <http://localhost:8090/TestRome/feed##> <rss xmlns:content="*

http://purl.org/rss/1.0/modules/content/*" xmlns:sample="*

http://rome.dev.java.net/module/sample/1.0*" xmlns:taxo="*

http://purl.org/rss/1.0/modules/taxonomy/*" xmlns:rdf="*

http://www.w3.org/1999/02/22-rdf-syntax-ns#*" xmlns:dc="*

http://purl.org/dc/elements/1.1/*" version="*2.0*">

*-* <http://localhost:8090/TestRome/feed##> <channel>

* * <title>*Sample Feed (created with **Rome**)*</title>

* * <link>*http://rome.dev.java.net*</link>

* * <description>*This feed has been created using **Rome** (Java

syndication utilities*</description>

*-* <http://localhost:8090/TestRome/feed##> <item>

* * <title>*Rome** v0.1*</title>

* * <link>*http://wiki.java.net/bin/view/Javawsxml/Rome01*</link>

* * <description>*Initial release of **Rome*</description>

* * <pubDate>*Mon, 07 Jun 2004** **18:30:00 GMT*</pubDate>

* * <guid>*http://wiki.java.net/bin/view/Javawsxml/Rome01*</guid>

* * <dc:date>*2004-06-07T18:30:00Z*</dc:date>

* * </item>

is this the correct way

the other thing is that romeapplet & FeedWarmer are giving ConnectException

Please respond

[1598 byte] By [14dr_19a] at [2007-11-27 9:36:46]
# 1
Additional questions1)is there anyway of pinging the url from XMLReader class2)is there anyway to use a proxy connection from XMLReader class
14dr_19a at 2007-7-12 23:06:36 > top of Java-index,Other Topics,Fresh Tools...
# 2

aditional questions

i am trying to read from local .xls or.doc file

i am getting this error

com.sun.syndication.io.ParsingFeedException: Invalid XML: Error on line 1: Content is not allowed in prolog.

at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:182)

at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:156)

at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:109)

at com.sun.syndication.samples.FeedReader.main(FeedReader.java:41)

Caused by: org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog.

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)

at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:178)

... 3 more

Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.

at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

... 5 more

ERROR: Invalid XML: Error on line 1: Content is not allowed in prolog.

is there anyway to read .xls files and .doc files

Thanks

14dr_19a at 2007-7-12 23:06:36 > top of Java-index,Other Topics,Fresh Tools...