MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023490Community[OCCT] OCCT:Application Frameworkpublic2012-10-25 00:302017-07-27 09:43
ReporterRoman Lygin 
Assigned Toagv 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformAOSLOS VersionL
Product Version[OCCT] 6.5.3 
Target Version[OCCT] 7.4.0*Fixed in Version 
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 Fileszip file icon ldom_element.zip (834 bytes) 2012-10-25 00:30

- Relationships

-  Notes
(0021956)
szy (administrator)
2012-10-25 17:10

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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker