[ic] Interchange and XHTML
marty at sediva.com
Thu Nov 27 06:44:43 EST 2003
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
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
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
To solve this problem, simply replace all the &'s in attribute values
with & (user agents will convert them back before following the
Here</a> to read the full text.
Just thought I would pass this along for anyone interested.
More information about the interchange-users