/[suikacvs]/markup/html/html5/spec-ja/data/common.dat
Suika

Diff of /markup/html/html5/spec-ja/data/common.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by apache, Tue Aug 12 10:55:10 2008 UTC revision 1.30 by apache, Tue Aug 12 11:05:45 2008 UTC
# Line 1061  DOM オブジェクトが<dfn id=live>� Line 1061  DOM オブジェクトが<dfn id=live>�
1061    
1062    
1063    
1064    
1065    
1066  #en  #en
1067  If <var title="">string</var> consists of just a single U+002E FULL  If <var title="">string</var> consists of just a single U+002E FULL
1068      STOP character or if it contains more than one U+002E FULL STOP character      STOP character or if it contains more than one U+002E FULL STOP character
1069      then return an error condition and abort these steps.      then return an error condition and abort these steps.
1070  #ja  #ja
1071  <var title="">string</var> が単一の U+002E FULL  <var title="">string</var> が単一の U+002E FULL
1072      STOP 文字のみで構成される場合や、複数の U+002E FULL      STOP 文字のみで構成される場合や、複数の U+002E FULL
1073      STOP 文字を含む場合は、誤り状態を返し、      STOP 文字を含む場合は、誤り状態を返し、
1074  これらの段階を停止します。  これらの段階を停止します。
1075    
1076  #en  #en
1077  If <var title="">got number</var> is true, then append <var  If <var title="">got number</var> is true, then append <var
1078       title="">value</var> to the <var title="">numbers</var> list.       title="">value</var> to the <var title="">numbers</var> list.
1079  #ja  #ja
1080  <var title="">got number</var> が真の場合、 <var  <var title="">got number</var> が真の場合、 <var
1081       title="">value</var> を <var title="">numbers</var>       title="">value</var> を <var title="">numbers</var>
 リストの最後に追加します。  
