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

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


  Branch: refs/heads/support-4.0
  Home:   https://github.com/Evolveum/midpoint
  Commit: a9e9be157fb60e566b906fab181a7d08055b6653
      https://github.com/Evolveum/midpoint/commit/a9e9be157fb60e566b906fab181a7d08055b6653
  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
    A infra/util/src/test/resources/domutil/surrogates.xml

  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