Menu

#18 SCL Server sorts the DOs in alphabetical mode

1.0
open
nobody
None
2020-02-06
2019-12-17
No

Hi Pavel,

SCL Server loads a SCL file (any type: SCD, CID, etc.) and sorts the DOs in alphabetical mode.
The DO items are not sorted in the source XML file and they should not be sorted.
A 3rd party MMS Client connecting to IEDExplorer (working as Server) tries to validate its local CID file against the configuration stored in the IED and fails after receiving a different DO in the answer; expecting a different node, according to the source XML file.
I attach a screenshot comparing how the CID file should display in an editor (CET850) versus how is loaded and displayed in IEDExplorer.

Regards,
Adrian

1 Attachments

Discussion

  • Adrian Dicea

    Adrian Dicea - 2019-12-17

    here is the CID file I have used to test.

     
  • Pavel Charvat

    Pavel Charvat - 2019-12-20

    Ok thanks I look at it
    Pavel

     
  • Pavel Charvat

    Pavel Charvat - 2020-02-04

    Look like sorting of data object is introduced in SCLParserDOM2.cs file line 364.
    You can comment it out and try.
    I do not know the reason why is it sorted at this point, too long ago... If that helps and you believe that is the right behaviour, I can issue a binary release.

     
  • Adrian Dicea

    Adrian Dicea - 2020-02-05

    Thanks a lot Pavel!
    If you can issue a binary that would be great.

     
  • Pavel Charvat

    Pavel Charvat - 2020-02-06

    Hello Adrian,
    does it work for you? - not to waste unnecessary releases....
    Thanks for info,
    Pavel

     

Log in to post a comment.

MongoDB Logo MongoDB