When libcitygml encounters the following structure, it throws Expected start tag <core:externalreference>, but got <core:informationsystem>:
<core:externalReference>
<core:informationSystem>http://repository.gdi-de.org/schemas/adv/citygml/fdv/art.htm#_9100</core:informationSystem>
<core:externalObject>
<core:name>DESNATPU1000HPBi</core:name>
</core:externalObject>
</core:externalReference>
This was found attempting to parse the following data file from the official German open data for the state of the Saxany:
lod2_33460_5668_2_sn_citygml.zip