Commit 788e115
Fix corrupted U+FFFD in biomodel_256364414.vcml test fixture
The Simulation Name (and matching Version Name) contained two U+FFFD
replacement characters where 'µ' (micron) used to be — a charset
corruption baked into the fixture: "Figure 2 is 4� micrometer radius".
The new TokenMangler validation correctly rejects U+FFFD as invalid
attribute content, breaking SEDMLExporterSBMLTest test case 91 on this
branch.
The pre-existing test only worked because TokenMangler.fixTokenStrict
silently mangled U+FFFD into '_' before SBML export. Replacing the bad
char with the actual 'µ' unicode letter doesn't help — fixTokenStrict
preserves Unicode letters, so the resulting SBML SId becomes invalid.
Substituting plain ASCII 'u' is round-trip-safe and self-explanatory:
"Figure 2 is 4u micrometer radius".
Verified via mvn -pl vcell-core -Dtest=SEDMLExporterSBMLTest test
restricted to this single fixture.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 680c773 commit 788e115
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2913 | 2913 | | |
2914 | 2914 | | |
2915 | 2915 | | |
2916 | | - | |
| 2916 | + | |
2917 | 2917 | | |
2918 | 2918 | | |
2919 | 2919 | | |
| |||
2936 | 2936 | | |
2937 | 2937 | | |
2938 | 2938 | | |
2939 | | - | |
| 2939 | + | |
2940 | 2940 | | |
2941 | 2941 | | |
2942 | 2942 | | |
| |||
0 commit comments