Skip to content

Commit

Permalink
Add XHTML modularization 1.1, remove entities in it from XHTML 1.0 ca…
Browse files Browse the repository at this point in the history
…talog/dir.
  • Loading branch information
ville committed Oct 25, 2009
1 parent d1431fc commit fa78ea2
Show file tree
Hide file tree
Showing 52 changed files with 5,460 additions and 519 deletions.
5 changes: 5 additions & 0 deletions htdocs/sgml-lib/REC-xhtml-modularization-20081008/README.txt
@@ -0,0 +1,5 @@
This directory contains DTD module and entity files from the
REC-xhtml-modularization-20081008 tarball, plus xhtml-ruby-1.mod
retrieved 2009-10-25 from http://www.w3.org/MarkUp/DTD/xhtml-ruby-1.mod;
it is referred to in REC-xhtml-modularization-20081008's xhtml.cat but not
included in the tarball.
@@ -0,0 +1,57 @@
<!-- ...................................................................... -->
<!-- XHTML Java Applet Module ............................................ -->
<!-- file: xhtml-applet-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
Revision: $Id: xhtml-applet-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Java Applets 1.0//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-applet-1.mod"
Revisions:
#2001-02-20: added PCDATA to content model of applet
....................................................................... -->

<!-- Java Applets
applet
This module declares the applet element type and its attributes,
used to provide support for Java applets. The 'alt' attribute is
now required (as it is on images). One of either code or object
attributes must be present. In the document, place param elements
before other content within the <applet> element.
Note that use of this module requires instantiation of the Param
Element Module.
-->

<!-- applet: Java Applet ............................... -->

<!ENTITY % applet.element "INCLUDE" >
<![%applet.element;[
<!ENTITY % applet.content
"( #PCDATA | %param.qname; | %Flow.mix; )*"
>
<!ENTITY % applet.qname "applet" >
<!ELEMENT %applet.qname; %applet.content; >
<!-- end of applet.element -->]]>

<!ENTITY % applet.attlist "INCLUDE" >
<![%applet.attlist;[
<!ATTLIST %applet.qname;
%Core.attrib;
alt %Text.datatype; #REQUIRED
archive CDATA #IMPLIED
code CDATA #IMPLIED
codebase %URI.datatype; #IMPLIED
object CDATA #IMPLIED
width %Length.datatype; #REQUIRED
height %Length.datatype; #REQUIRED
>
<!-- end of applet.attlist -->]]>

<!-- end of xhtml-applet-1.mod -->
51 changes: 51 additions & 0 deletions htdocs/sgml-lib/REC-xhtml-modularization-20081008/xhtml-arch-1.mod
@@ -0,0 +1,51 @@
<!-- ...................................................................... -->
<!-- XHTML Base Architecture Module ...................................... -->
<!-- file: xhtml-arch-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
Revision: $Id: xhtml-arch-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Base Architecture 1.0//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-arch-1.mod"
Revisions:
(none)
....................................................................... -->

<!-- This optional module includes declarations that enable XHTML to be used
as a base architecture according to the 'Architectural Forms Definition
Requirements' (Annex A.3, ISO/IEC 10744, 2nd edition). For more information
on use of architectural forms, see the HyTime web site at:
http://www.hytime.org/
-->

<?IS10744 ArcBase xhtml ?>

<!NOTATION xhtml PUBLIC "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN" >

<!-- Entity declaration for associated Architectural DTD
-->
<!ENTITY xhtml-arch.dtd
PUBLIC "-//W3C//DTD XHTML Architecture 1.1//EN"
"xhtml11-arch.dtd" >

<?IS10744:arch xhtml
public-id = "-//W3C//NOTATION AFDR ARCBASE XHTML 1.1//EN"
dtd-public-id = "-//W3C//DTD XHTML 1.1//EN"
dtd-system-id = "xhtml11.dtd"
doc-elem-form = "html"
form-att = "html"
renamer-att = "htnames"
suppressor-att = "htsupp"
data-ignore-att = "htign"
auto = "ArcAuto"
options = "HtModReq HtModOpt"
HtModReq = "Framework Text Hypertext Lists Structure"
HtModOpt = "Standard"
?>

<!-- end of xhtml-arch-1.mod -->
142 changes: 142 additions & 0 deletions htdocs/sgml-lib/REC-xhtml-modularization-20081008/xhtml-attribs-1.mod
@@ -0,0 +1,142 @@
<!-- ...................................................................... -->
<!-- XHTML Common Attributes Module ...................................... -->
<!-- file: xhtml-attribs-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
Revision: $Id: xhtml-attribs-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ENTITIES XHTML Common Attributes 1.0//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-attribs-1.mod"
Revisions:
(none)
....................................................................... -->

<!-- Common Attributes
This module declares many of the common attributes for the XHTML DTD.
%NS.decl.attrib; is declared in the XHTML Qname module.
Note that this file was extended in XHTML Modularization 1.1 to
include declarations of "global" versions of the attribute collections.
The global versions of the attributes are for use on elements in other
namespaces. The global version of "common" includes the xmlns declaration
for the prefixed version of the xhtml namespace. If you are only using a
specific attribute or an individual attribute collection, you must also
include the XHTML.xmlns.attrib.prefixed PE on your elements.
-->

