Closed
Bug 88964
Opened 23 years ago
Closed 23 years ago
sortByDocumentOrder has a few minor problems
Categories
(Core :: XSLT, defect, P2)
Core
XSLT
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: sicking, Assigned: sicking)
References
Details
Attachments
(3 files)
5.23 KB,
patch
|
Details | Diff | Splinter Review | |
697 bytes,
patch
|
Details | Diff | Splinter Review | |
3.65 KB,
patch
|
Details | Diff | Splinter Review |
sortByDocumentOrder suffers the following problems: * off-by-one error in ProcessorState::sortByDocumentOrder * attributes has same doc-order as first child * nodesets containing nodes from multiple documents isn't sorter correctly patch coming up... tomorrow
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Yac, there's a bug in the patch, the - orderInfo->order[0] = 0; + orderInfo->order[0] = getChildNumber(node); should be done a few lines up, in the |if (node->getNodeType() == Node::DOCUMENT_NODE) {| can't produce a patch right now though...
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•23 years ago
|
||
Updated•23 years ago
|
Priority: -- → P5
Assignee | ||
Comment 5•23 years ago
|
||
Assignee | ||
Comment 6•23 years ago
|
||
This should show the idea I have for nodeOrder comparisons. I'd like to give some additional love to DOMHelper::getDocumentOrder to make it out-of-memory-on- new safe, but no functional changes. I'm also thinking about moving the getDocumentOrder into Node, but that is perhaps a different bug.
Assignee | ||
Comment 7•23 years ago
|
||
testcases coming tomorrow...
Comment 8•23 years ago
|
||
r=peterv for 42984.
Assignee | ||
Updated•23 years ago
|
Priority: P5 → P2
Target Milestone: --- → mozilla0.9.6
Assignee | ||
Comment 9•23 years ago
|
||
this was fixed along with bug 94471
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 10•22 years ago
|
||
we didn't verify for a long time. I really checked, so VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•