validator/htdocs/sgml-lib xml.dtd,NONE,1.1 sgml.dtd,1.2,1.3 sgml.soc,1.14,1.15 xml.soc,1.12,1.13

Update of /sources/public/validator/htdocs/sgml-lib
In directory hutz:/tmp/cvs-serv17005/htdocs/sgml-lib

Modified Files:
	sgml.dtd sgml.soc xml.soc 
Added Files:
	xml.dtd 
Log Message:
Adding instrumented fallback DTD for XML mode, and tweaking catalogs and
code accordingly.

WARNING: This change nukes "OVERRIDE NO" before the fallback in the catalog
which may break some edgecases horribly. Hopefully this will turn out to be
a more "correct" (or "less wrong", but...) solution, but it needs testing!



Index: sgml.soc
===================================================================
RCS file: /sources/public/validator/htdocs/sgml-lib/sgml.soc,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- sgml.soc	12 Oct 2004 18:18:02 -0000	1.14
+++ sgml.soc	4 Feb 2005 13:20:31 -0000	1.15
@@ -42,8 +42,6 @@
 PUBLIC "-//W3C//ENTITIES Symbolic//EN//HTML"	REC-html401-19991224/HTMLsymbol.ent
 
 
-        -- Do not prefer document type name over a SYSTEM Identifier. --
-OVERRIDE NO
-
 	-- Fallback for HTML documents if no FPI is given. --
 DOCTYPE html sgml.dtd
+

Index: xml.soc
===================================================================
RCS file: /sources/public/validator/htdocs/sgml-lib/xml.soc,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- xml.soc	24 Nov 2004 23:28:16 -0000	1.12
+++ xml.soc	4 Feb 2005 13:20:31 -0000	1.13
@@ -93,8 +93,6 @@
        "REC-smil20-20010807/SMIL-transition.mod"
 
 
--- Do not prefer document type name over a SYSTEM Identifier. --
-OVERRIDE NO
-
 -- Fallback if no FPI is given. --
-DOCTYPE html "REC-xhtml1-20020801/xhtml1-transitional.dtd"
+DOCTYPE html xml.dtd
+

Index: sgml.dtd
===================================================================
RCS file: /sources/public/validator/htdocs/sgml-lib/sgml.dtd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sgml.dtd	21 Jul 2004 18:37:35 -0000	1.2
+++ sgml.dtd	4 Feb 2005 13:20:31 -0000	1.3
@@ -27,7 +27,7 @@
     the DTDs.
 
 -->
-<!ENTITY % HTML.Version "-//W3C//DTD HTML Fallback//EN"
+<!ENTITY % HTML.Version "-//W3C//DTD SGML Fallback//EN"
   -- Typical usage:
 
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

--- NEW FILE: xml.dtd ---
<!--
   Extensible HTML version 1.0 Transitional DTD

   This is the same as HTML 4 Transitional except for
   changes due to the differences between XML and SGML.

   Namespace = http://www.w3.org/1999/xhtml

   For further information, see: http://www.w3.org/TR/xhtml1

   Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),
   All Rights Reserved. 

   This DTD module is identified by the PUBLIC and SYSTEM identifiers:

   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

   $Revision: 1.1 $
[...1167 lines suppressed...]
  width       %Length;       #IMPLIED
  height      %Length;       #IMPLIED
  >

<!ATTLIST td
  %attrs;
  abbr        %Text;         #IMPLIED
  axis        CDATA          #IMPLIED
  headers     IDREFS         #IMPLIED
  scope       %Scope;        #IMPLIED
  rowspan     %Number;       "1"
  colspan     %Number;       "1"
  %cellhalign;
  %cellvalign;
  nowrap      (nowrap)       #IMPLIED
  bgcolor     %Color;        #IMPLIED
  width       %Length;       #IMPLIED
  height      %Length;       #IMPLIED
  >

Received on Friday, 4 February 2005 13:20:34 UTC