Closed Bug 208979 Opened 22 years ago Closed 22 years ago

txStylesheet::init ENSUREs on wrong variable

Categories

(Core :: XSLT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sicking, Assigned: peterv)

Details

Attachments

(1 file)

Jag pointed out a bug in txStylesheet::init http://lxr.mozilla.org/seamonkey/source/extensions/transformiix/source/xslt/txStylesheet.cpp#107 should use mCharactersTemplate, not mContainerTemplate. And we should look into using something neater then the current |instrp = &(*instrp)->mNext| syntax. a = new A NS_ENSURE_TRUE(a, ...) b = new B NS_ENSURE_TRUE(b, ...) a->mNext = b; c = new C NS_ENSURE_TRUE(c, ...) b->mNext = c Though that makes it less clear that a linked list is being built
Attached patch v1Splinter Review
Attachment #125357 - Flags: review?(bugmail)
Attachment #125357 - Flags: review?(bugmail) → review+
Attachment #125357 - Flags: superreview?(jst)
Attachment #125357 - Flags: superreview?(jst) → superreview+
I won't be able to check this in any time soon, so feel free.
-> peterv
Assignee: bugmail → peterv
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: