We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there is a " in a string, ARC2 will enclose the whole string with ' instead of escaping it the right way.
Code: Escaping in TurtleSerializer::getTerm() in serializers/ARC2_TurtleSerializer.php ln. 52ff
Right solution: As you can see in http://www.w3.org/TeamSubmission/turtle/#sec-grammar-grammar strings have to be enclosed with " [14] literal ::= quotedString ( '@' language )? | datatypeString | integer | double | decimal | boolean [35] quotedString ::= string | longString [36] string ::= #x22 scharacter* #x22 Furthermore in http://www.w3.org/TeamSubmission/turtle/#sec-strings you can see, escaping must be '"' (inside string and longString)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If there is a " in a string, ARC2 will enclose the whole string with ' instead of escaping it the right way.
Code:
Escaping in TurtleSerializer::getTerm() in serializers/ARC2_TurtleSerializer.php ln. 52ff
Right solution:
As you can see in http://www.w3.org/TeamSubmission/turtle/#sec-grammar-grammar strings have to be enclosed with "
[14] literal ::= quotedString ( '@' language )? | datatypeString | integer | double | decimal | boolean
[35] quotedString ::= string | longString
[36] string ::= #x22 scharacter* #x22
Furthermore in http://www.w3.org/TeamSubmission/turtle/#sec-strings you can see, escaping must be '"' (inside string and longString)
The text was updated successfully, but these errors were encountered: