Git Product home page Git Product logo

sdc-framework's People

Contributors

cap-rmoldwi avatar rmoldwin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sdc-framework's Issues

Deserialization of FormDesignType XML does not use correct default value for ListFieldType maxSelections

I don't know if repository is still being worked on, but here goes.

When calling the FormDesignType.DeserializeFromXmlPath method on a valid Form Design File (FDF), the value of the maxSelections property of any ListFieldType without that XML attribute should be 1, per the specification in the SDC Technical Reference Guide. This would make the ListFieldTypes single-select by default.

However, when the method is called, the value of maxSelections is 0 if it is not specified in the FDF. This will cause the ListFieldType to become multi-select. You can reproduce this by deserializing an FDF that contains single-select ListFieldTypes and reserializing it. The resulting ListFieldTypes will now have the property maxSelections=0.

Improve and test "ReflectNextElement"

  • use new reflection methods
  • test performance vs existing NextElement,
    • vs iteration through sorted Nodes list
  • iterate through entire tree and assign parent nodes - compare timing to reading parents from XML

Add Move Tests

Clean up existing tests for moving element nodes to new parent nodes.
Add new tests to improve coverage of more types of moves.
Make sure that dictionaries are correctly updated during moves:
-Nodes
-ParentNodes
-ChildNodes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.