I don't get an error so much as nothing at all. If I make a
static copy of the feed, remove the namespace reference (just
changing the beginning <feed
xmlns="http://www.w3.org/2005/Atom"> to just
<feed>, and have my script parse that things are
fine. With the namespace reference, nothing is returned. We do have
control over the blog software and well and tried altering the
content of the feed. Once again, remove the namespace reference and
it is fine, keep it and nothing is returned. Unfortunately we'd
like to keep the default setting for the blog software if possible,
so that isn't a good option for us.
Referencing your tests, $contentRoot.namespace.URI
produces the proper http://www.w3.org/2005/Atom, but
$contentRoot.namespace.prefix returns nothing.
$contentRoot.getNamespace('atom') returns nothing as
The feed can be seen at http://blogs.reed.edu/reed_magazine/atom.xml.
This is the default feed produced by default by Moveable Type,
which is blogging software similar to Word Press. The blog itself
is a site we're starting to develop, so it contains only test data
at this time. If you have trouble seeing it let me know.