A malformed input file can lead to a segfault due to an out of bounds array access in raptorxmlwriterstartelement_common.