1082    リストの最後に追加します。
1083    
1084    #en
1085    To <dfn id=datetime-parser>parse a string as a datetime value</dfn>, a
1086       user agent must apply the following algorithm to the string. This will
1087       either return a time in UTC, with associated timezone information for
1088       round tripping or display purposes, or nothing, indicating the value is
1089       not a <a href="#valid5">valid datetime</a>. If at any point the algorithm
1090       says that it "fails", this means that it returns nothing.
1091    #ja
1092    利用者エージェントは、
1093    <dfn id=datetime-parser>文字列を日時値として構文解析する</dfn>際に文字列に次の算法を適用しなければ[[MUST:なりません]]。
1094    この算法は UTC での時刻と往復変換や表示のための関連付けられた時間帯の情報を返すか、
1095    何も返さないことによって値が<a href="#valid5">妥当な日時</a>でないことを示すかのいずれかです。
1096    算法が「失敗」といった時点で、何も返さないことを意味します。
1097    
1098    #en
1099    <a href="#collect">Collect a sequence of characters</a> in the range
1100         U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1101         sequence is not exactly four characters long, then fail. Otherwise,
1102         interpret the resulting sequence as a base-ten integer. Let that number
1103         be the <var title="">year</var>.
1104    #ja
1105    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1106    集めた列が丁度4文字の長さでない場合は、失敗です。
1107    そうでない場合、得られた列を十進整数として解釈します。
1108    この数を <var title="">year</var> とします。
1109    
1110    #en
1111    If <var title="">position</var> is beyond the end of <var
1112         title="">input</var> or if the character at <var title="">position</var>
1113         is not a U+002D HYPHEN-MINUS character, then fail. Otherwise, move <var
1114         title="">position</var> forwards one character.
1115    #ja
1116    <var title="">position</var> が <var
1117         title="">input</var> の終わりを過ぎている場合や <var title="">position</var> の位置の文字が U+002D HYPHEN-MINUS 文字でない場合、
1118    失敗です。そうでない場合、 <var
1119         title="">position</var> を1文字先へ進めます。
1120    
1121    #en
1122    <a href="#collect">Collect a sequence of characters</a> in the range
1123         U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1124         sequence is not exactly two characters long, then fail. Otherwise,
1125         interpret the resulting sequence as a base-ten integer. Let that number
1126         be the <var title="">month</var>.
1127    #ja
1128    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1129    集めた列が丁度2文字の長さでない場合、失敗です。
1130    そうでない場合、得られた列を十進整数として解釈します。
1131    この数を <var title="">month</var> とします。
1132    
1133    #en
1134    <a href="#collect">Collect a sequence of characters</a> in the range
1135         U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1136         sequence is not exactly two characters long, then fail. Otherwise,
1137         interpret the resulting sequence as a base-ten integer. Let that number
1138         be the <var title="">day</var>.
1139    #ja
1140    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1141    集めた列が丁度2文字の長さでない場合、失敗です。
1142    そうでない場合、得られた列を十進整数として解釈します。
1143    この数を <var title="">day</var> とします。
1144    
1145    #en
1146    <a href="#collect">Collect a sequence of characters</a> in the range
1147         U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1148         sequence is not exactly two characters long, then fail. Otherwise,
1149         interpret the resulting sequence as a base-ten integer. Let that number
1150         be the <var title="">hour</var>.
1151    #ja
1152    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1153    集めた列が丁度2文字の長さでない場合、失敗です。
1154    そうでない場合、得られた列を十進整数として解釈します。
1155    この数を <var title="">hour</var> とします。
1156    
1157    #en
1158    <a href="#collect">Collect a sequence of characters</a> in the range
1159         U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1160         sequence is not exactly two characters long, then fail. Otherwise,
1161         interpret the resulting sequence as a base-ten integer. Let that number
1162         be the <var title="">minute</var>.
1163    #ja
1164    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1165    集めた列が丁度2文字の長さでない場合、失敗です。
1166    そうでない場合、得られた列を十進整数として解釈します。
1167    この数を <var title="">minute</var> とします。
1168    
1169    #en
1170    <a href="#collect">Collect a sequence of characters</a> in the range
1171           U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1172           sequence is not exactly two characters long, then fail. Otherwise,
1173           interpret the resulting sequence as a base-ten integer. Let that
1174           number be the <var title="">timezone<sub title="">hours</sub></var>.
1175    #ja
1176    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1177    集めた列が丁度2文字の長さでない場合、失敗です。
1178    そうでない場合、得られた列を十進整数として解釈します。
1179    この数を <var title="">timezone<sub title="">hours</sub></var> とします。
1180    
1181    #en
1182    <a href="#collect">Collect a sequence of characters</a> in the range
1183           U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1184           sequence is not exactly two characters long, then fail. Otherwise,
1185           interpret the resulting sequence as a base-ten integer. Let that
1186           number be the <var title="">timezone<sub title="">minutes</sub></var>.
1187    #ja
1188    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。
1189    集めた列が丁度2文字の長さでない場合、失敗です。
1190    そうでない場合、得られた列を十進整数として解釈します。
1191    この数を <var title="">timezone<sub title="">minutes</sub></var> とします。
1192    
1193    #pattern
1194    <span class=secno>* </span>Vaguer moments in time
1195    #ja
1196    <span class=secno>$1 </span>より曖昧な時刻
1197    
1198    #en
1199    This section defines <dfn id=date-or title="date or time string">date or
1200       time strings</dfn>. There are two kinds, <dfn id=date-or0 title="date or
1201       time string in content">date or time strings in content</dfn>, and <dfn
1202       id=date-or1 title="date or time string in attributes">date or time strings
1203       in attributes</dfn>. The only difference is in the handling of whitespace
1204       characters.
1205    #ja
1206    この節は<dfn id=date-or title="date or time string">日付か時刻の文字列</dfn>を定義します。
1207    これは2種類あり、1つは<dfn id=date-or0 title="date or
1208       time string in content">内容中の日付か時刻の文字列</dfn>で、
1209    もう1つは<dfn
1210       id=date-or1 title="date or time string in attributes">属性中の日付か時刻の文字列</dfn>です。
1211    違いは空白文字の取扱いだけです。
1212    
1213    #en
1214    To parse a <a href="#date-or">date or time string</a>, user agents must
1215       use the following algorithm. A <a href="#date-or">date or time string</a>
1216       is a <em>valid</em> date or time string if the following algorithm, when
1217       run on the string, doesn't say the string is invalid.
1218    #ja
1219    利用者エージェントは、<a href="#date-or">日付か時刻の文字列</a>を構文解析する際、
1220    次の算法を使わなければ[[MUST:なりません]]。<a href="#date-or">日付か時刻の文字列</a>は、
1221    次の算法を文字列上で走らせた時に文字列が非妥当であると言われなければ、
1222    <em>妥当</em>な日付か時刻の文字列です。

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.30

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24