Skip to content

Commit

Permalink
fix: remove enforcement on aligned namespaces (#3587)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches authored May 3, 2024
1 parent 53aa743 commit cc501d0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,6 @@ public XmlSerializer endTag(String namespace, String name)
}
}

if (namespace != elNamespace[depth]) {
throw new IllegalArgumentException("expected namespace " + printable(elNamespace[depth]) + " and not "
+ printable(namespace) + getLocation());
}
if (name == null) {
throw new IllegalArgumentException("end tag name can not be null" + getLocation());
}
Expand Down

0 comments on commit cc501d0

Please sign in to comment.