Fix bug in document.correctEncoding() which failed to properly parse xml doctypes.
This commit is contained in:
parent
9b53d04d9d
commit
c271c20e08
3 changed files with 22 additions and 11 deletions
|
@ -27,7 +27,7 @@ func TestLoadLocal(t *testing.T) {
|
|||
func TestLoadRemote(t *testing.T) {
|
||||
doc := New()
|
||||
|
||||
if err := doc.LoadUri("http://rss.cnn.com/rss/cnn_latest.rss"); err != nil {
|
||||
if err := doc.LoadUri("http://blog.golang.org/feeds/posts/default"); err != nil {
|
||||
t.Error(err.String())
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue