Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.

Bug #3369

closed

Incorrect test for node identity in p.genNode pattern matching

Added by Michael Kay over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-08-05
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

In pattern.js, the code for p.genNode tests (desc===item) to compare node identity. It should be domUtils.isSameNode(desc, item). This causes test match-098 to fail.

(For attributes, we create objects to represent attribute nodes "on demand", so two different Javascript objects might represent the same XDM node).

Please register to edit this issue

Also available in: Atom PDF Tracking page