| 1220 |
The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent: |
The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent: |
| 1221 |
#ja |
#ja |
| 1222 |
次の2つの <code><a href=#the-pre-element>pre</a></code> |
次の2つの <code><a href=#the-pre-element>pre</a></code> |
|
ブロックは等価です。 |
|
| 1223 |
|
ブロックは等価です。 |
| 1224 |
|
|
| 1225 |
|
#en |
| 1226 |
|
<pre>Hello</pre> |
| 1227 |
|
#ja |
| 1228 |
|
<pre>こんにちは</pre> |
| 1229 |
|
|
| 1230 |
|
#en |
| 1231 |
|
<pre><br>Hello</pre> |
| 1232 |
|
#ja |
| 1233 |
|
<pre><br>こんにちは</pre> |
| 1234 |
|
|
| 1235 |
|
#en |
| 1236 |
|
<span class=secno>* </span>Restrictions on the contents of CDATA and RCDATA elements |
| 1237 |
|
#ja |
| 1238 |
|
<span class=secno>$1 </span>CDATA 要素や RCDATA 要素の内容の制限 |
| 1239 |
|
|
| 1240 |
|
#en |
| 1241 |
|
The text in CDATA and RCDATA elements must not contain any |
| 1242 |
|
occurrences of the string "<code title=""></</code>" (U+003C |
| 1243 |
|
LESS-THAN SIGN, U+002F SOLIDUS) followed by characters that |
| 1244 |
|
case-insensitively match the tag name of the element followed by one |
| 1245 |
|
of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM |
| 1246 |
|
FEED (FF), U+0020 SPACE, U+003E GREATER-THAN SIGN (>), or U+002F |
| 1247 |
|
SOLIDUS (/), unless that string is part of an <a href=#syntax-escape title=syntax-escape>escaping text span</a>. |
| 1248 |
|
#ja |
| 1249 |
|
CDATA 要素や RCDATA 要素のテキストは文字列「<code title=""></</code>」 (U+003C |
| 1250 |
|
LESS-THAN SIGN、U+002F SOLIDUS) の後に要素のタグ名と大文字・小文字を区別しない場合に一致する文字が続き、 |
| 1251 |
|
その後に U+0009 CHARACTER TABULATION、U+000A LINE FEED (LF)、U+000C FORM |
| 1252 |
|
FEED (FF)、U+0020 SPACE、U+003E GREATER-THAN SIGN (>)、U+002F |
| 1253 |
|
SOLIDUS (/) |
| 1254 |
|
のいずれかが続くような列を、その文字列が<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の一部である場合を除き、 |
| 1255 |
|
含んでは[[MUST NOT:なりません]]。 |
| 1256 |
|
|
| 1257 |
|
#en |
| 1258 |
|
An <dfn id=syntax-escape title=syntax-escape>escaping text span</dfn> is a span |
| 1259 |
|
of <a href=#syntax-text title=syntax-text>text</a> that starts with an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
| 1260 |
|
not itself in an <a href=#syntax-escape title=syntax-escape>escaping text |
| 1261 |
|
span</a>, and ends at the next <a href=#syntax-escape-end title=syntax-escape-end>escaping text span end</a>. There |
| 1262 |
|
cannot be any <a href=#syntax-charref title=syntax-charref>character |
| 1263 |
|
references</a> inside an <a href=#syntax-escape title=syntax-escape>escaping |
| 1264 |
|
text span</a>. |
| 1265 |
|
#ja |
| 1266 |
|
<dfn id=syntax-escape title=syntax-escape>逃避テキスト径間</dfn>は、 |
| 1267 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>の径間であって、 |
| 1268 |
|
それ自体は<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>中にない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>によって始まり、 |
| 1269 |
|
次の<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間</a>によって終わるものです。 |
| 1270 |
|
<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の内側には<a href=#syntax-charref title=syntax-charref>文字参照</a>を入れることができません。 |
| 1271 |
|
|
| 1272 |
|
#en |
| 1273 |
|
An <dfn id=syntax-escape-start title=syntax-escape-start>escaping text span |
| 1274 |
|
start</dfn> is a part of <a href=#syntax-text title=syntax-text>text</a> that |
| 1275 |
|
consists of the four character sequence "<code title=""><!--</code>" (U+003C LESS-THAN SIGN, U+0021 EXCLAMATION |
| 1276 |
|
MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS). |
| 1277 |
|
#ja |
| 1278 |
|
<dfn id=syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</dfn>は、 |
| 1279 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>の一部で、 |
| 1280 |
|
4文字の列「<code title=""><!--</code>」(U+003C LESS-THAN SIGN、U+0021 EXCLAMATION |
| 1281 |
|
MARK、U+002D HYPHEN-MINUS、U+002D HYPHEN-MINUS) です。 |
| 1282 |
|
|
| 1283 |
|
#en |
| 1284 |
|
An <a href=#syntax-escape-start title=syntax-escape-start>escaping text span |
| 1285 |
|
start</a> may share its U+002D HYPHEN-MINUS characters with its |
| 1286 |
|
corresponding <a href=#syntax-escape-end title=syntax-escape-end>escaping text span |
| 1287 |
|
end</a>. |
| 1288 |
|
#ja |
| 1289 |
|
<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>は、 |
| 1290 |
|
その U+002D HYPHEN-MINUS 文字を対応する<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>と共有して[[MAY:構いません]]。 |
| 1291 |
|
|
| 1292 |
|
#en |
| 1293 |
|
The text in CDATA and RCDATA elements must not have an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
| 1294 |
|
not followed by an <a href=#syntax-escape-end title=syntax-escape-end>escaping text |
| 1295 |
|
span end</a>. |
| 1296 |
|
#ja |
| 1297 |
|
CDATA 要素と RCDATA 要素のテキストは<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>が後に続かない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>を含んでは[[MUST NOT:なりません]]。 |
| 1298 |
|
|
| 1299 |
|
#pattern |
| 1300 |
|
<span class=secno>* </span>Text |
| 1301 |
|
#ja |
| 1302 |
|
<span class=secno>$1 </span>テキスト |
| 1303 |
|
|
| 1304 |
|
#en |
| 1305 |
|
<dfn id=syntax-text title=syntax-text>Text</dfn> is allowed inside elements, |
| 1306 |
|
attributes, and comments. Text must consist of Unicode characters. |
| 1307 |
|
Text must not contain U+0000 characters. Text must not contain |
| 1308 |
|
permanently undefined Unicode characters. Text must not contain |
| 1309 |
|
control characters other than <a href=#space-character title="space character">space |
| 1310 |
|
characters</a>. Extra constraints are placed on what is and what |
| 1311 |
|
is not allowed in text based on where the text is to be put, as |
| 1312 |
|
described in the other sections. |
| 1313 |
|
#ja |
| 1314 |
|
<dfn id=syntax-text title=syntax-text>テキスト</dfn>は要素、 |
| 1315 |
|
属性、注釈の内側で認められています。 |
| 1316 |
|
テキストは Unicode 文字で構成されなければ[[MUST:なりません]]。 |
| 1317 |
|
テキストは U+0000 文字を含んでは[[MUST NOT:なりません]]。 |
| 1318 |
|
テキストは恒久的に未定義の Unicode 文字を含んでは[[MUST NOT:なりません]]。 |
| 1319 |
|
テキストは<a href=#space-character title="space character">間隔文字</a>以外の制御文字を含んでは[[MUST NOT:なりません]]。 |
| 1320 |
|
他の節で述べた通り、テキストが配置される場所によって、テキスト中で何が認められ、 |
| 1321 |
|
何が認められないかの追加の制約があります。 |
| 1322 |
|
|
| 1323 |
|
|
| 1324 |
|
#pattern |
| 1325 |
|
<span class=secno>* </span>Newlines |
| 1326 |
|
#ja |
| 1327 |
|
<span class=secno>$1 </span>改行 |
| 1328 |
|
|
| 1329 |
|
#en |
| 1330 |
|
<dfn id=syntax-newlines title=syntax-newlines>Newlines</dfn> in HTML may be |
| 1331 |
|
represented either as U+000D CARRIAGE RETURN (CR) characters, U+000A |
| 1332 |
|
LINE FEED (LF) characters, or pairs of U+000D CARRIAGE RETURN (CR), |
| 1333 |
|
U+000A LINE FEED (LF) characters in that order. |
| 1334 |
|
#ja |
| 1335 |
|
HTML の<dfn id=syntax-newlines title=syntax-newlines>改行</dfn>は |
| 1336 |
|
U+000D CARRIAGE RETURN (CR) 文字か、U+000A |
| 1337 |
|
LINE FEED (LF) 文字か、U+000D CARRIAGE RETURN (CR) 文字と |
| 1338 |
|
U+000A LINE FEED (LF) 文字の組をこの順序で用いるかのいずれかによって表現して[[MAY:構いません]]。 |