tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Documentation Question
Date Wed, 22 Feb 2012 15:43:40 GMT
>>>> 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 ",".

Best regards,
Konstantin Kolinko

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


Mime
View raw message