Skip to content
This repository has been archived by the owner on Sep 29, 2018. It is now read-only.

Error on Line -1 #8

Open
rileyclauss opened this issue Nov 8, 2017 · 1 comment
Open

Error on Line -1 #8

rileyclauss opened this issue Nov 8, 2017 · 1 comment

Comments

@rileyclauss
Copy link

I am importing this in my Gradle:

compile ('com.crazyhitty.chdev.ks:rss-manager:0.75'){
exclude module: 'stax'
exclude module: 'stax-api'
exclude module: 'xpp3'
}

and these in my activity:

import com.crazyhitty.chdev.ks.rssmanager.Channel;
import com.crazyhitty.chdev.ks.rssmanager.RSS;
import com.crazyhitty.chdev.ks.rssmanager.RssReader;

I'm developing an Android app, and two different activities need to be able to parse RSS Feeds. One of these sections works perfectly, parsing this feed just fine, while the other right here, gives me a strange error.

capture

I am implementing these two exactly the same, aside from which feed they are to parse. The first is able to get all the information I need and display and manipulate it perfectly, while the second fails in rssFeedsLoaded(List rssList). If I type anything as much as ''rssList.getChannel();'', it gives me the Attribute 'base' error and fails, returning to the previous activity.

Any more information needed can be provided if needed. The source code for this app is public on my profile, and these are the two activities that use this RSS reader.

Working Activity:
https://github.com/rileyclauss/PHSMobile/blob/master/PHSApp/app/src/main/java/com/phsapp/phsapp/athleticsActivity.java

Broken Activity:
https://github.com/rileyclauss/PHSMobile/blob/master/PHSApp/app/src/main/java/com/phsapp/phsapp/newsActivity.java

Email me at: [email protected]

@rileyclauss
Copy link
Author

rileyclauss commented Nov 20, 2017

After further testing, I've found that the issue is the source I'm grabbing from. The penn source does not work and I believe it is the fault of the site admins. I'm not sure what's causing the error, but it seems to only occur on this feed.
EDIT: So far, the issue seems to be that this has the xml attribute 'base,' but I can't seem to find any other instances of this being used. That would explain the 'xml:base' message, but not the "Line -1" part.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant