1 |
wakaba |
1.1 |
<!-- ...................................................................... --> |
2 |
|
|
<!-- Hypertext Markup Language Non-Standard Elements and Attributes |
3 |
|
|
QName (Qualified Name) Module ................................ --> |
4 |
|
|
<!-- file: html-non-standard-qname.mod |
5 |
|
|
|
6 |
|
|
|
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:49+00:00 (Generated by mkdtds/1.06) |
19 |
|
|
|
20 |
|
|
This DTD module is identified by the SYSTEM identifier: |
21 |
|
|
|
22 |
|
|
SYSTEM "http://suika.fam.cx/gate/cvs/*checkout*/markup/html/dtd/html-non-standard-qname.mod" |
23 |
|
|
|
24 |
|
|
...................................................................... --> |
25 |
|
|
|
26 |
|
|
<!-- Hypertext Markup Language 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 %html-non-standard.prefixed; conditional section keyword, used |
44 |
|
|
to activate namespace prefixing. --> |
45 |
|
|
<!ENTITY % html-non-standard.prefixed "%NS.prefixed;"> |
46 |
|
|
|
47 |
|
|
<!ENTITY % html-non-standard.global.attrs.prefixed "%NS.prefixed;"> |
48 |
|
|
|
49 |
|
|
<!ENTITY % html-non-standard.xsi.attrs "INCLUDE"> |
50 |
|
|
|
51 |
|
|
<!-- 2. Declare a parameter entity %html-non-standard.xmlns; containing |
52 |
|
|
the URI reference used to identity the namespace. --> |
53 |
|
|
<!ENTITY % html-non-standard.xmlns "http://suika.fam.cx/~wakaba/-temp/2003/10/22/html"> |
54 |
|
|
|
55 |
|
|
<!-- 3. Declare parameter entity %html-non-standard.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 % html-non-standard.prefix "H"> |
64 |
|
|
|
65 |
|
|
<!-- 4. Declare parameter entity %html-non-standard.pfx; containing the |
66 |
|
|
colonized prefix (e.g, '%html-non-standard.prefix;:') used when |
67 |
|
|
prefixing is active, an empty string when it is not. --> |
68 |
|
|
<![%html-non-standard.prefixed;[ |
69 |
|
|
<!ENTITY % html-non-standard.pfx "%html-non-standard.prefix;:"> |
70 |
|
|
]]> |
71 |
|
|
<!ENTITY % html-non-standard.pfx ""> |
72 |
|
|
|
73 |
|
|
<!-- declare qualified name extensions here ............ --> |
74 |
|
|
<!ENTITY % html-non-standard-qname-extra.mod ""> |
75 |
|
|
%html-non-standard-qname-extra.mod; |
76 |
|
|
|
77 |
|
|
<!-- 5. The parameter entity %html-non-standard.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 % html-non-standard.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 |
|
|
<![%html-non-standard.prefixed;[ |
88 |
|
|
<!ENTITY % html-non-standard.xmlns.decl.attrib |
89 |
|
|
"xmlns:%html-non-standard.prefix; %URI.datatype; #FIXED '%html-non-standard.xmlns;'"> |
90 |
|
|
]]> |
91 |
|
|
<!ENTITY % html-non-standard.xmlns.decl.attrib |
92 |
|
|
"xmlns %URI.datatype; #FIXED '%html-non-standard.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 |
|
|
<![%html-non-standard.prefixed;[ |
108 |
|
|
<!ENTITY % NS.decl.attrib |
109 |
|
|
"%html-non-standard.xmlns.decl.attrib; |
110 |
|
|
%html-non-standard.xmlns.extra.attrib; |
111 |
|
|
%XSI.xmlns.attrib;"> |
112 |
|
|
]]> |
113 |
|
|
<!ENTITY % NS.decl.attrib |
114 |
|
|
"%html-non-standard.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 |
|
|
<![%html-non-standard.prefixed;[ |
121 |
|
|
<!ENTITY % html-non-standard.xmlns.attrib |
122 |
|
|
"%NS.decl.attrib;"> |
123 |
|
|
]]> |
124 |
|
|
<!ENTITY % html-non-standard.xmlns.attrib |
125 |
|
|
"%html-non-standard.xmlns.decl.attrib; |
126 |
|
|
%NS.decl.attrib;"> |
127 |
|
|
|
128 |
|
|
<!-- Section B: Hypertext Markup Language Qualified Names ::::::::: --> |
129 |
|
|
|
130 |
|
|
<!-- placeholder for qualified name redeclarations --> |
131 |
|
|
<!ENTITY % html-non-standard-qname.redecl ""> |
132 |
|
|
%html-non-standard-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 % html-non-standard.bgsound.qname "%html-non-standard.pfx;bgsound"> |
138 |
|
|
<!ENTITY % html-non-standard.blink.qname "%html-non-standard.pfx;blink"> |
139 |
|
|
<!ENTITY % html-non-standard.plaintext.qname "%html-non-standard.pfx;plaintext"> |
140 |
|
|
|
141 |
|
|
|
142 |
|
|
<!ENTITY % html-non-standard.copyright.attribute.qname "%html-non-standard.pfx;copyright"> |
143 |
|
|
<!ENTITY % html-non-standard.emptyok.attribute.qname "%html-non-standard.pfx;emptyok"> |
144 |
|
|
<!ENTITY % html-non-standard.format.attribute.qname "%html-non-standard.pfx;format"> |
145 |
|
|
<!ENTITY % html-non-standard.istyle.attribute.qname "%html-non-standard.pfx;istyle"> |
146 |
|
|
<!ENTITY % html-non-standard.localsrc.attribute.qname "%html-non-standard.pfx;localsrc"> |
147 |
|
|
|
148 |
|
|
<!-- end of html-non-standard-qname.mod --> |