validator/htdocs fragment-upload.html,1.9,1.10 index.html,1.67,1.68

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

Modified Files:
	fragment-upload.html index.html 
Log Message:

By "popular demand", bringing back the "fragment-upload" interface, 
renamed Direct Input (same as in CSS validator, and added similar 
controls and navigation as the current CSS val).




Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/index.html,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- index.html	16 Feb 2005 23:29:15 -0000	1.67
+++ index.html	14 Apr 2005 06:41:57 -0000	1.68
@@ -15,7 +15,15 @@
 
     <div>
       <h2>Validate Your Markup</h2>
-      <fieldset class="front"><legend>Validate by URL</legend>
+      
+            <p class="navigate">
+        Validate your documents: 
+	<a href="#validate-by-uri">by URI</a> |
+        <a href="#validate-by-upload">by File Upload</a> |
+        <a href="#validate-by-input">by direct Input</a>
+      </p>
+      
+      <fieldset class="front" id="validate-by-uri"><legend>Validate by URL</legend>
       <form method="get" action="check">
         <p>
           <label title="Address of page to Validate" for="uri">Address:
@@ -31,7 +39,7 @@
       </p>
       </fieldset>
 	<br />
-      <fieldset class="front"><legend>Validate by File Upload</legend>
+      <fieldset class="front" id="validate-by-upload"><legend>Validate by File Upload</legend>
       <form method="post" enctype="multipart/form-data" action="check">
         <p>
           <label title="Choose a Local File to Upload and Validate" for="uploaded_file">Local File:
@@ -50,6 +58,22 @@
       <a href="http://www.w3.org/QA/2005/01/Validator-IE_WinXP_SP2">information page</a> 
       on the W3C QA Website.</p>
       </fieldset>
+    <br />
+    <fieldset class="front" id="validate-by-input"><legend>Validate by Direct Input</legend>
+    <form method="post" enctype="multipart/form-data" action="check">
+    <p>Input the markup you would like to validate in the text area below:</p>
+    <p>
+      <label title="Paste a complete (HTML) Document here" for="fragment">
+      <textarea cols="75" rows="12" name="fragment"></textarea></label><br />
+      <label title="Submit markup for validation"><input type="submit" value="Check" /></label>
+    </p>
+    </form>
+    <p>Only complete documents (along with a 
+    <a href="docs/help.html#faq-doctype">Doctype declaration</a>) will be validated.
+    Advanced options are available from the 
+    <a href="fragment-upload.html">Extended Direct Input Interface</a>.</p>
+    </fieldset>
+
     </div>
 
     <div id="recent">

Index: fragment-upload.html
===================================================================
RCS file: /sources/public/validator/htdocs/fragment-upload.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- fragment-upload.html	21 Jul 2004 15:06:55 -0000	1.9
+++ fragment-upload.html	14 Apr 2005 06:41:57 -0000	1.10
@@ -1,21 +1,15 @@
 <!--#set var="revision" value="\$Id$"
 --><!--#set var="date" value="\$Date$"
---><!--#set var="title" value="W3C Markup Validation Service: Validate Fragment"
+--><!--#set var="title" value="W3C Markup Validation Service: Validate by Direct Input"
 --><!--#set var="relroot" value="./"
 --><!--#include virtual="header.html" -->
 
   <p id="skip">
-    This form allows you paste fragments of HTML and have them validated.
-  </p>
-
-  <p class="warning">
-    <strong>WARNING: This feature is highly experimental and has known
-      limitations (it only supports HTML, for one thing!). Do <em>not</em>
-      rely on it for 100% correctness! You have been warned!</strong>
+    This form allows you paste <em>complete</em> HTML documents and have them validated.
   </p>
 
   <div>
-    <h2>Validate HTML Fragment</h2>
+    <h2>Validate by Direct Input</h2>
 
     <form method="post" enctype="multipart/form-data" action="check">
 

Received on Thursday, 14 April 2005 06:42:01 UTC