[Bugzilla] [Bug 15468] New: Impossible to use some 5.5.2 and 5.5.1 diagrams in 6.0.1

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Mar 2 20:28:15 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15468
--------- Bug Summary -----------
Impossible to use some 5.5.2 and 5.5.1 diagrams in 6.0.1

---------- Changed by ------------
eric.gernot at arevah2gen.com

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter, attachments.created


            Bug ID: 15468
           Summary: Impossible to use some 5.5.2 and 5.5.1 diagrams in
                    6.0.1
           Product: Scilab software
           Version: 6.0.1
          Hardware: (not used)
                OS: Windows_x64
            Status: NEW
          Severity: Blocker
          Priority: (field not used)
         Component: Xcos
          Assignee: bugzilla.admin at scilab.org
          Reporter: eric.gernot at arevah2gen.com

Created attachment 4672
  --> http://bugzilla.scilab.org/attachment.cgi?id=4672&action=edit
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:
------------------

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180302/cd4b89e6/attachment.htm>


More information about the Bugzilla mailing list