Skip to main content

Engineering

Notes from the team on the open-source document tooling we build on.

  • Home
  • / Engineering
Engineering Open Source JavaScript Node.js XML xmldom

Patching a CharacterData state drift in xmldom

xmldom's CharacterData exposed data and nodeValue as two separate own-properties, so direct assignment to one could leave the other stale. We filed issue #989 with a minimal repro, and followed up with PR #990, which landed a single backing field behind prototype accessors.

By Steven Obiajulu
April 19, 2026