Skip to content

Add toRdf tests for merging rootless base paths - #103

Merged
gkellogg merged 2 commits into
w3c:masterfrom
fsteeg:path-rootless-merge
Jun 10, 2019
Merged

gkellogg merged 2 commits into
w3c:masterfrom
fsteeg:path-rootless-merge

Conversation

@fsteeg

@fsteeg fsteeg commented Jun 3, 2019

Copy link
Copy Markdown
Member

@iherman

iherman commented Jun 3, 2019

Copy link
Copy Markdown
Member

Marked as non substantive for IPR from ash-nazg.

1 similar comment
@fsteeg

fsteeg commented Jun 3, 2019

Copy link
Copy Markdown
Member Author

Marked as non substantive for IPR from ash-nazg.

@BigBlueHat
BigBlueHat requested a review from gkellogg June 3, 2019 18:51
@davidlehn

Copy link
Copy Markdown
Contributor

There is a similar jsonld.js issue. There are likely more tricky test cases and test variations that could be written to cover these issues.
digitalbazaar/jsonld.js#305.

@fsteeg

fsteeg commented Jun 7, 2019

Copy link
Copy Markdown
Member Author

Added a test case for a base URI with a trailing slash, which (according to my understanding of the second bullet point in https://tools.ietf.org/html/rfc3986#section-5.2.3) results in preserving the full base URI (the scenario in digitalbazaar/jsonld.js#305).

@fsteeg fsteeg changed the title Add toRdf tests for merging rootless base URL paths Add toRdf tests for merging rootless base paths Jun 7, 2019

@gkellogg gkellogg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My implementation currently fails as it doesn't doesn't handle tag:example as having an empty base path, but this seems to be the correct interpretation.

@gkellogg
gkellogg merged commit 6ed130a into w3c:master Jun 10, 2019
fsteeg added a commit to fsteeg/jsonld-java that referenced this pull request Jun 11, 2019
Add new spec tests, remove custom tests

See:

jsonld-java#232
w3c/json-ld-api#103
fsteeg added a commit to fsteeg/jsonld-java that referenced this pull request Jun 11, 2019
Add new spec tests, remove custom tests

See:

jsonld-java#232
w3c/json-ld-api#103
rubensworks added a commit to rubensworks/relative-to-absolute-iri.js that referenced this pull request Jun 12, 2019
rubensworks added a commit to rubensworks/jsonld-streaming-parser.js that referenced this pull request Jun 12, 2019
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.

4 participants