1 |
wakaba |
1.1 |
<!-- ...................................................................... --> |
2 |
|
|
<!-- Web Forms 2.0 Call For Comments - 27 June 2004 |
3 |
|
|
QName (Qualified Name) Module ................................ --> |
4 |
|
|
<!-- file: webforms20-qname.mod |
5 |
|
|
|
6 |
|
|
Web Forms 2.0, the next generation HTML form model. |
7 |
|
|
|
8 |
|
|
Copyright 2005 Wakaba <w@suika.fam.cx>, All Rights Reserved. |
9 |
|
|
|
10 |
|
|
Permission to use, copy, modify and distribute this DTD and its |
11 |
|
|
accompanying documentation for any purpose and without fee is hereby |
12 |
|
|
granted in perpetuity, provided that the above copyright notice and |
13 |
|
|
this paragraph appear in all copies. The copyright holders make no |
14 |
|
|
representation about the suitability of the DTD for any purpose. |
15 |
|
|
|
16 |
|
|
It is provided "as is" without expressed or implied warranty. |
17 |
|
|
|
18 |
|
|
Revision: 2005-04-05T01:46:48+00:00 (Generated by mkdtds/1.06) |
19 |
|
|
|
20 |
|
|
This DTD module is identified by the SYSTEM identifier: |
21 |
|
|
|
22 |
|
|
SYSTEM "webforms20-qname.mod" |
23 |
|
|
|
24 |
|
|
...................................................................... --> |
25 |
|
|
|
26 |
|
|
<!-- Web Forms QName (Qualified Name) Module |
27 |
|
|
|
28 |
|
|
This module is contained in two parts, labeled Section 'A' and 'B': |
29 |
|
|
|
30 |
|
|
Section A declares parameter entities to support namespace-qualified |
31 |
|
|
names, namespace declarations, and name prefixing. |
32 |
|
|
|
33 |
|
|
Section B declares parameter entities used to provide namespace-qualified |
34 |
|
|
names for all element types and global attribute names. |
35 |
|
|
--> |
36 |
|
|
|
37 |
|
|
<!ENTITY % sgml.tag.minimizable "IGNORE"> |
38 |
|
|
|
39 |
|
|
<!ENTITY % NS.prefixed "IGNORE"> |
40 |
|
|
|
41 |
|
|
<!-- Section A: XML Namespace Framework :::::::::::::::::::::::::: --> |
42 |
|
|
|
43 |
|
|
<!-- 1. Declare a %webforms20.prefixed; conditional section keyword, used |
44 |
|
|
to activate namespace prefixing. --> |
45 |
|
|
<!ENTITY % webforms20.prefixed "%NS.prefixed;"> |
46 |
|
|
|
47 |
|
|
<!ENTITY % webforms20.global.attrs.prefixed "%NS.prefixed;"> |
48 |
|
|
|
49 |
|
|
<!ENTITY % webforms20.xsi.attrs "INCLUDE"> |
50 |
|
|
|
51 |
|
|
<!-- 2. Declare a parameter entity %webforms20.xmlns; containing |
52 |
|
|
the URI reference used to identity the namespace. --> |
53 |
|
|
<!ENTITY % webforms20.xmlns "http://www.w3.org/1999/xhtml"> |
54 |
|
|
|
55 |
|
|
<!-- 3. Declare parameter entity %webforms20.prefix; containing |
56 |
|
|
the default namespace prefix string to use when prefixing |
57 |
|
|
is enabled. This may be overridden in the DTD driver or the |
58 |
|
|
internal subset of a document instance. |
59 |
|
|
|
60 |
|
|
NOTE: As specified in XML Namespace speficications, the namespace |
61 |
|
|
prefix serves as a proxy for the URI reference, and is not in itself |
62 |
|
|
significant. --> |
63 |
|
|
<!ENTITY % webforms20.prefix "html"> |
64 |
|
|
|
65 |
|
|
<!-- 4. Declare parameter entity %webforms20.pfx; containing the |
66 |
|
|
colonized prefix (e.g, '%webforms20.prefix;:') used when |
67 |
|
|
prefixing is active, an empty string when it is not. --> |
68 |
|
|
<![%webforms20.prefixed;[ |
69 |
|
|
<!ENTITY % webforms20.pfx "%webforms20.prefix;:"> |
70 |
|
|
]]> |
71 |
|
|
<!ENTITY % webforms20.pfx ""> |
72 |
|
|
|
73 |
|
|
<!-- declare qualified name extensions here ............ --> |
74 |
|
|
<!ENTITY % webforms20-qname-extra.mod ""> |
75 |
|
|
%webforms20-qname-extra.mod; |
76 |
|
|
|
77 |
|
|
<!-- 5. The parameter entity %webforms20.xmlns.extra.attrib; may be |
78 |
|
|
redeclared to contain any foreign namespace declaration |
79 |
|
|
attributes for namespaces embedded. The default |
80 |
|
|
is an empty string. --> |
81 |
|
|
<!ENTITY % webforms20.xmlns.extra.attrib ""> |
82 |
|
|
|
83 |
|
|
<!-- The parameter entity %URI.datatype; should already be defined in |
84 |
|
|
Datatype module. --> |
85 |
|
|
<!ENTITY % URI.datatype "CDATA"> |
86 |
|
|
|
87 |
|
|
<![%webforms20.prefixed;[ |
88 |
|
|
<!ENTITY % webforms20.xmlns.decl.attrib |
89 |
|
|
"xmlns:%webforms20.prefix; %URI.datatype; #FIXED '%webforms20.xmlns;'"> |
90 |
|
|
]]> |
91 |
|
|
<!ENTITY % webforms20.xmlns.decl.attrib |
92 |
|
|
"xmlns %URI.datatype; #FIXED '%webforms20.xmlns;'"> |
93 |
|
|
|
94 |
|
|
<!-- Declare a parameter entity %XSI.prefix as a prefix to use for |
95 |
|
|
XML Schema Instance attributes. --> |
96 |
|
|
<!ENTITY % XSI.prefix "xsi"> |
97 |
|
|
|
98 |
|
|
<!ENTITY % XSI.pfx "%XSI.prefix;:"> |
99 |
|
|
|
100 |
|
|
<!ENTITY % XSI.xmlns "http://www.w3.org/2001/XMLSchema-instance"> |
101 |
|
|
|
102 |
|
|
<!-- Declare a parameter entity %XSI.xmlns.attrib as support for |
103 |
|
|
the schemaLocation attribute. --> |
104 |
|
|
<!ENTITY % XSI.xmlns.attrib |
105 |
|
|
"xmlns:%XSI.prefix; %URI.datatype; #FIXED '%XSI.xmlns;'"> |
106 |
|
|
|
107 |
|
|
<![%webforms20.prefixed;[ |
108 |
|
|
<!ENTITY % NS.decl.attrib |
109 |
|
|
"%webforms20.xmlns.decl.attrib; |
110 |
|
|
%webforms20.xmlns.extra.attrib; |
111 |
|
|
%XSI.xmlns.attrib;"> |
112 |
|
|
]]> |
113 |
|
|
<!ENTITY % NS.decl.attrib |
114 |
|
|
"%webforms20.xmlns.extra.attrib; |
115 |
|
|
%XSI.xmlns.attrib;"> |
116 |
|
|
|
117 |
|
|
<!-- Declare a parameter entity containing all XML namespace declaration |
118 |
|
|
attributes used, including a default xmlns declaration when prefixing |
119 |
|
|
is inactive. --> |
120 |
|
|
<![%webforms20.prefixed;[ |
121 |
|
|
<!ENTITY % webforms20.xmlns.attrib |
122 |
|
|
"%NS.decl.attrib;"> |
123 |
|
|
]]> |
124 |
|
|
<!ENTITY % webforms20.xmlns.attrib |
125 |
|
|
"%webforms20.xmlns.decl.attrib; |
126 |
|
|
%NS.decl.attrib;"> |
127 |
|
|
|
128 |
|
|
<!-- Section B: Web Forms Qualified Names ::::::::::::::::::::::::: --> |
129 |
|
|
|
130 |
|
|
<!-- placeholder for qualified name redeclarations --> |
131 |
|
|
<!ENTITY % webforms20-qname.redecl ""> |
132 |
|
|
%webforms20-qname.redecl; |
133 |
|
|
|
134 |
|
|
<!-- 6. This section declare parameter entities used to provide |
135 |
|
|
namespace-qualified names for all element types and global |
136 |
|
|
attribute names. --> |
137 |
|
|
<!ENTITY % webforms20.button.qname "%webforms20.pfx;button"> |
138 |
|
|
<!ENTITY % webforms20.fieldset.qname "%webforms20.pfx;fieldset"> |
139 |
|
|
<!ENTITY % webforms20.form.qname "%webforms20.pfx;form"> |
140 |
|
|
<!ENTITY % webforms20.input.qname "%webforms20.pfx;input"> |
141 |
|
|
<!ENTITY % webforms20.label.qname "%webforms20.pfx;label"> |
142 |
|
|
<!ENTITY % webforms20.legend.qname "%webforms20.pfx;legend"> |
143 |
|
|
<!ENTITY % webforms20.optgroup.qname "%webforms20.pfx;optgroup"> |
144 |
|
|
<!ENTITY % webforms20.option.qname "%webforms20.pfx;option"> |
145 |
|
|
<!ENTITY % webforms20.output.qname "%webforms20.pfx;output"> |
146 |
|
|
<!ENTITY % webforms20.select.qname "%webforms20.pfx;select"> |
147 |
|
|
<!ENTITY % webforms20.textarea.qname "%webforms20.pfx;textarea"> |
148 |
|
|
|
149 |
|
|
<!ENTITY % webforms20.repeat.attrib.qname "%webforms20.prefix;:repeat"> |
150 |
|
|
<!ENTITY % webforms20.repeat-max.attrib.qname "%webforms20.prefix;:repeat-max"> |
151 |
|
|
<!ENTITY % webforms20.repeat-min.attrib.qname "%webforms20.prefix;:repeat-min"> |
152 |
|
|
<!ENTITY % webforms20.repeat-start.attrib.qname "%webforms20.prefix;:repeat-start"> |
153 |
|
|
|
154 |
|
|
|
155 |
|
|
<!-- end of webforms20-qname.mod --> |