Closed
Bug 53947
Opened 26 years ago
Closed 25 years ago
Standalone and Intergrated transformiix generating different document orders
Categories
(Core :: XSLT, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: jjs, Assigned: axel)
Details
The output from generate-id() from the first generate-id test case returns a
string of id{somevalue}.0.5 instead of the expected (and returned from
standalone) id{somevalue}.0.1 . Debuging, shows that the call to
DOMHelper::getChildNumber() generates different values for standalone and
integrated.
The getChildNumber function is used to determine the document order of a given
node and the different returns concerns me that we might not be getting correct
document orders for other founctions.
Any ideas?
Comment 1•26 years ago
|
||
Setting bug status to New. jjs@acis.com.au, your bugzilla permissions have been
updated so that your bugs start out as New rather than Unconfirmed. Please
email me if you have any questions.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 2•25 years ago
|
||
Taking over. Note to self: probably a difference in the handling of whitespace
in the DOM between standalone and Mozilla.
Assignee: kvisco → peterv
Status: ASSIGNED → NEW
Updated•25 years ago
|
Target Milestone: --- → mozilla0.9
| Assignee | ||
Comment 3•25 years ago
|
||
Note to self, reassigning to me.
I might have solved this when adding comment nodes to the standalone
transformiix.
I'll check later.
Axel
Assignee: peterv → axel
URL: kvisco@ziplink.net
| Assignee | ||
Comment 4•25 years ago
|
||
It still does :-(. Though I'm only off by one ;-), so this may have gotten
better by adding the comment nodes. I'll debug later.
Axel
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•25 years ago
|
||
In source/xml/dom/standalone/Document.cpp:116, I have to add text nodes, too.
That should do it. Will check on monday.
Axel
Comment 6•25 years ago
|
||
Axel, just make sure you check to see if the refChild is the root element. If so
you can only insert whitespace-only text nodes.
| Assignee | ||
Comment 8•25 years ago
|
||
it's just top level whitespace making a difference now which isn't part of
xpath data model and we're handling that now, so we don't select it.
This just has to be deterministic, so I close this bug.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•