[midPoint-git] [Evolveum/midpoint] 027054: MID-7959: Use Java XML Transfomer in order to hand...

Tony Tkáčik noreply at github.com
Thu Aug 25 13:34:03 CEST 2022


  Branch: refs/heads/support-4.0
  Home:   https://github.com/Evolveum/midpoint
  Commit: 027054b100cf08da51bd59a6520b2421487f8059
      https://github.com/Evolveum/midpoint/commit/027054b100cf08da51bd59a6520b2421487f8059
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/xnode/SchemaXNodeImpl.java
    M infra/util/pom.xml
    M infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java
    M infra/util/src/test/java/com/evolveum/midpoint/util/DOMUtilTest.java

  Log Message:
  -----------
  MID-7959: Use Java XML Transfomer in order to handle Unicode correctly

Xalan 2.7.2 is not activelly maintained and does not handle surrogate
characters well which results in unparseable XML.

Switched back to original JVM XML transformer, which behaves correctly.
Added logic to optionally add xml:space=preserve to embedded XSD schemas




More information about the midPoint-svn mailing list