W3C

SPARQL Codepoint-Escaping Tests

Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, and document use rules apply.


Abstract

This page describes SPARQL 1.2 test suite of the W3C RDF & SPARQL Working Group.

Contributing Tests

The test manifests and entries are built automatically from manifest.ttl using a Rake task. Tests may be contributed via pull request to https://github.com/w3c/rdf-tests with suitable changes to the manifest.ttl and referenced files.

Distribution

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.

Disclaimer

UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

Test Descriptions

codepoint-esc-01-bad: codepoint-esc-01-bad.rq

Whole query in codepoint escapes

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
codepoint-esc-01-bad.rq
codepoint-esc-02-bad: codepoint-esc-02-bad.rq

Codepoint escape in PNAME_NS of a prefixed name

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
codepoint-esc-02-bad.rq
codepoint-esc-03-bad: codepoint-esc-03-bad.rq

Codepoint escape in PN_LOCAL of a prefixed name

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
codepoint-esc-03-bad.rq
codepoint-esc-04-bad: codepoint-esc-04-bad.rq

Codepoint escape in variable

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
codepoint-esc-04-bad.rq
codepoint-esc-05: codepoint-esc-05.rq

Codepoint escape in IRI

type
mf:QueryEvaluationTest
approval
dawgt:Proposed
action
query
codepoint-esc-05.rq
result
codepoint-esc-05.srx
codepoint-esc-06: codepoint-esc-06.rq

Codepoint escape in string - double quoted string

type
mf:QueryEvaluationTest
approval
dawgt:Proposed
action
query
codepoint-esc-06.rq
result
codepoint-esc-06.srx
codepoint-esc-07: codepoint-esc-07.rq

Codepoint escape in string - single quoted string

type
mf:QueryEvaluationTest
approval
dawgt:Proposed
action
query
codepoint-esc-07.rq
result
codepoint-esc-07.srx
codepoint-esc-08: codepoint-esc-08.rq

Codepoint escape in string - special characters

type
mf:QueryEvaluationTest
approval
dawgt:Proposed
action
query
codepoint-esc-08.rq
result
codepoint-esc-08.nt
codepoint-esc-09: codepoint-esc-09.rq

Codepoint escape in string - parsing rules

type
mf:QueryEvaluationTest
approval
dawgt:Proposed
action
query
codepoint-esc-09.rq
result
codepoint-esc-09.srx
surrogate-esc-01-bad: surrogate-esc-01-bad.rq

Surrogate pair - not accepted

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
surrogate-esc-01-bad.rq
surrogate-esc-02-bad: surrogate-esc-02-bad.rq

Surrogate - low-high - not accepted

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
surrogate-esc-02-bad.rq
surrogate-esc-03-bad: surrogate-esc-03-bad.rq

Surrogate - lone high escape sequence

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
surrogate-esc-03-bad.rq
surrogate-esc-04-bad: surrogate-esc-04-bad.rq

Surrogate - lone low escape sequence

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
surrogate-esc-04-bad.rq
surrogate-esc-05-bad: surrogate-esc-05-bad.rq

Surrogate pair - IRI

type
mf:NegativeSyntaxTest
approval
dawgt:Proposed
action
surrogate-esc-05-bad.rq