; Test empty unions. These were already correctly rejected by the
parser which disallows an empty union specification altogether. It
requires at least one entry.
; Test unions with duplicate names. This is now handled in the Schema
validator where we check a union for unique references. This ensures
a union is not going to contain the same name twice.
; Test empty unions. These were already correctly rejected by the parser which disallows an empty union specification altogether. It requires at least one entry. ; Test unions with duplicate names. This is now handled in the Schema validator where we check a union for unique references. This ensures a union is not going to contain the same name twice.