Skip to content

Conversation

@slobodan-ilic
Copy link
Contributor

@slobodan-ilic slobodan-ilic commented Apr 13, 2025

ReadStat fails to parse valid multiple response set strings when the set name contains a dot.

Failing MR string:

Q1.4=D1 1 12 MR set label q1_4_1 q1_4_2 q1_4_3 q1_4_4 q1_4_5 q1_4_6 q1_4_7 q1_4_8 q1_4_9

This is valid per SPSS and PSPP. IBM SPSS opens the file without issue.

Spec reference:
https://www.gnu.org/software/pspp/pspp-dev/html_node/Multiple-Response-Sets-Records.html

Parser likely misinterprets the . in the set name as invalid or as a delimiter.

Expected behavior:
Names with dots (e.g., Q1.4) should be accepted and parsed correctly.

@evanmiller evanmiller merged commit 1387841 into WizardMac:dev May 20, 2025
9 of 12 checks passed
@evanmiller
Copy link
Contributor

Thanks!

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