View Issue Details

IDProjectCategoryView StatusLast Update
0023490CommunityOCCT:Application Frameworkpublic2021-11-01 18:14
ReporterRoman Lygin Assigned Toagv  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
PlatformAOSL 
Product Version6.5.3 
Target Version7.7.0 
Summary0023490: LDOM_Element fails to find some attributes
DescriptionDepending 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 ReproduceSee reproducer and sample file.
TagsNo tags attached.
Test case number

Attached Files

  • ldom_element.zip (834 bytes)

Activities

Roman Lygin

2012-10-25 00:30

developer  

ldom_element.zip (834 bytes)

szy

2012-10-25 17:10

manager   ~0021956

Alexander,
Could you process the issue?
szy

Issue History

Date Modified Username Field Change
2012-10-25 00:30 Roman Lygin New Issue
2012-10-25 00:30 Roman Lygin Assigned To => szy
2012-10-25 00:30 Roman Lygin File Added: ldom_element.zip
2012-10-25 16:58 szy Product Version 6.5.3 => 6.6.0
2012-10-25 17:10 szy Note Added: 0021956
2012-10-25 17:10 szy Assigned To szy => agv
2012-10-25 17:10 szy Status new => assigned
2012-10-26 10:59 abv Product Version 6.6.0 => 6.5.3
2012-10-26 10:59 abv Target Version => 6.6.0
2013-03-01 21:37 abv Target Version 6.6.0 => 6.7.0
2013-12-21 10:21 abv Target Version 6.7.0 => 6.7.1
2014-04-04 18:19 abv Target Version 6.7.1 => 6.8.0
2014-09-11 10:57 abv Target Version 6.8.0 => 7.1.0
2016-11-01 06:21 abv Target Version 7.1.0 => 7.2.0
2017-07-27 09:43 abv Target Version 7.2.0 => 7.4.0
2019-07-10 09:01 abv Target Version 7.4.0 => 7.5.0
2020-09-11 15:32 utverdov Target Version 7.5.0 => 7.6.0
2021-11-01 18:14 szy Target Version 7.6.0 => 7.7.0