<html>
    <head>
      <base href="http://bugzilla.scilab.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
         <tr>
                <th>Reporter</th>
            <td>eric.gernot@arevah2gen.com</td>
         </tr>
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Impossible to use some 5.5.2 and 5.5.1 diagrams in 6.0.1"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=15468">15468</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Impossible to use some 5.5.2 and 5.5.1 diagrams in 6.0.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Scilab software
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.1
          </td>
        </tr>


        <tr>
          <th>OS</th>
          <td>Windows_x64
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Blocker
          </td>
        </tr>


        <tr>
          <th>Component</th>
          <td>Xcos
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla.admin@scilab.org
          </td>
        </tr>
</table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=4672" name="attach_4672" title="Simple math calculations in xcos not time dependant">attachment 4672</a> <a href="attachment.cgi?id=4672&action=edit" title="Simple math calculations in xcos not time dependant">[details]</a></span>
Simple math calculations in xcos not time dependant

BUG DESCRIPTION:
----------------
5.5.2 working diagram are corrupted by xcos 6.0.1

ERROR LOG:
----------

xcosDiagramToScilab: Octet 2 de la séquence UTF-8 à 2 octets non valide.
 at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:701)
 at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:372)
 at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1895)
 at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1187)
 at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:858)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:447)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:250)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
 at org.scilab.modules.xcos.io.spec.ContentEntry.load(Unknown Source)
 at org.scilab.modules.xcos.io.spec.XcosPackage.load(Unknown Source)
 at org.scilab.modules.xcos.io.XcosFileType$1.load(Unknown Source)
 at org.scilab.modules.xcos.Xcos.xcosDiagramToScilab(Unknown Source)

HOW TO REPRODUCE THE BUG:
-------------------------
Open attached file in 6.0.1 
Save as "newfilename" with 6.0.1
Close xcos and scilab
Open newfilename
The diagram is blank

or type in the command lines 
xcos
scs_m=xcosDiagramToScilab("Modele electrochimique.zcos");
xcosDiagramToScilab("Modele electrochimique_v6.zcos",scs_m);
scs_m2=xcosDiagramToScilab("Modele electrochimique_v6.zcos");

Does not reproduce with most 5.5.1 demo files.

OTHER INFORMATION:
------------------</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>