You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2002/05/13 08:56:18 UTC

cvs commit: httpd-2.0/docs/manual/mod mpm_common.xml

jerenkrantz    02/05/12 23:56:18

  Modified:    docs/manual/mod mpm_common.xml
  Log:
  Fix typo
  
  (Someone with a good transform setup needs to run the transforms.)
  
  PR: 9003
  Submitted by:	abatko@cs.mcgill.ca
  Reviewed by:	Justin Erenkrantz
  
  Revision  Changes    Path
  1.7       +1 -1      httpd-2.0/docs/manual/mod/mpm_common.xml
  
  Index: mpm_common.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mpm_common.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mpm_common.xml	2 Apr 2002 02:38:31 -0000	1.6
  +++ mpm_common.xml	13 May 2002 06:56:18 -0000	1.7
  @@ -65,7 +65,7 @@
       fail to change to the specified group, and will instead
       continue to run as the group of the original user.</p>
   
  -    <p>Special note: Use of this directive in &lt;VirtualHost&lt; is
  +    <p>Special note: Use of this directive in &lt;VirtualHost&gt; is
       no longer supported. To implement the <a
       href="../suexec.html">suEXEC wrapper</a> with Apache 2.0, use the
       <directive module="mod_suexec">SuexecUserGroup</directive>
  
  
  

Re: cvs commit: httpd-2.0/docs/manual/mod mpm_common.xml

Posted by Joshua Slive <jo...@slive.ca>.
On 15 May 2002, Yoshiki Hayashi wrote:

> Disclaimer: I've only started reading XSLT spec recently and
> don't understand details yet.

Welcome to the club.

> I used Xalan-J and got the same changes.  However, looking
> at the XSTL spec, <br /> becoming <br> seems like the
> correct transformation for html output method.

I'm not sure about the xml vs html output issue.  But in my mind this is
not an issue of first-level importance.  It would be nice to use good
conforming xhtml, but this is far less important than getting a system
that works and keeping the docs up to date.

In other words, just commit the d**n transformations.  If some tweaking
needs to be done later, that's fine.  But don't leave out-of-date docs
because a tag doesn't match the spec.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: cvs commit: httpd-2.0/docs/manual/mod mpm_common.xml

Posted by Yoshiki Hayashi <yo...@xemacs.org>.
Disclaimer: I've only started reading XSLT spec recently and
don't understand details yet.

Justin Erenkrantz <je...@apache.org> writes:

> On Mon, May 13, 2002 at 11:59:11AM -0400, Cliff Woolley wrote:
> > Yeah, I tried fixing this PR myself yesterday, but when I ran the
> > transform, it made hundreds of changes to the mpm_common.html file, some
> > of which were no longer valid XHTML.  (Eg, <br /> became <br>)  I assume
> > it's something wrong with my setup (and presumably yours as well, since
> > you say "a good transform setup")?
> 
> Indeed.  I think either someone committed a bad transform or we
> don't have the right versions of the tools.  I think Joshua was
> talking about posting the "right" versions - because what I've
> got changes all files in the manner you've described.  -- justin

I used Xalan-J and got the same changes.  However, looking
at the XSTL spec, <br /> becoming <br> seems like the
correct transformation for html output method.

http://www.w3.org/TR/xslt#section-HTML-Output-Method

    The html output method should not output an end-tag for
    empty elements. For HTML 4.0, the empty elements are area,
    base, basefont, br, col, frame, hr, img, input, isindex,
    link, meta and param. For example, an element written as
    <br/> or <br></br> in the stylesheet should be output as
    <br>.

So I suggest the following patch to change output method to
xml.  With this change, the generated files looks correct
XHTML to me.

The reason I didn't commit this is that I'm not familiar
enough with XSLT to know what other results this change
would give us.  Does this look OK to XSLT-literate people?

Index: manual/style/manual.xsl
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.xsl,v
retrieving revision 1.20
diff -u -r1.20 manual.xsl
--- manual/style/manual.xsl	9 May 2002 16:12:06 -0000	1.20
+++ manual/style/manual.xsl	15 May 2002 03:36:36 -0000
@@ -12,7 +12,7 @@
   <!-- Include constants, variables, and macros -->
   <xsl:import href="settings.xsl" />
 
-  <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
+  <xsl:output method="xml" encoding="iso-8859-1" indent="no"/>
 
   <!--                              -->
   <!-- Builds the moduleindex page  -->


-- 
Yoshiki Hayashi

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: cvs commit: httpd-2.0/docs/manual/mod mpm_common.xml

Posted by Justin Erenkrantz <je...@apache.org>.
On Mon, May 13, 2002 at 11:59:11AM -0400, Cliff Woolley wrote:
> Yeah, I tried fixing this PR myself yesterday, but when I ran the
> transform, it made hundreds of changes to the mpm_common.html file, some
> of which were no longer valid XHTML.  (Eg, <br /> became <br>)  I assume
> it's something wrong with my setup (and presumably yours as well, since
> you say "a good transform setup")?

Indeed.  I think either someone committed a bad transform or we
don't have the right versions of the tools.  I think Joshua was
talking about posting the "right" versions - because what I've
got changes all files in the manner you've described.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: cvs commit: httpd-2.0/docs/manual/mod mpm_common.xml

Posted by Cliff Woolley <jw...@virginia.edu>.
On 13 May 2002 jerenkrantz@apache.org wrote:

> jerenkrantz    02/05/12 23:56:18
>
>   Modified:    docs/manual/mod mpm_common.xml
>   Log:
>   Fix typo
>
>   (Someone with a good transform setup needs to run the transforms.)
>
>   PR: 9003

Yeah, I tried fixing this PR myself yesterday, but when I ran the
transform, it made hundreds of changes to the mpm_common.html file, some
of which were no longer valid XHTML.  (Eg, <br /> became <br>)  I assume
it's something wrong with my setup (and presumably yours as well, since
you say "a good transform setup")?

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org