$ fq -n '" trailing" | fromxml' exitcode: 5 stderr: error: error at position 0x7: root element has trailing non-whitespace " trailing" $ fq -n '" " | fromxml' exitcode: 5 stderr: error: error at position 0x8: root element has trailing element $ fq -n '" " | fromxml' { "a": "" }