|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023490||Community||[OCCT] OCCT:Application Framework||public||2012-10-25 00:30||2017-07-27 09:43|
|Reporter||Roman Lygin|| |
|Assigned To||agv|| |
|Product Version||[OCCT] 6.5.3|| |
|Target Version||[OCCT] 7.4.0*||Fixed in Version|| |
|Summary||0023490: LDOM_Element fails to find some attributes|
|Description||Depending on hierarchy of elements, LDOM_Element may or may not find attributes, thus leading to invalid document exploration.|
The work-around is to use to LDOM_Element::GetAttributesList() which is more expensive due to deep copy.
I have not pursued attempt to fix as this issue has low priority in my environment (primarily for debug purposes only), and given available work-around. However the issue seems to be connected with the way the linked list of attributes is managed in LDOM_Element::getAttributeNode() and LDOM_BasicAttribute::GetAttribute(). For instance, it does not find the last attribute of the element which has nested elements.
|Steps To Reproduce||See reproducer and sample file.|
|Tags||No tags attached.|
|Test case number|
|Attached Files|| ldom_element.zip (834 bytes) 2012-10-25 00:30|