<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>5682</bug_id>
          
          <creation_ts>2008-05-08 07:36:49 +0000</creation_ts>
          <short_desc>Instructions not clear for sgml-lib path configuration</short_desc>
          <delta_ts>2009-09-21 20:19:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Website</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/docs/install_win.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Akins">akinss</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>akinss</cc>
    
    <cc>david.tibbe</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20048</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Akins">akinss</who>
    <bug_when>2008-05-08 07:36:49 +0000</bug_when>
    <thetext>The instructions for installing and configuring the sgml-lib are not clear and are potentially incorrect.

Looking at the directory structure of the packages, the use of the Base variable and the instructions in http://validator.w3.org/docs/install.html, I think the following changes should be made to the instructions.

In the &apos;Configuration of the Validator&apos; section it describes this:

For the SGML Library, c:/www/sgml-lib is declared. Notice that slashes are used here instead of windows-like back slashes.

What it should be be doing is this:
Change #Base = /usr/local/validator
To Base = C:/www/validator


Unpacking the sgml-lib should just go under C:\www\validator the same as the validator as per http://validator.w3.org/docs/install.html#install-components

I can rewrite the page if you like and send it to someone for update, just let me know how.

Cheers,
Steve Akins</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20078</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-05-11 21:01:35 +0000</bug_when>
    <thetext>Have you looked at http://validator.w3.org/docs/install_win.html ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20079</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-05-11 21:11:50 +0000</bug_when>
    <thetext>oh, I see your feedback is about install_win.html and not install.html - I was confused by the main bug text, my apologies.


(In reply to comment #0)
&gt; I can rewrite the page if you like and send it to someone for update, just let
&gt; me know how.

That would be great. Can you create a diff from the latest CVS version, which you can find at:
http://dev.w3.org/cvsweb/validator/htdocs/docs/install_win.html
?

Thanks.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20081</commentid>
    <comment_count>3</comment_count>
    <who name="Steve Akins">akinss</who>
    <bug_when>2008-05-12 03:53:37 +0000</bug_when>
    <thetext>Hi Oliver,

Here&apos;s the patch for version 1.16.

It looks like the 1.15 version described something similar to what I&apos;m doing here.  For some reason it was changed in 1.16.  
 
I&apos;m sorry but I don&apos;t have a huge amount of time or resources to help a whole lot and I don&apos;t have CVS or a UNIX environment. I hope the output below from WinMerge is enough.

Cheers,
Steve

91,92c91
&lt;   &lt;code&gt;C:\www\pmm&lt;/code&gt;, the validator itself in &lt;code&gt;C:\www\validator&lt;/code&gt; and finally
&lt;   the DTD-Collection in &lt;code&gt;C:\www\sgml-lib&lt;/code&gt;&lt;/p&gt;
---
&gt;   &lt;code&gt;C:\www\pmm&lt;/code&gt;, the validator along with the DTD-Collection in &lt;code&gt;C:\www\validator&lt;/code&gt;&lt;/p&gt;
248a248,260
&gt; &lt;h3 id=&quot;install-components&quot;&gt;Install the various necessary components:&lt;/h3&gt;
&gt; 	&lt;p&gt;In a previous step you created a directory for the validator&apos;s installation called &lt;code&gt;C:\www\validator&lt;/code&gt;.
&gt; 	This directory will be referred to as &lt;code&gt;[validatorpath]&lt;/code&gt;
&gt; 	throughout this guide.&lt;/p&gt;
&gt; 	&lt;p&gt;Unpack the archives of the validator and DTD library into a
&gt; 	temporary directory, and copy the directories &lt;code&gt;htdocs&lt;/code&gt;, &lt;code&gt;httpd/cgi-bin&lt;/code&gt;,
&gt; 	and &lt;code&gt;share&lt;/code&gt; from &lt;code&gt;validator-&lt;em&gt;X.X.X&lt;/em&gt;&lt;/code&gt; into
&gt; 	&lt;code&gt;[validatorpath]&lt;/code&gt;.&lt;/p&gt;
&gt; 	&lt;p&gt;The &lt;code&gt;[validatorpath]&lt;/code&gt; directory should now have
&gt; 	subdirectories named &lt;code&gt;cgi-bin&lt;/code&gt;, &lt;code&gt;htdocs&lt;/code&gt;, and and
&gt; 	&lt;code&gt;share&lt;/code&gt;.&lt;/p&gt;
&gt; &lt;p&gt;Within &lt;code&gt;[validatorpath]\htdocs&lt;/code&gt; there should be an &lt;code&gt;sgml-lib&lt;/code&gt; directory containing all the directories and files  from the DTD archive.&lt;/p&gt;
&gt; 
253,257c265,266
&lt; &lt;p&gt;For the SGML &lt;code&gt;Library&lt;/code&gt;, &lt;code&gt;c:/www/sgml-lib&lt;/code&gt;
&lt;   is declared. Notice that slashes are used here instead of 
&lt;   windows-like back slashes.&lt;/p&gt;
&lt; 
&lt; &lt;p&gt;The option &lt;code&gt;Home Page&lt;/code&gt; has to be changed to the URL of 
---
&gt; Uncomment and set the Base Path variable to &lt;code&gt;C:/www/validator&lt;/code&gt;, notice that slashes are used here instead of windows-like
&gt; back slashes.&lt;p&gt;The option &lt;code&gt;Home Page&lt;/code&gt; has to be changed to the URL of 
288c297
&lt;   #Base = /usr/local/validator
---
&gt;   Base = C:/www/validator
300c309
&lt;     Library = C:/www/sgml-lib
---
&gt;     Library = $Base/htdocs/sgml-lib</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20376</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-06-04 20:13:57 +0000</bug_when>
    <thetext>Hi Steve,

(In reply to comment #3)
&gt; It looks like the 1.15 version described something similar to what I&apos;m doing
&gt; here.  For some reason it was changed in 1.16.  

There may have been a good reason behind that change, I am honestly not sure. I brought your comment, and you patch (thank you!) to the attention of David Tibbe, the contibutor in charge of the windows manual. Let&apos;s see if he can clarify for us.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21056</commentid>
    <comment_count>5</comment_count>
    <who name="David Tibbe">david.tibbe</who>
    <bug_when>2008-07-03 19:58:45 +0000</bug_when>
    <thetext>Steve got the validator from the CVS repository. The sgml-lib is
included there and it is located in BASE\htdocs\sgml-lib. So in his
case, the objection is correct.

But the installation guide tells to use the tar ball that does not include the sgml-lib. It must be downloaded separately. To have a nice directory
structure, I supposed to extract it to c:\www\sgml-lib, so the directory
is outside the BASE and must be set explicitly.

As the guide is for an installation using the tar ball I suggest to keep the current way. Olivier acknowledged that already via mail.

Regards,
  David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27425</commentid>
    <comment_count>6</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-09-21 20:19:33 +0000</bug_when>
    <thetext>Closing as worksforme per comment 5.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>