Fix assert on malformed documents

6 jobs for fix_assert_malformed_choice in 7 minutes and 25 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Build
passed #716942
build

00:03:56

passed #716947
build_android

00:01:15

passed #716943
build_clang_libcpp

00:04:05

passed #716946
build_clazy

00:03:21

passed #716945
build_mingw64_fedora

00:03:36

passed #716944
build_ubuntu_16_04

00:07:04