Skip to content

Commit

Permalink
Require type attribute of reference elements in V4 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeEdgar committed Jul 7, 2020
1 parent b94183d commit be356e8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@ public SchemaReaderV4(XMLStreamReader reader, Map<String, Object> properties) {

@Override
protected String readReferencedId(XMLStreamReader reader) {
return reader.getAttributeValue(null, "type");
return parseAttribute(reader, "type", String::valueOf);
}

@Override
Expand Down

0 comments on commit be356e8

Please sign in to comment.