Skip to content

Version 4.6.2

Compare
Choose a tag to compare
@c00kiemon5ter c00kiemon5ter released this 06 Sep 21:11
· 708 commits to master since this release
v4.6.2
b0b1097

4.6.2 (2018-09-06)

Refactor AttributeValueBase::set_text method.

  • set_text is doing too many things. At least the structure is a bit cleaner;
    though, still complex.
  • set_text will set the type if no type has been set.
  • set_text should not modify the type if it has already been set,
  • set_text should not depend on the type's namespace.
  • set_text should not interfere with the 'anyType' type.
  • set_text will raise a ValueError if the value cannot be represented by the
    type.
  • set_text will raise a ValueError if the type is unknown.