You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David kerber <dc...@verizon.net> on 2012/03/09 19:38:19 UTC

Re: Documentation Question

On 2/22/2012 3:50 PM, Jim Showalter wrote:
> Hmm.  Am I to understand this is fixed now?  I tried it and it still seems
> to have problems.  However, the other versions (<  7.0) seem to be working
> much better (I thought they too had problems when I tried in the past).
> Also, I appreciate everyone jumping in quickly to fix this.
>
> Jim
>
> -----Original Message-----
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
> Sent: Wednesday, February 22, 2012 10:44 AM
> To: Tomcat Users List
> Subject: Re: Documentation Question
>
>>>>> The worst offender (in my opinion) is
>>>>> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html.
>>>
>>> By the way, for the page in question, my HTML-checker lists 147
>>> errors (not warnings), the few first of which being :
>>>
>>> line 59 column 5 - Error: end tag for element "P" which is not open
>>> line 78 column 11 - Error: end tag for element "P" which is not open
>>> line 111 column 10 - Error: end tag for element "P" which is not open
>>> line 137 column 5 - Error: end tag for element "P" which is not open
>>> line 154 column 5 - Error: end tag for element "P" which is not open
>>
> Fixed.
>
>>>
>>> If VirtualWebappLoader is updated to trim each value in
>>> virtualClasspath, then that example could be wrapped into several
>>> lines.
>>
>> That seems like a very reasonable thing to do, as long as it's just
>> trimming-off leading and trailing whitespace.
>>
>> I noticed while I was reading those two examples that we have two
>> separate path separators in the same example: virtualClasspath uses
>> semi-colons (aka win32-style path separators) and extraResourcePaths
>> uses commas. Maybe we should try for some consistency :)
>>
>
> VirtualWebappLoader already trims the spaces, so I fixed the docs.
>
> extraResourcePaths does not trim, so it needs more work. I agree that
> ';' is better there.   My plan is to check if the path contains
> semicolon ';' and if it does then go with ";" as separator. Otherwise fall
> back to the current comma ",".

I am trying to follow the docs for setting up new machine, and I'm 
seeing some messed-up line wraps (not wrapping at the width of my 
browser window (in fact, it won't fit on my 1920x1200 monitor), in:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

This is in firefox 10.0.2, just installed yesterday on Windows 7 pro 
x64.  So the issue still exists.

Dave



>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Documentation Question

Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/3/9 Christopher Schultz <ch...@christopherschultz.net>:
> On 3/9/12 1:38 PM, David kerber wrote:
>> I am trying to follow the docs for setting up new machine, and I'm
>> seeing some messed-up line wraps (not wrapping at the width of my
>> browser window (in fact, it won't fit on my 1920x1200 monitor),
>> in:
>>
>> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
>>
>> This is in firefox 10.0.2, just installed yesterday on Windows 7
>> pro x64.  So the issue still exists.
>
> The only thing that Konstantin fixed was the non-well-formed XHTML
> document. You still have to scroll horizontally to see some of those
> examples.
>
> I'm looking for a CSS-only way to do line-wrapping while also
> indicating that the lines have been wrapped.

1. I also wrapped data in examples where component allows spaces in
its configuration
and lessened indent where it does not jet allow them.

2. The published documentation is updated only with a new Tomcat release.
You have to look at the one published by "nightly build" to see the
changes. See links on the "Buildbot" page.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Documentation Question

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

On 3/9/12 1:38 PM, David kerber wrote:
> I am trying to follow the docs for setting up new machine, and I'm 
> seeing some messed-up line wraps (not wrapping at the width of my 
> browser window (in fact, it won't fit on my 1920x1200 monitor),
> in:
> 
> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
> 
> This is in firefox 10.0.2, just installed yesterday on Windows 7
> pro x64.  So the issue still exists.

The only thing that Konstantin fixed was the non-well-formed XHTML
document. You still have to scroll horizontally to see some of those
examples.

I'm looking for a CSS-only way to do line-wrapping while also
indicating that the lines have been wrapped.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9aUuUACgkQ9CaO5/Lv0PDvHQCfU4twqcEnldiV9q3ExgRjIqOg
YXIAoKI/6R7VM/ngClpsrSYw9NmZCNYU
=jSCp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org