Skip to content

feat: update codepoints to string #1422

Draft
EPMatt wants to merge 4 commits intoRumbleDB:masterfrom
EPMatt:ma/codepoints-to-string-iterator
Draft

feat: update codepoints to string #1422
EPMatt wants to merge 4 commits intoRumbleDB:masterfrom
EPMatt:ma/codepoints-to-string-iterator

Conversation

@EPMatt
Copy link
Collaborator

@EPMatt EPMatt commented Mar 21, 2026

Overview

This PR tightens codepoint validation to respect XML version configuration. Changes have been extracted from #1409.

Changelog

  • Codepoints and XML version handling
    • Iterated on CodepointsToStringFunctionIterator to:
      • Validate input items as integers using exact arithmetic, raising CodepointNotValidException for out-of-range or non-integral values.
      • Integrate XML version information from RumbleRuntimeConfiguration so codepoint acceptance can be tuned for XML 1.0 vs 1.1 (especially for C0/C1 control characters).
      • Refactor control-character validation logic for clarity while keeping behavior compatible with existing engine and QT3 expectations (pending harness updates for xml-version dependencies).

EPMatt and others added 3 commits November 28, 2025 19:54
* chore: remove not needed rumbleruntimeconfiguration parameter from getStaticContextForRuntime

* chore(visitors): remove not needed rumbleruntimeconfiguration params

* chore: mvn spotless:apply

* fix: unshadow static context in a few expressions
…config

- Add RumbleRuntimeConfiguration xml-version CLI handling and accessors
- Decode string literals with unescapeXml after JSON unescape (TranslationVisitor)
- Validate codepoints with intValueExact and XML character rules in CodepointsToStringFunctionIterator

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants