Error message for error 404 generates inavlid xml in the message node when using the soap12 validation service.

I have automated some html validation and I pull the results returned
from your service into an XML dom. Unfortunately the message node
contains "<" which makes the xml invalid. Below is an example of the
offending xml:

            <m:warning>
                <m:line>29</m:line>
                <m:col>117</m:col>
                <m:message>character "<" is the first character of a
delimiter but occurred as data</m:message>
                  <m:messageid>404</m:messageid>
                  <m:explanation>  <![CDATA[
                        <p class="helpwanted">
      <a
 
href="http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.sierrat
radingpost.com%2FValidateAd.aspx%3Fadid%3D1430%26ignoreadcache%3D1;errms
g_id=404#errormsg"
	title="Suggest improvements on this error message through our
feedback channels" 
      >&#x2709;</a>
    </p>

    <div class="ve mid-404">
    <p>
      This message may appear in several cases:
    </p>
    <ul>
      <li>You tried to include the "&lt;" character in your page: you
should escape it as "&amp;lt;"</li>
      <li>You used an unescaped ampersand "&amp;": this may be valid in
some contexts, 
      but it is recommended to use "&amp;amp;", which is always
safe.</li>
      <li>Another possibility is that you forgot to close quotes in a
previous tag.</li>
    </ul>
  </div>

                    ]]>
                  </m:explanation>
                  <m:source><![CDATA[...Extra 20% Off Select Shoes and
Boots&#62;<strong title="Position where error was
detected.">&#60;</strong>img
src=&#34;/assets/images/ppam/ad_images/]]></m:source>
            </m:warning>


Here is the url that generates the invalid xml but we may have the html
fixed before you see it.

http://validator.w3.org/check?uri=http%3a%2f%2fwww.sierratradingpost.com
%2fValidateAd.aspx%3fadid%3d1430%26ignoreadcache%3d1&output=soap12

Received on Friday, 5 December 2008 22:15:57 UTC