I just added 9 new testcases that check for emptiness where allowed: an empty annotation for example: <annotation></annotation> <annotation /> The testcases currently use the latter version. If anybody knows a reason why we should test against the former please fix it. More details here: https://trac.xiph.org/changeset/12609 Sebastian