[ic] Interchange and XHTML

Ed LaFrance edl at newmediaems.com
Thu Nov 27 08:41:34 EST 2003

At 06:44 AM 11/27/2003 -0800, you wrote:
>IC 4.9.7-200305270658
>I've been converting a site over to XHTML compliant code and while
>trying to get it <a href="http://validator.w3.org/"Validated</a> at W3C
>I found that interchange is inserting UPPERCASE html elements which are
>not compliant with the XHTML specification.  Therefore, when trying to
>validate a page generated by Interchange, it fails.
>I did a grep on the lib/Vend & /code/USerTag directories and see that a
>lot of the modules are still outputting UPPERCASE html elements.  I did
>a search and replace for TABLE/TD/TR/FORM etc... and it fixed most of
>the problems.
>Tags such as <BR> had to be replaced with their XHTML counterpart <br />
>and <HR> as <hr />. The <INPUT> and <IMG> tags needed to have a trailing
>/> added.
>After getting an ic generated paged to almost validate, the only line
>that shows an error is the code generated by the [more][/more] tags.
>The error code explanation given by the W3C validator is as follows...
>"unknown entity 'FOO'"
>The validator has found an entity (something like &this;) that it
>doesn't recognize. There are a few possibilities:
>A reference to a URI that uses & as a separator between parameters, such
>as "http://example.org/prog?x=1&y=2".
>To solve this problem, simply replace all the &'s in attribute values
>with &amp; (user agents will convert them back before following the
><a href="http://validator.w3.org/docs/errors.html#bad-entity">Click
>Here</a> to read the full text.
>Just thought I would pass this along for anyone interested.

And all along I've thought my coding html in lowercase was just laziness on 
my part - turns out I was simply ahead of my time! ;-)

- Ed

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list