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

stringToTerm: Quoted terms with a space after << errors out #34

Closed
jeswr opened this issue Nov 25, 2022 · 1 comment · Fixed by #37
Closed

stringToTerm: Quoted terms with a space after << errors out #34

jeswr opened this issue Nov 25, 2022 · 1 comment · Fixed by #37
Labels

Comments

@jeswr
Copy link
Contributor

jeswr commented Nov 25, 2022

That is <<<a> <b> <c>>> is a valid input but << <a> <b> <c> >> incorrectly results in errors.

@jeswr jeswr changed the title termToString: Quoted terms with a space after << errors out stringToTerm: Quoted terms with a space after << errors out Nov 25, 2022
@rubensworks
Copy link
Owner

Parser here should probably ignore spaces: https://github.com/rubensworks/rdf-string.js/blob/master/lib/TermUtil.ts#L116-L130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants