Skip to content

Continue to realign with version 4.0.0 of HED specification - #937

Merged
VisLab merged 2 commits into
hed-standard:mainfrom
VisLab:realign_phase_3
Oct 23, 2026
Merged

VisLab merged 2 commits into
hed-standard:mainfrom
VisLab:realign_phase_3

Conversation

@VisLab

@VisLab VisLab commented Oct 23, 2026

Copy link
Copy Markdown
Member

No description provided.

VisLab and others added 2 commits October 23, 2026 10:56
The letter test of specification 3.2.5 rule 6 keyed the Unicode form on
the literal character set name nonascii, so a schema whose nameClass
declaration allows non-ASCII through the composite set name or a literal
character (honored from HED 8.5.0) would reject an extension such as
Item/ete with accents. Test /\p{L}/u for every schema: a name class
without non-ASCII characters has already rejected them, so the result on
every shipped schema is unchanged (Copilot review of PR hed-standard#936).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The preceding name-class validation preserves schema restrictions, and no blocking issues were identified.

No open issues 🎉

What changed in this PR

This PR simplifies tag-extension validation as part of alignment with HED specification 4.0.0.

Changes:

  • Uses a Unicode letter check for all schemas after name-class validation.
  • Clarifies why schemas that disallow non-ASCII characters retain their existing restrictions.
File Description
src/​parser/​tagConverter.js Simplifies the letter check and documents how name-class validation preserves schema restrictions.

Review effort: Balanced

@VisLab
VisLab merged commit 91e5132 into hed-standard:main Oct 23, 2026
13 checks passed
@VisLab
VisLab deleted the realign_phase_3 branch October 26, 2026 18:46
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.

2 participants