nsXMLContentSink::PushNameSpacesFrom doubles last namespace for some elements

RESOLVED INVALID

Status

()

Core
XML
RESOLVED INVALID
16 years ago
15 years ago

People

(Reporter: Heikki Toivonen (remove -bugzilla when emailing directly), Assigned: Heikki Toivonen (remove -bugzilla when emailing directly))

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

HandleStartElement() calls nsXMLContentSink::PushNameSpacesFrom(), but if aAtts
is empty and we already have name space stack, we end up duplicating the last
namespace. Patch coming up.
Hmm... it seems I was a bit too hasty to file this bug. We seem to want to
duplicate the last namespace because pop relies on that. Maybe this is not the
most elegant solution, but it works right now so I'll just leave it as is.
Marking as INVALID.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID

Updated

15 years ago
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.