Closed
Bug 64826
Opened 24 years ago
Closed 24 years ago
wildcard not working for attribute axis
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: axel, Assigned: keith)
Details
attribute::* doesn't match, because WildCardExpr::matches only returns
Element nodes. I will add a optional argument to matches, defaulting to
Node::ELEMENT_NODE, to match nodetype against.
I will call nodeExpr->matches(attr, context, cs, Node::ATTRIBUTE_NODE) then in
LocationStep.cpp:128.
So much, that I remember what to do tomorrow.
Axel
Reporter | ||
Comment 2•24 years ago
|
||
This one is worse than I thought it would be.
Basically because I can't just add another parameter to ::matches, it's all
over the code.
What we need to fix this is really a matter of finding the axis from within
WildcardExpr::matches. Keith, that's really above my head, please help.
Axel
Assignee | ||
Comment 4•24 years ago
|
||
Reassinging to myself.
Assignee: axel → kvisco
Status: ASSIGNED → NEW
Assignee | ||
Comment 5•24 years ago
|
||
Axel,
I just spend some time looking into this. I am just going to kill off
WildCardExpr. I am putting the proper logic in place for AttributeExpr and
ElementExpr.
--Keith
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•24 years ago
|
||
I've noticed the namespace related methods for ProcessorState are being used for
both the Result tree as well as the stylesheet tree....this is not good. I am in
the process of trying to clean this up. I need to do this, before I can check in
my fix for this bug, since it depends on having the proper namespace.
Assignee | ||
Comment 7•24 years ago
|
||
I checked in my patches. This should now be fixed. I am awaiting verification
from Axel. I added a quick test case in test.xsl under the axis identifiers
section for this.
--Keith
Reporter | ||
Comment 8•24 years ago
|
||
Not fixed yet, we don't get the document order right here.
How do we do document order for attributes?
This is too hefty for now, maybe later today, this week, or even this life.
Axel
Assignee | ||
Comment 9•24 years ago
|
||
For attributes I use the document order for the element in which the attribute
was declared and I append a ".0" All attributes for an element have the same
document order.
I still think this bug is fixed. If there is a document order problem then it's
a different bug.
--Keith
Comment 10•24 years ago
|
||
not updates for a while on this bug.
unsetting the target milestone.
maybe it should just be marked fixed.
Target Milestone: mozilla0.9 → ---
Assignee | ||
Comment 11•24 years ago
|
||
Axel, is this still an issue?
Reporter | ||
Comment 12•24 years ago
|
||
resolving. bugs have evolved alot since this one was filed.
remaining issues are in bug 92106
Axel
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•