Iterator entries = policySet.entries();
while (entries.hasNext()) {
PolicyEntry entry = (PolicyEntry) entries.next();
Iterator fields = entry.fields();
Iterator values = entry.values();
if (fields.hasNext()) {
// it has fields, so this is a structure entry.
// NOTE: schema says each field can contain multiple values but
// this is not used so is not implemented.
while (fields.hasNext()) {