Salome HOME
Fix for "23669: [CEA 13186] YACS xml scheme files with calls to print function need...
[samples/datafiles.git] / Yacs / Schemas / triangle5error.xml
index 219dd1cf01adc22d664569a810fbbedce1e7bc73..4cee96965a9519cfe69e253c6227f1b1b68d20b1 100644 (file)
@@ -1,10 +1,10 @@
 <!--
-  Copyright (C) 2006-2011  CEA/DEN, EDF R&D
+  Copyright (C) 2006-2015  CEA/DEN, EDF R&D
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
-  version 2.1 of the License.
+  version 2.1 of the License, or (at your option) any later version.
 
   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -26,7 +26,7 @@
 <inline name="node_0_0" >
 <script><code>
 c=a+b
-print c
+print(c)
 </code></script>
 <inport name="a" type="int"/>
 <inport name="b" type="int"/>
@@ -43,7 +43,7 @@ print c
 <inline name="node_3_0" >
 <script><code>
 c=a+b/0
-print c
+print(c)
 </code></script>
 <inport name="a" type="int"/>
 <inport name="b" type="int"/>