Ignore:
Timestamp:
05/03/17 14:59:25 (7 years ago)
Author:
ymipsl
Message:

For xml : if attribute get the string value of "_reset_", attribute will be empty and the attribute will remain empty after inheritance.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute_map.cpp

    r1105 r1112  
    170170               if (apply) 
    171171               { 
    172                  if (currentAtt->isEmpty() && !el.second->isEmpty()) 
     172                 if (currentAtt->isEmpty() && currentAtt->canInherite() && !el.second->isEmpty()) 
    173173                 { 
    174174                    this->setAttribute(el.first, el.second); 
Note: See TracChangeset for help on using the changeset viewer.