XML declaration constructor with exclamation points

Bug #1477847 reported by Stuart Simon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Fix Released
Undecided
Unassigned

Bug Description

Your XML declaration constructor, Declaration(), encloses the string argument with exclamation points (marks).

<!string!>

Correctly, it should enclose them with question marks.

<?string?>

This is true for all parsers. I am using Ubuntu Python version 2.7.6 and have both lxml and html5lib installed.

The attached .tar file includes both the script and its dependencies. They should be unzipped to a single directory.

Revision history for this message
Stuart Simon (stuart-sa) wrote :
Changed in beautifulsoup:
status: New → Fix Committed
Changed in beautifulsoup:
status: Fix Committed → Fix Released
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.