Closed
Bug 83651
Opened 23 years ago
Closed 22 years ago
get import precedence right
Categories
(Core :: XSLT, defect, P3)
Core
XSLT
Tracking
()
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: axel, Assigned: sicking)
References
Details
(Whiteboard: TX_BRIDGE_1_1_FIXED)
Attachments
(2 files)
|
20.61 KB,
patch
|
Details | Diff | Splinter Review | |
|
29.41 KB,
patch
|
sicking
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
import precedence rulez xsl:template xsl:strip-space, xsl:preserve-space xsl:namespace-alias xsl:attribute-set xsl:variable, xsl:param (just top level vars, if I read that right) xsl:output xsl:decimal-format, xsl:key do not, if I got the spec right We could have a list of txImportFrames (or so), to store this information. Axel
| Reporter | ||
Updated•23 years ago
|
Priority: -- → P5
| Reporter | ||
Updated•23 years ago
|
Priority: P5 → P2
Target Milestone: --- → mozilla0.9.4
| Reporter | ||
Comment 1•23 years ago
|
||
setting milestone on the bugs that nisheeth wanted. Setting Priority up for landing indication Axel
| Assignee | ||
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Comment on attachment 50836 [details] [diff] [review] Precedence for attribsets, templates and whitespacefiltering. Ver 1 r=peterv, though I'm not confident I did a very thorough review. I want Pike to r it too. Small nits: -I prefer the { on a newline after a function definition -No newline after a while () { -Prefer mFoo for members and aFoo for parameters The files you touched don't follow a particular style, so you could ignore those and leave them for the cleanup bug.
| Assignee | ||
Comment 5•23 years ago
|
||
I got the following comments from Pike:
ProcessorState::addTemplate
- name should be const, too.
- match should be below the name check
- get a const string for mode, too.
ProcessorState::findTemplate
- how about changing the signature from String* aMode to const String& aMode?
- don't cut the lines
+ String priorityAttr = templ->
+ mTemplate->getAttribute(PRIORITY_ATTR);
this way,
+ String priorityAttr =
+ templ->mTemplate->getAttribute(PRIORITY_ATTR);
is better. The second instance, too. I don't like long lines, but this
is worse.
ProcessorState::getFoo:
+ while (frame = (ImportFrame*)frameIter.previous()) {
should be
+ while ((frame = (ImportFrame*)frameIter.previous())) {
IIRC
a macro for
(ProcessorState::ImportFrame*)importFrame->current())
in XSLTProcessor?
fix the String() to NULL_STRING in XSLTProcessor
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•23 years ago
|
||
| Assignee | ||
Comment 7•23 years ago
|
||
Comment on attachment 51768 [details] [diff] [review] patch that fixes petervs and Pikes comments got r=Pike over mail
Attachment #51768 -
Flags: review+
Comment 8•23 years ago
|
||
Comment on attachment 51768 [details] [diff] [review] patch that fixes petervs and Pikes comments sr=jst
Attachment #51768 -
Flags: superreview+
| Assignee | ||
Comment 9•23 years ago
|
||
attachment 51768 [details] [diff] [review] is checked in. Keeping the bug open since there is more stuff that needs precedence
| Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → ---
| Assignee | ||
Updated•23 years ago
|
Priority: P2 → P3
Target Milestone: --- → mozilla0.9.8
| Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
| Assignee | ||
Updated•23 years ago
|
Depends on: rewrite_variable
| Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.1beta → mozilla1.2alpha
| Assignee | ||
Comment 13•22 years ago
|
||
fixed with the checkin of bug 117658
Whiteboard: TX_BRIDGE_1_1_FIXED
| Assignee | ||
Comment 14•22 years ago
|
||
fixed with the branchlanding
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•