File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+ 2.14.3 (2025-03-11)
5+ -------------------
6+
7+ - reserved namespaces registration skipped.
8+
9+
4102.14.2 (2025-02-24)
511-------------------
612
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def register_nsmap(nsmap: NsMap) -> None:
8181 """
8282
8383 for prefix , uri in nsmap .items ():
84- if prefix != '' : # skip default namespace
84+ if prefix != '' and not re . match ( r"ns\d+$" , prefix ) : # skip default namespace and reserved ones
8585 etree .register_namespace (prefix , uri )
8686
8787
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " pydantic-xml"
3- version = " 2.14.2 "
3+ version = " 2.14.3 "
44description = " pydantic xml extension"
55authors = [" Dmitry Pershin <dapper1291@gmail.com>" ]
66license = " Unlicense"
You can’t perform that action at this time.
0 commit comments