Hi alex,

I'm not sure about this layer of the client library. Sounds kinda
wonky to me. Perhaps you should try reporting it as an issue on the
Java client lib project:

http://code.google.com/p/gdata-java-client/issues/list

Cheers,
-Jeff

On Apr 28, 6:12 pm, am <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I get the following stack trace:
>
> com.google.gdata.util.ParseException: org.xml.sax.SAXException: The
> AElfred parser is a SAX2 XMLReader
>         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.data.BaseFeed.readFeed(Unknown Source)
>         at com.google.gdata.client.Service.getFeed(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
> com.netledger.calendar.NLGoogleCalendarTest.testStuff(NLGoogleCalendarTest.java:
> 33)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>         at com.netledger.test.NLAutoEmailTest.runTest(NLAutoEmailTest.java:
> 100)
>         at
> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:
> 40)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 25)
>         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
> 90)
> Caused by: org.xml.sax.SAXException: The AElfred parser is a SAX2
> XMLReader
>         at com.icl.saxon.aelfred.SAXParserImpl.getParser(SAXParserImpl.java:
> 15)
>         ... 31 more
>
> I'm not very familiar with SAX parsers, but I understand that the
> SAXParserFactory looks for a parser in certain order, and in my app it
> happens to find the AElfred parser.  I looked aelfred code, and it
> simply throws a SAXException in the getParser() method.
>
> Can anyone advise on what to do?  Does GData come with its own
> parser?  This may be the case since the documentation doesn't say
> anything about installing a third-party parser.  If not, then which
> parsers are known to work with GData?  How can I use the right parser
> without switching parsers as far as the rest of our app is concerned?
>
> Thank you.
> -alex
--~--~---------~--~----~------------~-------~--~----~
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