On some accounts, when I fetch the list of blogs, I receive the
following exception:

WARNING: [Line -1, Column -1, element link]
com.google.gdata.util.ParseException: No xml:base established--need an
absolute
URI.: atom.xml
Message: No xml:base established--need an absolute URI.: atom.xml

        at com.google.gdata.util.XmlParser
$ElementHandler.getAbsoluteUri(Unknown
 Source)
        at com.google.gdata.data.Link
$AtomHandler.processAttribute(Unknown Sourc
e)
        at com.google.gdata.util.XmlParser.startElement(Unknown
Source)
        at
org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:597
)
        at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
va:335)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
1451)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:
1700)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
1468)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:
1700)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
1468)
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:225)
        at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:
405)
        at com.google.gdata.util.XmlParser.parse(Unknown Source)
        at com.google.gdata.util.XmlParser.parse(Unknown Source)
        at com.google.gdata.data.BaseFeed.parseAtom(Unknown Source)
        at com.google.gdata.client.Service.getFeed(Unknown Source)
        at com.google.gdata.client.GoogleService.getFeed(Unknown
Source)
        at com.google.gdata.client.Service.getFeed(Unknown Source)
        at tv.pokkari.sliver.Sliver$1.getFeed(Sliver.java:112)


I patched com.google.gdata.util.XmlParser.getCumulativeXmlBase(String
curBase, String newBase) to show the values of the parameters upon
each invocation, of which there are about a dozen per retrieval.  With
a successful account, newBase was always an absolute URL, like

curBase=null, newBase=http://www.blogger.com/feeds/***

Whereas with a failing account, I get some of those but parsing stops
when the following is found:

curBase=null, newBase=atom.xml

I tried viewing the stream loaded in
com.google.gdata.client.Service.getFeed() and I didn't find any of
those URLs, so I'm not sure exactly where they are coming from.

I appreciate any help you developers can offer. I am using version
1.0.9.

Thanks,
Charles Hope


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to