[xwiki/xwiki-rendering] 52dbcf: XRENDERING-814: Support supplementary characters w...
Branch: refs/heads/XRENDERING-814 Home: https://github.com/xwiki/xwiki-rendering Commit: 52dbcfddb498ee9289b3a3f05ff2485ad4c68e3c https://github.com/xwiki/xwiki-rendering/commit/52dbcfddb498ee9289b3a3f05ff2... Author: Vincent Massol <[email protected]> Date: 2026-09-02 (Wed, 02 Sep 2026) Changed paths: M pom.xml M xwiki-rendering-legacy/pom.xml A xwiki-rendering-legacy/xwiki-rendering-legacy-wikimodel/pom.xml A xwiki-rendering-legacy/xwiki-rendering-legacy-wikimodel/src/main/aspect/org/xwiki/rendering/wikimodel/WikiPageUtilCompatibilityAspect.aj A xwiki-rendering-legacy/xwiki-rendering-legacy-wikimodel/src/test/java/org/xwiki/rendering/wikimodel/DeprecatedWikiPageUtilTest.java M xwiki-rendering-wikimodel/src/main/java/org/xwiki/rendering/wikimodel/WikiPageUtil.java A xwiki-rendering-wikimodel/src/test/java/org/xwiki/rendering/wikimodel/WikiPageUtilTest.java Log Message: ----------- XRENDERING-814: Support supplementary characters when validating XML names * Add int code point based isValidXmlNameChar and isValidXmlNameStartChar overloads to WikiPageUtil, which can express the whole XML NameChar and NameStartChar productions, including the supplementary range #x10000-#xEFFFF that a char cannot hold * Walk the name by code point in isValidXmlName, so that a supplementary character is validated as the single character it is instead of being rejected one surrogate at a time * Deprecate the char based overloads and move them to the new xwiki-rendering-legacy-wikimodel module Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
participants (1)
-
XWiki Notifications