Changes between Initial Version and Version 1 of Ticket #2954


Ignore:
Timestamp:
2014-11-03T12:54:05Z (10 years ago)
Author:
Adrian Pop
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2954

    • Property Component FrontendParser
    • Property Owner changed from somebody to Martin Sjölund
    • Property Summary Short class definition as stored definition are not loadedpackage.order encoded UTF-8 with Byte Order Mark (BOM) is not properly handled
  • Ticket #2954 – Description

    initial v1  
    1 Say you have a file SomePackage/Types/MassFlowRate.mo
    2 {{{#!mo
    3 within SomePackage.Types;
    4 type MassFlowRate = Real (
    5     quantity="MassFlowRate",
    6     final unit="kg/s",
    7     min=-1.0e6,
    8     max=1.0e6) "Type for mass flow rate";
    9 }}}
    10 
    11 It seems that the class MassFlowRate is not loaded.
    12 Probably some Class(PARTS) match that should handle
    13 also Class(DERIVED) somewhere.
     1When we read package.order encoded in UTF-8 with BOM the first class name is mangled, if is {{{MassFlowRate}}} then the name we read is: {{{MassFlowRate}}} which will make the library un-loadable.