Skip to content

Commit

Permalink
Complete Avro 1.12 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
opwvhk committed Aug 11, 2024
1 parent e3b47d6 commit cc31569
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,7 @@ private XmlSchemaElement getElement(XmlSchemaElement element, boolean isSubstitu

XmlSchema schema = schemasByNamespace.getSchemaDefiningElement(elemQName);
if (schema == null) {
// TODO: is this correct? The previous code used whichever schema was stored in the schemasByNamespace HashMap
// for the element's namespace.
// If not found, inherit schema from the elements parent
schema = element.getParent();
}

Expand Down

0 comments on commit cc31569

Please sign in to comment.