validator/htdocs/config validator.conf,1.20,1.21 type.cfg,1.6,NONE

Update of /sources/public/validator/htdocs/config
In directory hutz:/tmp/cvs-serv3462/htdocs/config

Modified Files:
	validator.conf 
Removed Files:
	type.cfg 
Log Message:
Implement more sophisticated parsemode determination, and admit to setting
parse mode and not the document's "type". Inline MIME mapping into v.conf.


--- type.cfg DELETED ---

Index: validator.conf
===================================================================
RCS file: /sources/public/validator/htdocs/config/validator.conf,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- validator.conf	19 Nov 2004 07:07:19 -0000	1.20
+++ validator.conf	4 Feb 2005 18:40:59 -0000	1.21
@@ -99,13 +99,21 @@
 </Charsets>
 
 #
-# Compatibility shim. @@FIXME: Delete this and fix the borkage!;
-<File_Type>
-  Include type.cfg
-</Types>
+# Map MIME Media Type to Parse Mode mapping.
+<MIME>
+  text/xml              = XML
+  image/svg             = XML
+  image/svg+xml         = XML
+  application/smil      = XML
+  application/xml       = XML
+  text/html             = TBD
+  text/vnd.wap.wml      = XML
+  application/xhtml+xml = XML
+</MIME>
 
 #
 # Source for the "Tip of The Day" blurbs.
 <Tips>
   Include tips.cfg
 </Tips>
+

Received on Friday, 4 February 2005 18:41:01 UTC