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

Make SOUR references work like GEDCOM 5.5 says they should #16

Closed
wants to merge 2 commits into from

Conversation

stuporglue
Copy link
Contributor

This pull request should make the SourRef parser conform to the source citation documentation here.

Cases where a source is a reference are now handled differently than inline sources. In addition, OBJE support was absent from from SourRef while the spec says it should be supported.

This would also close issue #15. In the case of #15, the SOUR is detected as a reference and the CONC tags are sent to logUnhandledRecord.

@mrkrstphr
Copy link
Owner

I'd be happy to pull this, but the formatting needs to be cleaned up to match PSR-2 standards, and I'd really like to have a test added to verify the fix, and to prevent it from being broken again. See the recent tests I added under tests/issue.

Thanks for submitting the fix!

@mrkrstphr mrkrstphr closed this Nov 26, 2016
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