JIS X 4159:2005 拡張可能なマーク付け言語(XML)1.0 | ページ 8

                                                                                             31
X 4159 : 2005
[a-zA-Z],[#xN-#xN]
指定した範囲の値(両端の値を含む。)をもつ任意のCharとマッチする。
[abc],[#xN#xN#xN]
列挙された複数の文字のうち,いずれかの値をともなうCharとマッチする。列挙指定及び範囲指定を,
ひと組の角カッコの中に混在させることができる。
[^a-z],[^#xN-#xN]
指定した範囲外の値をもつ任意のCharとマッチする。
[^abc],[^#xN#xN#xN]
指定した文字以外の値をもつ任意のCharとマッチする。禁止される値の列挙指定と範囲指定を,ひと
組の角カッコの中に混在させることができる。
"string"
二重引用符で囲むリテラル文字列とマッチする。
'string'
一重引用符で囲むリテラル文字列とマッチする。
これらの記号を,次のとおりに組み合わせて,複合パターンを作ってもよい。ここで,A及びBは式と
する。
(expression)
ここに示す組合せによる式(expression)を,一つのまとまりとして扱うために使う。
A・
A又は空列とマッチする(任意選択のA)。
A B
Aの次にBが出現するものとマッチする。このオペレータは,選択よりも高い優先度をもつ。したが
って,A B | C Dと(A B) | (C D)は等しい。
A-B
A又はBのどちらかとマッチする。
A-B
AとマッチするがBとはマッチしない任意の文字列とマッチする。
A+
Aの1回以上の繰返しとマッチする。連結は選択より高いも優先度をもつ。したがって,A+ | B+は (A+)
| (B+)と等しい。
A*
Aの0回以上の繰返しとマッチする。連結は選択より高いも優先度をもつ。したがって,A* | B*は (A*)
| (B*)と等しい。
生成規則内で使用する他の記法を次に示す。

コメント。
[ 整形式制約: ... ]
整形式制約。生成規則に関連した,整形式の文書に関する制約を名前によって特定する。
[妥当性制約 ... ]
妥当性制約。生成規則に関連した,妥当な文書に関する制約を名前によって特定する。

――――― [JIS X 4159 pdf 36] ―――――

32
X 4159 : 2005
附属書A(規定)文献
A.1 引用規定
IANA-CHARSETS
(インタネット割当て番号主体(Internet Assigned Numbers Authority)) fficial Names for Character Sets, ed.
Keld Simonsen et al. (http://www.iana.org/assignments/character-setsを参照。)
IETF RFC 2396
IETF (Internet Engineering Task Force). RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax. T.
Berners-Lee, R. Fielding, L. Masinter. 1998.(http://www.ietf.org/rfc/rfc2396.txtを参照。)
IETF RFC 2732
IETF (Internet Engineering Task Force). RFC 2732: Format for Literal IPv6 Addresses in URL's. R. Hinden, B.
Carpenter, L. Masinter. 1999.(http://www.ietf.org/rfc/rfc2732.txtを参照。)
IETF RFC 3066
IETF (Internet Engineering Task Force). RFC 3066: Tags for the Identification of Languages, ed. H. Alvestrand.
2001. (http://www.ietf.org/rfc/rfc3066.txtを参照。)
ISO/IEC 10646
JIS X 0221-1:2001 国際符号化文字集合(UCS) 第1部 体系及び基本多言語面及びISO/IEC
10646-2:2001 Information technology−Universal Multiple-Octet Coded Character Set (UCS)−Part 2:
Supplementary Planes
備考 ISO/IEC 10646の新版による修正及び置換,並びに新しい部分の追加による拡張を適用する。
最新版については,http://www.iso.chを参照。
参考 ISO/IEC 10646-1:2000 Information technology−Universal Multiple-Octet Coded Character Set (UCS)
−Part 1: Architecture and Basic Multilingual Plane が,JIS X 0221-1:2001に対応している。
ISO/IEC 10646:2000
JIS X 0221-1:2001 国際符号化文字集合(UCS) 第1部 体系及び基本多言語面
備考 ISO/IEC 10646:2000 Information technology-Universal Multiple-Octet Coded Character Set (UCS) --
Part 1: Architecture and Basic Multilingual Plane が,この規格に対応している。
Unicode
The Unicode Consortium. The Unicode Standard, Version 2.0. Reading, Mass.: Addison-Wesley Developers
Press, 1996.
Unicode3
The Unicode Consortium. The Unicode Standard, Version 3.2はThe Unicode Standard, Version 3.0 (Reading,
MA, Addison-Wesley, 2000. ISBN 0-201-61633-5)によって定義され,Unicode Standard Annex #27: Unicode
3.1 (http://www.unicode.org/reports/tr27)
及 び Unicode Standard Annex #28: Unicode
3.2(http://www.unicode.org/reports/tr28)によって補遺された。
A.2 参考文献
Aho/Ullman
Aho, Alfred V., Ravi Sethi, and Jeffrey D. Ullman. Compilers: Principles, Techniques, and Tools. Reading:

――――― [JIS X 4159 pdf 37] ―――――

                                                                                             33
X 4159 : 2005
Addison-Wesley, 1986(改訂新版は1988。).
Brggemann-Klein
Brggemann-Klein, Anne. Regular Expressions into Finite Automata. extended abstractが収録されているの
はI. Simon, Hrsg., LATIN 1992, S. 97-98. Springer-Verlag, Berlin 1992, ジャーナル論文が収録されている
のはTheoretical Computer Science 120: 197-213, 1993.
Brggemann-Klein and Wood
Brggemann-Klein, Anne, and Derick Wood. Deterministic Regular Languages. Universitt Freiburg, Institut
fr Informatik, Bericht 38, Oktober 1991. Extended abstractが収録されているのはA. Finkel, M. Jantzen,
Hrsg., STACS 1992, S. 173-184. Springer-Verlag, Berlin 1992. Lecture Notes in Computer Science 577, ジャ
ーナル論文はOne-Unambiguous Regular Languages in Information and Computation 140 (2): 229-253,
February 1998.
Clark
James Clark. Comparison of SGML and XML. http://www.w3.org/TR/NOTE-sgml-xml-971215を参照。
IANA-LANGCODES
(インタネット割当て番号主体(Internet Assigned Numbers Authority)) egistry of Language Tags, ed. Keld
Simonsen et al.( http://www.iana.org/assignments/language-tagsを参照。)
IETF RFC 2141
IETF (Internet Engineering Task Force). RFC 2141: URN Syntax, ed. R. Moats. 1997.
(http://www.ietf.org/rfc/rfc2141.txtを参照。)
IETF RFC 2781
IETF (Internet Engineering Task Force). RFC 2781: UTF-16, an encoding of ISO 10646, ed. P. Hoffman, F.
Yergeau. 2000.(http://www.ietf.org/rfc/rfc2781.txtを参照。)
ISO 639:1988 Code for the representation of names of languages
JIS X 0304:1999 国名コード
備考 ISO 3166-1:1997 Codes for the representation of names of countries and their subdivisions-Part 1:
Country codesが,この規格に一致している。
IETF RFC 3023
IETF (Internet Engineering Task Force). RFC 3023: XML Media Types. ed. M. Murata, S. St.Laurent, D. Kohn.
2001.(http://www.ietf.org/rfc/rfc3023.txtを参照。)
JIS X 4151-1992 文書記述言語SGML
備考 ISO 8879-1986 Information processing-Text and Office Systems-Standard Generalized Markup
Language (SGML) が,この規格に対応している。
JIS X 4155:2000 ハイパメディア及び時間依存情報の構造化言語(HyTime)
備考 ISO/IEC 10744:1997 Information technology-Hypermedia/Time-based Structuring Language
(HyTime) が,この規格に一致している。
JIS X 4151:2001 文書記述言語SGML(追補2)
備考 ISO 8879:1986/Cor.2:1999 Technical Corrigendum 2 to SGML が,この規格に一致している。
IETF RFC 3023
Tim Bray, Dave Hollander, and Andrew Layman, editors. Namespaces in XML. Textuality, Hewlett-Packard,
and Microsoft. World Wide Web Consortium, 1999.( http://www.w3.org/TR/REC-xml-names/を参照。)

――――― [JIS X 4159 pdf 38] ―――――

34
X 4159 : 2005
参考TR X 0023:1999 XML名前空間が,この規格に一致している。

――――― [JIS X 4159 pdf 39] ―――――

                                                                                             35
X 4159 : 2005
附属書B(規定)文字クラス
Unicode標準に定義するプロパティに従って,文字は基底文字(BaseChar)(これらは,ラテンアルファベ
ットのアルファベット文字を含む。),漢字などの文字(ideographic) 及び結合文字(CombiningChar)(このク
ラスはほとんどのダイアクリティカルマークを含む。)にクラス分けする。10進数値 (Digit)及びエクステ
ンダ(Extender)のクラスもある。
文字
[84] Letter ::= BaseChar | Ideographic
[85] BaseChar ::= [#x0041-#x005A] | [#x0061-#x007A] | [#x00C0-#x00D6] | [#x00D8-#x00F6]
| [#x00F8-#x00FF] | [#x0100-#x0131] | [#x0134-#x013E] | [#x0141-#x0148]
| [#x014A-#x017E] | [#x0180-#x01C3] | [#x01CD-#x01F0] | [#x01F4-#x01F5]
| [#x01FA-#x0217] | [#x0250-#x02A8] | [#x02BB-#x02C1] | #x0386
| [#x0388-#x038A] | #x038C | [#x038E-#x03A1] | [#x03A3-#x03CE]
| [#x03D0-#x03D6] | #x03DA | #x03DC | #x03DE | #x03E0 | [#x03E2-#x03F3]
| [#x0401-#x040C] | [#x040E-#x044F] | [#x0451-#x045C] | [#x045E-#x0481]
| [#x0490-#x04C4] | [#x04C7-#x04C8] | [#x04CB-#x04CC]
| [#x04D0-#x04EB] | [#x04EE-#x04F5] | [#x04F8-#x04F9] | [#x0531-#x0556]
| #x0559 | [#x0561-#x0586] | [#x05D0-#x05EA] | [#x05F0-#x05F2]
| [#x0621-#x063A] | [#x0641-#x064A] | [#x0671-#x06B7] | [#x06BA-#x06BE]
| [#x06C0-#x06CE] | [#x06D0-#x06D3] | #x06D5 | [#x06E5-#x06E6]
| [#x0905-#x0939] | #x093D | [#x0958-#x0961] | [#x0985-#x098C]
| [#x098F-#x0990] | [#x0993-#x09A8] | [#x09AA-#x09B0] | #x09B2
| [#x09B6-#x09B9] | [#x09DC-#x09DD] | [#x09DF-#x09E1] | [#x09F0-#x09F1]
| [#x0A05-#x0A0A] | [#x0A0F-#x0A10] | [#x0A13-#x0A28] | [#x0A2A-#x0A30]
| [#x0A32-#x0A33] | [#x0A35-#x0A36] | [#x0A38-#x0A39] | [#x0A59-#x0A5C]
| #x0A5E | [#x0A72-#x0A74] | [#x0A85-#x0A8B] | #x0A8D | [#x0A8F-#x0A91]
| [#x0A93-#x0AA8] | [#x0AAA-#x0AB0] | [#x0AB2-#x0AB3]
| [#x0AB5-#x0AB9] | #x0ABD | #x0AE0 | [#x0B05-#x0B0C]
| [#x0B0F-#x0B10] | [#x0B13-#x0B28] | [#x0B2A-#x0B30] | [#x0B32-#x0B33]
| [#x0B36-#x0B39] | #x0B3D | [#x0B5C-#x0B5D] | [#x0B5F-#x0B61]
| [#x0B85-#x0B8A] | [#x0B8E-#x0B90] | [#x0B92-#x0B95] | [#x0B99-#x0B9A]
| #x0B9C | [#x0B9E-#x0B9F] | [#x0BA3-#x0BA4] | [#x0BA8-#x0BAA]
| [#x0BAE-#x0BB5] | [#x0BB7-#x0BB9] | [#x0C05-#x0C0C]
| [#x0C0E-#x0C10] | [#x0C12-#x0C28] | [#x0C2A-#x0C33]
| [#x0C35-#x0C39] | [#x0C60-#x0C61] | [#x0C85-#x0C8C]
| [#x0C8E-#x0C90] | [#x0C92-#x0CA8] | [#x0CAA-#x0CB3]

――――― [JIS X 4159 pdf 40] ―――――

次のページ PDF 41

JIS X 4159:2005の国際規格 ICS 分類一覧