Hello,
I'm getting the problem discussed here
http://groups.google.com/group/beautifulsoup/browse_thread/thread/69093cb0d3a3cf63
That bug states that "...if the DOCTYPE declaration doesn't parse
correctly,
BeautifulSoup puts the entire document into a single NavigableString."
Also, in that thread, is a fix in the BS source. I'm just not sure
how to apply the fix. The author provided a unit test, and I would
have thought the fix might have made it in to the latest BS release.
I just had a look at BS 3.1.0.1 and it doesn't look fixed. Perhaps it
is fixed somewhere else in the source, not sure. I don't really want
to upgrade if I don't have too.
And, I don't want to alter my copy of the BS code (fork it) and forget
about it when I upgrade someday. Does someone have a good idea how to
handle this?
thanks
gene