[midPoint-git] [Evolveum/prism] 187aaf: MID-10297: Fixed XML polution with redundant tns p...
Tony Tkáčik
noreply at github.com
Fri Jan 24 12:44:17 CET 2025
Branch: refs/heads/support-4.9
Home: https://github.com/Evolveum/prism
Commit: 187aafda3fb252ee9d94db2bedeac8f62e7bdc00
https://github.com/Evolveum/prism/commit/187aafda3fb252ee9d94db2bedeac8f62e7bdc00
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2025-01-24 (Fri, 24 Jan 2025)
Changed paths:
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/DefinitionImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceDefinitionImpl.java
M infra/util/src/main/java/com/evolveum/midpoint/util/QNameUtil.java
Log Message:
-----------
MID-10297: Fixed XML polution with redundant tns prefixes
DOM serializer declares prefix if QName has prefix defined.
During parsing schemas - tns prefix were kept in PrismDefinitions
so in cases where type (reference type) was inferred from schema
QName with prefix was used, which prevented it to match to already
defined namespaces and triggered namespace redefition.
Fixed Definitions to store QName without prefixes only.
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/prism/settings/notifications
More information about the midPoint-svn
mailing list