Mercurial > emacs
annotate etc/schema/xhtml-bform.rnc @ 105971:6b2352662a3f
Make sure that the value of jisx0208 property is jisx0208 character.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 13 Nov 2009 06:20:52 +0000 |
parents | 9e48c9dc543f |
children |
rev | line source |
---|---|
87294
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
1 # Simplified Forms Module |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
2 |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
3 form = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
4 element form { |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
5 form.attlist, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
6 # Don't use Block.model, because this gets redefined by the |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
7 # legacy module. |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
8 Block.class+ |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
9 } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
10 form.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
11 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
12 attribute action { URI.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
13 attribute method { "get" | "post" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
14 attribute enctype { ContentType.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
15 label = element label { label.attlist, Inline.model } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
16 label.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
17 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
18 attribute for { IDREF.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
19 attribute accesskey { Character.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
20 input = element input { input.attlist } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
21 input.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
22 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
23 attribute type { InputType.class }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
24 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
25 attribute value { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
26 attribute checked { "checked" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
27 attribute size { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
28 attribute maxlength { Number.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
29 attribute src { URI.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
30 attribute accesskey { Character.datatype }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
31 InputType.class = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
32 "text" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
33 | "password" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
34 | "checkbox" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
35 | "radio" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
36 | "submit" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
37 | "reset" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
38 | "hidden" |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
39 select = element select { select.attlist, option+ } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
40 select.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
41 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
42 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
43 attribute size { Number.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
44 attribute multiple { "multiple" }? |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
45 option = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
46 element option { |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
47 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
48 attribute selected { "selected" }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
49 attribute value { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
50 text |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
51 } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
52 textarea = element textarea { textarea.attlist } |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
53 textarea.attlist = |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
54 Common.attrib, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
55 attribute name { text }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
56 attribute rows { Number.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
57 attribute cols { Number.datatype }, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
58 attribute accesskey { Character.datatype }?, |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
59 text |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
60 Form.class = form |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
61 Formctrl.class = input | label | select | textarea |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
62 Block.class |= Form.class |
9e48c9dc543f
Renamed xhtml-basic-form.rnc to xhtml-bform.rnc; all users fixed..
Eli Zaretskii <eliz@gnu.org>
parents:
diff
changeset
|
63 Inline.class |= Formctrl.class |