Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#652: Add support for parsing DDI 3.x fragment documents #97

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

matthew-morris-cessda
Copy link
Contributor

This PR modifies the harvester to correctly parse DDI 3.x instance documentaion. It adds a sample DDI 3.x fragment document and tests to validate the correct parsing of DDI 3.x fragment documents.

To enable support of parsing references, the XMLMapper was extracted to an interface. A new ResolvingXMLMapper was created to handle cases where elements can both be directly included in a StudyUnit and referenced.

This closes cessda/cessda.cdc.versions#652.

This commits adds a sample DDI 3.x fragment document and tests to validate the correct parsing of DDI 3.x fragment documents.

To enable support of parsing references, the XMLMapper was extracted to an interface. A new ResolvingXMLMapper was created to handle cases where elements can both be directly included in a StudyUnit and referenced.
@matthew-morris-cessda matthew-morris-cessda added the enhancement New feature or request label May 7, 2024
@matthew-morris-cessda matthew-morris-cessda requested a review from a team May 7, 2024 10:40
@matthew-morris-cessda matthew-morris-cessda self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant