-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
David, On 5/11/17 3:27 AM, David Kavanagh wrote: > Thanks for the quick reply. > > This is the code that i added to the web.xml file to activate trimSpaces: > > <init-param> <param-name>trimSpaces</param-name> > <param-value>true</param-value> </init-param> > > This is the HTML code: > > 1. Before > > class="mrf-article mrf-article--photo mrf-page mrf-noFillet > mrf-author mrf-m mrf-image "> > > > 1.After > > > class="mrf-article mrf-article--photo mrf-page mrf-noFillet > mrf-author mrf-mmrf-image"> So, removing the trailing space in the "class" attribute's value? > 2.Before > > class="mrf-article mrf-article--photo mrf-page mrf-noFillet > mrf-author mrf-video mrf-m mrf-image "> > > > 2.After > > > class="mrf-article mrf-article--photo mrf-page mrf-noFillet > mrf-author mrf-mmrf-image"> This is the same thing, right? > 3.Before > > <li id="mrf-messenger" class="mrf-shareOption mrf-brandBkg > mrf-messenger mrf-hidden"> > > > 3.After > > <li id="mrf-messenger" class="mrf-shareOption mrf-brandBkg > mrf-messengermrf-hidden"> And here as well? > There are many more incidents of the same thing happening. Are you using .jsp or .jspx? If .jspx, then you are subject to the XML spec's rules for normalizing element attribute values[1]. Specifically, this part: " [T]he XML processor MUST further process the normalized attribute value by discarding any leading and trailing space (#x20) characters[.] " - -chris [1] https://www.w3.org/TR/REC-xml/#AVNormalize -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlkUZewACgkQHPApP6U8 pFgaUw/9HQYmHdTsQvt9UppCrRbp+2MAJ0CbyC9VdEvtjscMJ7e0McZCKEeBVRsv XBIAjO4DH+fbQhSXojBwOdV6uaNCqBbUCrvnx6INcDTCSa0LG81DgZvjSa7gsY/b Nv4OHPfFqVX38UPj6hsR+/PH8ZZ4rI7CUMRwrR3Dy8k//qdUWXY+TrOaTVx/OaIN tqD5sKQUjT+TapyF0iSfI/dpP1RSfz6pJvVIQQAl42+UkzHunti0pcEWqwsj6+vM Ubq9vA+9PUN6dOtPRM4WpBNYWgpNfRLLWvF0zgmy1aNBUJewZc4EVL69yWk67PKj UymWV/oEhPPnHq2xpPG852D21su28aSZ3IRUlIYWioAzCZ8KZAZrSwEezIJ+3bzm XNNQD45HO7QDRhD+msKTaR8FXuEnrRvXZ/wpro+mb0nNa9rBPswKPEPqh12WL/nH CzGEwi4tyikz8sH5M/huMpw9kbn9+wNsMKbqNKOQQgBPA0/RwHFi7M5J+BLYqpwx HlpdRpFy+HOdnDT7qhdm4q27iRszbf78+O2nTKVXFAv37BO08tSh+KG3rrkZecyL QEIFNBEnQYt+S+7PmL0QClGSnYU9Thli+YAeydvnkcGCfLJdXT4LcVszTucTyaB/ YgZ/h3ubiWqukWL1H+4xmzNFwlaHVR86XA59kYf6B3xiAkQyblI= =tWgw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org