0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / caf / bug27187
CommitLineData
ec2039e9 1puts "==========="
2puts "OCC27187"
3puts "==========="
4puts ""
5#################################
6# XmlMFunction_ScopeDriver fail to read and write function label including 0 tag in label path.
7#################################
8
9NewDocument Doc XmlOcaf
10# label that contains "0" tag not only in "Root"
11set Lab 0:1:4:9999:0:1:4:2001:4:2001:4:1:4:1001:4:1001
12Label Doc $Lab
13SetReference Doc 0:1 $Lab
14
15set aFileName ${imagedir}/${casename}_doc.xml
16SaveAs Doc ${aFileName}
17Close Doc
18
19# check that the reference is correctly restored
20Open ${aFileName} Doc
21if {[GetReference Doc 0:1] != $Lab} {
22 puts "Error: restored Reference attribute value is bad '[GetReference Doc 0:1]'"
23}
24Close Doc