fix: remove enforcement on aligned namespaces (#3587)

This commit is contained in:
Connor Tumbleson 2024-05-03 06:41:40 -04:00 committed by GitHub
parent 53aa743014
commit cc501d05a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,10 +692,6 @@ public class MXSerializer implements XmlSerializer {
}
}
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());
}