|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang='en' prefix='dawgt: http://www.w3.org/2001/sw/DataAccess/tests/test-dawg# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# mfx: http://jena.hpl.hp.com/2005/05/test-manifest-extra# qt: http://www.w3.org/2001/sw/DataAccess/tests/test-query# sd: http://www.w3.org/ns/sparql-service-description# ut: http://www.w3.org/2009/sparql/tests/test-update#'> |
| 3 | + <head> |
| 4 | + <meta content='text/html;charset=utf-8' http-equiv='Content-Type'> |
| 5 | + <meta content='width=device-width, initial-scale=1.0' name='viewport'> |
| 6 | + <link href='https://www.w3.org/StyleSheets/TR/base' rel='stylesheet' type='text/css'> |
| 7 | + <style> |
| 8 | + body {background-image: none;} |
| 9 | + dl.editor>dd { |
| 10 | + margin: 0 0 0 40px; |
| 11 | + } |
| 12 | + dl.test-detail { |
| 13 | + padding: 0.5em; |
| 14 | + } |
| 15 | + dl.test-detail>dt { |
| 16 | + float: left; |
| 17 | + clear: left; |
| 18 | + text-align: right; |
| 19 | + font-weight: bold; |
| 20 | + color: green; |
| 21 | + } |
| 22 | + dl.test-detail>dt:after {content: ": "} |
| 23 | + dl.test-detail>dd { |
| 24 | + margin: 0 0 0 110px; |
| 25 | + padding: 0 0 0.5em 0; |
| 26 | + } |
| 27 | + dl.test-description>dt {margin-top: 2em;} |
| 28 | + dd {margin-left: 0;} |
| 29 | + dd code {display: inline;} |
| 30 | + footer {text-align: center;} |
| 31 | + </style> |
| 32 | + <title> |
| 33 | + SPARQL Codepoint-Escaping Tests |
| 34 | + </title> |
| 35 | + <style> |
| 36 | + em.rfc2119 { |
| 37 | + text-transform: lowercase; |
| 38 | + font-variant: small-caps; |
| 39 | + font-style: normal; |
| 40 | + color: #900; |
| 41 | + } |
| 42 | + a.testlink { |
| 43 | + color: inherit; |
| 44 | + text-decoration: none; |
| 45 | + } |
| 46 | + a.testlink:hover { |
| 47 | + text-decoration: underline; |
| 48 | + } |
| 49 | + .warning {color: orange;} |
| 50 | + .error {color: red;} |
| 51 | + </style> |
| 52 | + </head> |
| 53 | + <body resource='../codepoint-escapes#manifest' typeof='mf:Manifest'> |
| 54 | + <p> |
| 55 | + <a href='http://www.w3.org/'> |
| 56 | + <img alt='W3C' height='48' src='http://www.w3.org/Icons/w3c_home' width='72'> |
| 57 | + </a> |
| 58 | + </p> |
| 59 | + <h1 property='rdfs:label'>SPARQL Codepoint-Escaping Tests</h1> |
| 60 | + <p><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p> |
| 61 | + <hr title='Separator for header'> |
| 62 | + <div> |
| 63 | + <h2 id='abstract'>Abstract</h2> |
| 64 | + <p property='rdfs:comment'> |
| 65 | + </p> |
| 66 | + <p>This page describes SPARQL 1.2 test suite of the W3C RDF & SPARQL Working Group.</p> |
| 67 | + <h3 id='contributing-tests'>Contributing Tests</h3> |
| 68 | + <p>The test manifests and entries are built automatically from <a href="manifest.ttl">manifest.ttl</a> using a Rake task. Tests may be contributed via pull request to <a href="https://github.com/w3c/rdf-tests">https://github.com/w3c/rdf-tests</a> with suitable changes to the <a href="manifest.ttl">manifest.ttl</a> and referenced files.</p> |
| 69 | + <h3 id='distribution'>Distribution</h3> |
| 70 | + <p>Distributed under both the <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-license">W3C Test Suite License</a> and the <a href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license">W3C 3-clause BSD License</a>. To contribute to a W3C Test Suite, see the <a href="http://www.w3.org/2004/10/27-testcases">policies and contribution forms</a>.</p> |
| 71 | + <h3 id='disclaimer'>Disclaimer</h3> |
| 72 | + <p>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. |
| 73 | + 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.</p> |
| 74 | + </div> |
| 75 | + <div> |
| 76 | + <h2> |
| 77 | + Test Descriptions |
| 78 | + </h2> |
| 79 | + <dl class='test-description'> |
| 80 | + <dt id='codepoint-esc-01'> |
| 81 | + <a class='testlink' href='#codepoint-esc-01'> |
| 82 | + codepoint-esc-01: |
| 83 | + </a> |
| 84 | + <span about='../codepoint-escapes#codepoint-esc-01' property='mf:name'>codepoint-esc-01.rq</span> |
| 85 | + </dt> |
| 86 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-01' typeof='mf:PositiveSyntaxTest'> |
| 87 | + <div property='rdfs:comment'> |
| 88 | + </div> |
| 89 | + <dl class='test-detail'> |
| 90 | + <dt>type</dt> |
| 91 | + <dd>mf:PositiveSyntaxTest</dd> |
| 92 | + <dt>approval</dt> |
| 93 | + <dd property='mf:approval' resource=''></dd> |
| 94 | + <dt>action</dt> |
| 95 | + <dd> |
| 96 | + <a href='codepoint-esc-01.rq' property='mf:action'>codepoint-esc-01.rq</a> |
| 97 | + </dd> |
| 98 | + </dl> |
| 99 | + </dd> |
| 100 | + <dt id='codepoint-esc-02'> |
| 101 | + <a class='testlink' href='#codepoint-esc-02'> |
| 102 | + codepoint-esc-02: |
| 103 | + </a> |
| 104 | + <span about='../codepoint-escapes#codepoint-esc-02' property='mf:name'>codepoint-esc-02.rq</span> |
| 105 | + </dt> |
| 106 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-02' typeof='mf:PositiveSyntaxTest'> |
| 107 | + <div property='rdfs:comment'> |
| 108 | + <p>codepoint escape for the backslash of a PN_LOCAL_ESC in the PN_LOCAL part of a PrefixedName</p> |
| 109 | + </div> |
| 110 | + <dl class='test-detail'> |
| 111 | + <dt>type</dt> |
| 112 | + <dd>mf:PositiveSyntaxTest</dd> |
| 113 | + <dt>approval</dt> |
| 114 | + <dd property='mf:approval' resource=''></dd> |
| 115 | + <dt>action</dt> |
| 116 | + <dd> |
| 117 | + <a href='codepoint-esc-02.rq' property='mf:action'>codepoint-esc-02.rq</a> |
| 118 | + </dd> |
| 119 | + </dl> |
| 120 | + </dd> |
| 121 | + <dt id='codepoint-esc-bad-03'> |
| 122 | + <a class='testlink' href='#codepoint-esc-bad-03'> |
| 123 | + codepoint-esc-bad-03: |
| 124 | + </a> |
| 125 | + <span about='../codepoint-escapes#codepoint-esc-bad-03' property='mf:name'>codepoint-esc-bad-03.rq</span> |
| 126 | + </dt> |
| 127 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-bad-03' typeof='mf:NegativeSyntaxTest'> |
| 128 | + <div property='rdfs:comment'> |
| 129 | + <p>codepoint escape that results in an invalid backslash escape (requires handling codepoint escaping before backslash escaping)</p> |
| 130 | + </div> |
| 131 | + <dl class='test-detail'> |
| 132 | + <dt>type</dt> |
| 133 | + <dd>mf:NegativeSyntaxTest</dd> |
| 134 | + <dt>approval</dt> |
| 135 | + <dd property='mf:approval' resource=''></dd> |
| 136 | + <dt>action</dt> |
| 137 | + <dd> |
| 138 | + <a href='codepoint-esc-bad-03.rq' property='mf:action'>codepoint-esc-bad-03.rq</a> |
| 139 | + </dd> |
| 140 | + </dl> |
| 141 | + </dd> |
| 142 | + <dt id='codepoint-esc-04'> |
| 143 | + <a class='testlink' href='#codepoint-esc-04'> |
| 144 | + codepoint-esc-04: |
| 145 | + </a> |
| 146 | + <span about='../codepoint-escapes#codepoint-esc-04' property='mf:name'>codepoint-esc-04.rq</span> |
| 147 | + </dt> |
| 148 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-04' typeof='mf:PositiveSyntaxTest'> |
| 149 | + <div property='rdfs:comment'> |
| 150 | + <p>codepoint escape that results in a valid backslash escape</p> |
| 151 | + </div> |
| 152 | + <dl class='test-detail'> |
| 153 | + <dt>type</dt> |
| 154 | + <dd>mf:PositiveSyntaxTest</dd> |
| 155 | + <dt>approval</dt> |
| 156 | + <dd property='mf:approval' resource=''></dd> |
| 157 | + <dt>action</dt> |
| 158 | + <dd> |
| 159 | + <a href='codepoint-esc-04.rq' property='mf:action'>codepoint-esc-04.rq</a> |
| 160 | + </dd> |
| 161 | + </dl> |
| 162 | + </dd> |
| 163 | + <dt id='codepoint-esc-05'> |
| 164 | + <a class='testlink' href='#codepoint-esc-05'> |
| 165 | + codepoint-esc-05: |
| 166 | + </a> |
| 167 | + <span about='../codepoint-escapes#codepoint-esc-05' property='mf:name'>codepoint-esc-05.rq</span> |
| 168 | + </dt> |
| 169 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-05' typeof='mf:PositiveSyntaxTest'> |
| 170 | + <div property='rdfs:comment'> |
| 171 | + </div> |
| 172 | + <dl class='test-detail'> |
| 173 | + <dt>type</dt> |
| 174 | + <dd>mf:PositiveSyntaxTest</dd> |
| 175 | + <dt>approval</dt> |
| 176 | + <dd property='mf:approval' resource=''></dd> |
| 177 | + <dt>action</dt> |
| 178 | + <dd> |
| 179 | + <a href='codepoint-esc-05.rq' property='mf:action'>codepoint-esc-05.rq</a> |
| 180 | + </dd> |
| 181 | + </dl> |
| 182 | + </dd> |
| 183 | + <dt id='codepoint-esc-06'> |
| 184 | + <a class='testlink' href='#codepoint-esc-06'> |
| 185 | + codepoint-esc-06: |
| 186 | + </a> |
| 187 | + <span about='../codepoint-escapes#codepoint-esc-06' property='mf:name'>codepoint-esc-06.rq</span> |
| 188 | + </dt> |
| 189 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-06' typeof='mf:PositiveSyntaxTest'> |
| 190 | + <div property='rdfs:comment'> |
| 191 | + <p>codepoint escape for the percent sign in the PL_LOCAL part of a PrefixedName</p> |
| 192 | + </div> |
| 193 | + <dl class='test-detail'> |
| 194 | + <dt>type</dt> |
| 195 | + <dd>mf:PositiveSyntaxTest</dd> |
| 196 | + <dt>approval</dt> |
| 197 | + <dd property='mf:approval' resource=''></dd> |
| 198 | + <dt>action</dt> |
| 199 | + <dd> |
| 200 | + <a href='codepoint-esc-06.rq' property='mf:action'>codepoint-esc-06.rq</a> |
| 201 | + </dd> |
| 202 | + </dl> |
| 203 | + </dd> |
| 204 | + <dt id='codepoint-esc-07'> |
| 205 | + <a class='testlink' href='#codepoint-esc-07'> |
| 206 | + codepoint-esc-07: |
| 207 | + </a> |
| 208 | + <span about='../codepoint-escapes#codepoint-esc-07' property='mf:name'>codepoint-esc-07.rq</span> |
| 209 | + </dt> |
| 210 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-07' typeof='mf:PositiveSyntaxTest'> |
| 211 | + <div property='rdfs:comment'> |
| 212 | + <p>codepoint escape for whitespace separating the projection tokens: SELECT * WHERE</p> |
| 213 | + </div> |
| 214 | + <dl class='test-detail'> |
| 215 | + <dt>type</dt> |
| 216 | + <dd>mf:PositiveSyntaxTest</dd> |
| 217 | + <dt>approval</dt> |
| 218 | + <dd property='mf:approval' resource=''></dd> |
| 219 | + <dt>action</dt> |
| 220 | + <dd> |
| 221 | + <a href='codepoint-esc-07.rq' property='mf:action'>codepoint-esc-07.rq</a> |
| 222 | + </dd> |
| 223 | + </dl> |
| 224 | + </dd> |
| 225 | + <dt id='codepoint-esc-08'> |
| 226 | + <a class='testlink' href='#codepoint-esc-08'> |
| 227 | + codepoint-esc-08: |
| 228 | + </a> |
| 229 | + <span about='../codepoint-escapes#codepoint-esc-08' property='mf:name'>codepoint-esc-08.rq</span> |
| 230 | + </dt> |
| 231 | + <dd inlist='true' property='mf:entry' resource='../codepoint-escapes#codepoint-esc-08' typeof='mf:PositiveSyntaxTest'> |
| 232 | + <div property='rdfs:comment'> |
| 233 | + <p>codepoint escape for the starting double-quote of a literal</p> |
| 234 | + </div> |
| 235 | + <dl class='test-detail'> |
| 236 | + <dt>type</dt> |
| 237 | + <dd>mf:PositiveSyntaxTest</dd> |
| 238 | + <dt>approval</dt> |
| 239 | + <dd property='mf:approval' resource=''></dd> |
| 240 | + <dt>action</dt> |
| 241 | + <dd> |
| 242 | + <a href='codepoint-esc-08.rq' property='mf:action'>codepoint-esc-08.rq</a> |
| 243 | + </dd> |
| 244 | + </dl> |
| 245 | + </dd> |
| 246 | + </dl> |
| 247 | + </div> |
| 248 | + <footer> |
| 249 | + <p><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright ©</a> 2015 <a href="http://www.w3.org/">W3C</a>® (<a href="http://www.csail.mit.edu/">MIT</a>, <a href="http://www.ercim.org/">ERCIM</a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). W3C® <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p> |
| 250 | + </footer> |
| 251 | + </body> |
| 252 | +</html> |
0 commit comments