]> code.delx.au - gnu-emacs-elpa/blob - packages/html5-schema/form-datatypes.rnc
Add 'packages/html5-schema/' from commit '6e7c7c331e7f6692be6c7d39fb9485792f0d3513'
[gnu-emacs-elpa] / packages / html5-schema / form-datatypes.rnc
1 datatypes w = "http://whattf.org/datatype-draft"
2
3 # #####################################################################
4 ## RELAX NG Schema for HTML 5: Datatypes related to forms #
5 # #####################################################################
6
7 ## MIME types
8
9 form.data.mimetypelist =
10 w:mime-type-list
11
12 form.data.charsetlist =
13 string # FIXME should be a "a space- and/or comma-delimited
14 # list of charset values"
15
16 ## ECMAScript Regular Expression
17
18 form.data.pattern =
19 w:pattern
20
21 ## Temporal
22
23 form.data.datetime-local =
24 w:datetime-local
25
26 form.data.date =
27 w:date
28
29 form.data.month =
30 w:month
31
32 form.data.week =
33 w:week
34
35 form.data.time =
36 w:time
37
38 ## Email
39
40 form.data.emailaddress =
41 w:email-address
42
43 form.data.emailaddresslist =
44 w:email-address-list
45
46 ## Color
47
48 form.data.color =
49 w:simple-color
50 # xsd:string {
51 # pattern = "#[a-fA-F0-9]{6}"
52 # }
53
54 ## Text without line breaks
55
56 form.data.stringwithoutlinebreaks =
57 w:string-without-line-breaks
58
59 ## Non-empty string
60
61 form.data.nonemptystring =
62 w:non-empty-string
63