<!ENTITY % id.attrib
"id ID #IMPLIED"
>

<![%XHTML.global.attrs.prefixed;[
<!ENTITY % XHTML.global.id.attrib
"%XHTML.prefix;:id ID #IMPLIED"
>
]]>

<!ENTITY % class.attrib
"class NMTOKENS #IMPLIED"
>

<![%XHTML.global.attrs.prefixed;[
<!ENTITY % XHTML.global.class.attrib
"%XHTML.prefix;:class NMTOKENS #IMPLIED"
>
]]>

<!ENTITY % title.attrib
"title %Text.datatype; #IMPLIED"
>

<![%XHTML.global.attrs.prefixed;[
<!ENTITY % XHTML.global.title.attrib
"%XHTML.prefix;:title %Text.datatype; #IMPLIED"
>
]]>

<!ENTITY % Core.extra.attrib "" >

<!ENTITY % Core.attrib
"%XHTML.xmlns.attrib;
%id.attrib;
%class.attrib;
%title.attrib;
xml:space ( preserve ) #FIXED 'preserve'
%Core.extra.attrib;"
>

<!ENTITY % XHTML.global.core.extra.attrib "" >

<![%XHTML.global.attrs.prefixed;[

<!ENTITY % XHTML.global.core.attrib
"%XHTML.global.id.attrib;
%XHTML.global.class.attrib;
%XHTML.global.title.attrib;
%XHTML.global.core.extra.attrib;"
>
]]>

<!ENTITY % XHTML.global.core.attrib "" >


<!ENTITY % lang.attrib
"xml:lang %LanguageCode.datatype; #IMPLIED"
>

<![%XHTML.bidi;[
<!ENTITY % dir.attrib
"dir ( ltr | rtl ) #IMPLIED"
>

<!ENTITY % I18n.attrib
"%dir.attrib;
%lang.attrib;"
>

<![%XHTML.global.attrs.prefixed;[
<!ENTITY XHTML.global.i18n.attrib
"%XHTML.prefix;:dir ( ltr | rtl ) #IMPLIED
%lang.attrib;"
>
]]>
<!ENTITY XHTML.global.i18n.attrib "" >

]]>
<!ENTITY % I18n.attrib
"%lang.attrib;"
>
<!ENTITY % XHTML.global.i18n.attrib
"%lang.attrib;"
>

<!ENTITY % Common.extra.attrib "" >
<!ENTITY % XHTML.global.common.extra.attrib "" >

<!-- intrinsic event attributes declared previously
-->
<!ENTITY % Events.attrib "" >

<!ENTITY % XHTML.global.events.attrib "" >

<!ENTITY % Common.attrib
"%Core.attrib;
%I18n.attrib;
%Events.attrib;
%Common.extra.attrib;"
>

<!ENTITY % XHTML.global.common.attrib
"%XHTML.xmlns.attrib.prefixed;
%XHTML.global.core.attrib;
%XHTML.global.i18n.attrib;
%XHTML.global.events.attrib;
%XHTML.global.common.extra.attrib;"
>

<!-- end of xhtml-attribs-1.mod -->
53 changes: 53 additions & 0 deletions htdocs/sgml-lib/REC-xhtml-modularization-20081008/xhtml-base-1.mod
@@ -0,0 +1,53 @@
<!-- ...................................................................... -->
<!-- XHTML Base Element Module ........................................... -->
<!-- file: xhtml-base-1.mod
This is XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
Revision: $Id: xhtml-base-1.mod,v 4.0 2001/04/02 22:42:49 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod"
Revisions:
(none)
....................................................................... -->

<!-- Base element
base
This module declares the base element type and its attributes,
used to define a base URI against which relative URIs in the
document will be resolved.
Note that this module also redeclares the content model for
the head element to include the base element.
-->

<!-- base: Document Base URI ........................... -->

<!ENTITY % base.element "INCLUDE" >
<![%base.element;[
<!ENTITY % base.content "EMPTY" >
<!ENTITY % base.qname "base" >
<!ELEMENT %base.qname; %base.content; >
<!-- end of base.element -->]]>

<!ENTITY % base.attlist "INCLUDE" >
<![%base.attlist;[
<!ATTLIST %base.qname;
%XHTML.xmlns.attrib;
href %URI.datatype; #REQUIRED
>
<!-- end of base.attlist -->]]>

<!ENTITY % head.content
"( %HeadOpts.mix;,
( ( %title.qname;, %HeadOpts.mix;, ( %base.qname;, %HeadOpts.mix; )? )
| ( %base.qname;, %HeadOpts.mix;, ( %title.qname;, %HeadOpts.mix; ))))"
>

<!-- end of xhtml-base-1.mod -->

0 comments on commit fa78ea2

Please sign in to comment.