bs 4.1.0 misplaces some closing tags with XML namespaces

Bug #1020300 reported by Andreas Kostyrka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
New
Undecided
Unassigned

Bug Description

Will attach test program plus input data, but basically it seems that bs4 xml has problems to match closing tags with namespaces, at least sometimes.

Tags: namespace xml
Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote :
Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote :
Revision history for this message
Leonard Richardson (leonardr) wrote :

Is this different from bug 1019635?

Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote : Re: [Bug 1020300] Re: bs 4.1.0 misplaces some closing tags with XML namespaces

Yes, it's a parsing issue, the parsed document object is wrong, the other
one was output related

Andreas

Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote :

That's a guess, as I'm already away from the keyboard, but the fact the
fact that the tags get closed at the end of the document suggests to me
that the closing tags get not matched and hence get auto closed as pay of
the (broken) html support (which has been the unique selling point for
beautifulsoup).

Andreas

Revision history for this message
Leonard Richardson (leonardr) wrote :

This is bug 1020268, which means we found the same error at the same time through totally different mechanisms.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.