Safe DOCX posture
ST_DecimalNumber note and comment identifiers
Note and legacy comment IDs are admitted only after a 64-byte raw lexical bound, XML Schema whitespace collapse, and signed decimal parsing. Evidence uses a canonical decimal spelling; aliases such as leading zeroes and negative zero therefore cannot create distinct semantic definitions.
Schema declarations
Bounded evidence
- formal verification
verification/lean/Tier2/NoteReferenceIntegrity.lean - formal verification
verification/lean/Tier2/CommentReferenceIntegrity/Semantics.lean - test
packages/docx-compare/src/baselines/atomizer/leanXmlVerifier.test.ts