Closed Bug 102583 Opened 23 years ago Closed 23 years ago

XML content sink speedup and cleanup...

Categories

(Core :: XML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: jst, Assigned: jst)

Details

(Whiteboard: [HAVE FIX])

Attachments

(4 files)

The namespace related methods in nsXMLContentSink copy too much string data, and
also require the caller to copy strings when there's no need to do that, patch
coming up.
Attached patch Proposed fix.Splinter Review
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.6
Attached patch Even better fix.Splinter Review
Comment on attachment 51584 [details] [diff] [review]
Even better fix.

>+  if (nameSpaceID == kNameSpaceID_Unknown) {
>+    //    namespace error
>+  }
>+
Need an assertion?

Other than that, r=peterv provided the JST Review Simulacrum r'ed it :P.
Attachment #51584 - Flags: review+
Hmm, that part was not supposed to be in the patch, ignore that piece of the
patch :-) I'll attach a new patch w/o that change. Thanks for the review.
Attachment #51594 - Flags: review+
Comment on attachment 53700 [details] [diff] [review]
Fix a typo in the above patch.

sr=waterson
Attachment #53700 - Flags: superreview+
This was fixed a while back.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: