XML Output Example
(tick_24Pro, cross_24Std, cross_24Lite)

  Previous topic Next topic  

The below is an XML output example. XML message output can be enabled in the Classic Page of the Validator Engine Options. It can also be generated using Command Line Arguments.

XML message output is only supported in the professional edition.

<?xml version="1.0"?>
<documentlist generator="CSE HTML Validator Professional" generatorversion="9.03" generateddate="2009-07-20" generatedtime="4:36:59 PM" registered="1">
 <document location="C:\webserver\www\whycseisbetterhtml.html" lines="48" bytes="1078">
  <messagelist errors="11" warnings="13" messages="13" comments="14">
   <message type="message" category="Web Content Accessibility Guidelines 1.0" group="accessibility" msgid="2002071591" linenum="-1" charnum="-1" charlength="-1">[73] WCAG 1.0 accessibility checking is disabled.</message>
   <message type="message" category="Section 508 Accessibility Standards" group="accessibility" msgid="2002071591" linenum="-1" charnum="-1" charlength="-1">[73] Section 508 accessibility checking is disabled.</message>
   <message type="warning" category="" group="normal" msgid="1020715195" linenum="4" charnum="9" charlength="8">[108] This document has a "title" tag but its content "Untitled" does not specify an appropriate and descriptive title.</message>
   <message type="message" category="Search Engine" group="normal" msgid="2004072200" linenum="4" charnum="3" charlength="5">Tip - A good title is very important for search engine listings. Use many keywords and search terms in the title but make it readable. Don't just stuff keywords in the title. The title should also be something that a user will want to click on when it's listed on a search engine. A good title is also important when a visitor bookmarks a page. Example: &lt;title&gt;Download CSE HTML Validator - Powerful HTML and Link Checking Software for Windows&lt;/title&gt;. AI Internet Solutions also recommends that the "title" tag be the first tag inside the "head" section.</message>
   <message type="message" category="Search Engine" group="normal" msgid="2002071586" linenum="4" charnum="9" charlength="8">[8] This document's title contains only 1 word. It may be inadequate for search engine purposes. A good title is important to your search engine rankings and listings. AI Internet Solutions recommends a title that is 5-15 words in length and that contains a relevant and descriptive phrase. The title should also contain keywords and search terms while remaining readable.</message>
   <message type="warning" category="" group="normal" msgid="1020715096" linenum="7" charnum="14" charlength="9">It is very uncommon to use a different style sheet language than "text/css". Was a valid style sheet language specified?</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="13" charnum="16" charlength="5">The hexadecimal color value for the "bgcolor" attribute is missing the '#' character. Use bgcolor="#(color)", where (color) is a six digit hexadecimal number in the form RRGGBB.</message>
   <message type="error" category="General" group="css" msgid="-1" linenum="15" charnum="18" charlength="6">The "color" property has an invalid value "greeen". This property must have one of the following values: "inherit" or a valid color.</message>
   <message type="message" category="" group="normal" msgid="2006050401" linenum="15" charnum="2" charlength="1">This "p" element is empty. Consider removing this element if it is not needed. If you are wanting to add additional margin space between elements, consider using the "margin" CSS properties like "margin", "margin-top", and "margin-bottom" instead. Paragraph elements should be used to denote paragraphs and not for presentational formatting.</message>
   <message type="message" category="General" group="css" msgid="1020715131" linenum="15" charnum="4" charlength="5">The "style" attribute has been used but a default style sheet language has not been defined (note that HTML Validator would not see this declaration if it is sent as an HTTP header by a web server). HTML 4.01 and XHTML require this for correct documents. However, for all practical purposes, leaving it out is very unlikely to cause problems. If you still want to define a default style sheet language, then include this in the "head" section of your document to specify "text/css" as the default style sheet language: &lt;meta http-equiv="Content-Style-Type" content="text/css"&gt;. If you're using HTML Validator's integrated editor, then this can be added from the 'Tags' menu or from the Tag Inserter. Because this issue is very unlikely to cause problems, consider ignoring or disabling this message. See http://www.w3.org/TR/html4/present/styles.html#default-style for more information.</message>
   <message type="message" category="CSS Tips" group="css" msgid="2003012803" linenum="15" charnum="4" charlength="5">Use the inline "style" attribute sparingly. Using this attribute too often can prevent you from receiving many of the benefits of CSS like easier to maintain and less cluttered documents. Consider using a single CSS style sheet instead of relying too much on the "style" attribute. This message is displayed only once.</message>
   <message type="message" category="Good Style" group="css" msgid="1020715167" linenum="15" charnum="11" charlength="5">When a foreground color is defined, we recommend that a background color also be defined (by using the "background" or "background-color" property). This helps to avoid conflict with user-defined style sheets and to improve accessibility.</message>
   <message type="warning" category="General" group="css" msgid="2006051902" linenum="17" charnum="24" charlength="17">The following typeface was not recognized (check spelling): "ariel" (should this be "Arial"?).</message>
   <message type="warning" category="General" group="css" msgid="2008122901" linenum="17" charnum="24" charlength="17">The following typeface may not be available on a significant number of browsers: "ariel". Not recognized at all (check spelling): "ariel" (should this be "Arial"?).</message>
   <message type="warning" category="General" group="css" msgid="121" linenum="17" charnum="24" charlength="5">Is the font name "arial" misspelled as "ariel"? The correct spelling is "arial". This is common mistake.</message>
   <message type="message" category="" group="normal" msgid="2006050401" linenum="17" charnum="2" charlength="1">This "p" element is empty. Consider removing this element if it is not needed. If you are wanting to add additional margin space between elements, consider using the "margin" CSS properties like "margin", "margin-top", and "margin-bottom" instead. Paragraph elements should be used to denote paragraphs and not for presentational formatting.</message>
   <message type="error" category="" group="normal" msgid="2004011500" linenum="19" charnum="13" charlength="24">The value for the "onclick" attribute appears to contain mismatched quotation marks. Please check for misplaced or missing quotation marks.</message>
   <message type="warning" category="" group="normal" msgid="110" linenum="21" charnum="22" charlength="1">Found the character '&gt;' with no previous character '&lt;' to open the tag. The character '&lt;' must appear before each '&gt;' to open a tag. If you actually want to use this character in the text portion of your document, then use the character entity reference "&amp;gt;". Note, however, that using this reference is not technically necessary according to the HTML specification (but it is highly recommended that you use it).</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="23" charnum="49" charlength="6">The "width" attribute has an invalid attribute value "50text". The value should normally be one of the following: a percent, a positive integer, or "0" (zero).</message>
   <message type="message" category="Good Style" group="normal" msgid="2002071538" linenum="23" charnum="2" charlength="3">[7] The "height" and "width" attributes should be used with the "img" element. Using these attributes generally result in faster and smoother (less jumpy) rendering. Using them is also considered to be good style.</message>
   <message type="warning" category="" group="normal" msgid="2005032100" linenum="25" charnum="10" charlength="38">It appears that the backslash character ('\') may have been used when the forward slash character ('/') should be used instead. Using backslash characters improperly may work in some browsers like Internet Explorer but cause problems in other browsers like Netscape, Mozilla, and Firefox. Use forward slash characters when specifying links and URLs.</message>
   <message type="warning" category="" group="normal" msgid="2005080801" linenum="27" charnum="10" charlength="21">Perhaps you meant http:// instead of htp://?</message>
   <message type="warning" category="" group="normal" msgid="1020715003" linenum="29" charnum="10" charlength="15">It appears that a "mailto:" prefix may have been forgotten or misspelled before an email address. Please ignore this message if the value is correct and it is not an email address.</message>
   <message type="warning" category="" group="normal" msgid="1020715002" linenum="31" charnum="10" charlength="23">The email address or addresses specified in the mailto link "mailto:user@domain.comm" did not pass a syntax check. Make sure that all email addresses specified are correct and contain valid top-level domains. Details: "user@domain.comm" has an invalid top-level domain</message>
   <message type="message" category="Tips" group="normal" msgid="2003112100" linenum="31" charnum="10" charlength="23">[6] Email spam is a huge problem nowadays. Be aware that mailto email addresses are easily harvested for spam lists by automated programs. Consider alternate, but less user-friendly, ways of distributing email addresses if spam is a concern.</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="33" charnum="32" charlength="5">Found an ampersand '&amp;' but could not find a following semicolon for a properly formed character reference. To actually display an ampersand, such as in "Recreation &amp; Sports", the character entity reference "&amp;amp;" should be used as in "Recreation &amp;amp; Sports" (see comment).</message>
   <message type="error" category="" group="normal" msgid="1020715132" linenum="37" charnum="42" charlength="4">"_new" is not a valid value for the "target" attribute. You probably want "_blank". This value causes the browser to open a new, blank, and unnamed window.</message>
   <message type="warning" category="" group="normal" msgid="2003031702" linenum="39" charnum="10" charlength="23">Using space characters in URLs may cause problems. If spaces must be used in URLs, then they should be encoded as "%20" (without the quotes). However, avoid spaces in URLs whenever possible and consider using the underscore character (_) instead of space characters in folder names and filenames.</message>
   <message type="warning" category="" group="normal" msgid="-1" linenum="39" charnum="10" charlength="23">[33] The "href" attribute has a value that has leading or trailing space characters. These spaces should probably be removed.</message>
   <message type="error" category="" group="normal" msgid="1020715122" linenum="41" charnum="4" charlength="4">The attribute value for the "name" attribute does not match the attribute value for the "id" attribute. The values for these attributes should be identical (including case) when used with the "a" element.</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="43" charnum="9" charlength="2">The "tr" tag must have an end tag (&lt;/tr&gt;) but the end tag was not found.</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="43" charnum="13" charlength="2">The "td" tag must have an end tag (&lt;/td&gt;) but the end tag was not found.</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="43" charnum="20" charlength="6">The end tag for "td" (started in line 43) should appear before the end tag for "table" (nesting error).</message>
   <message type="message" category="Good Style" group="normal" msgid="2002071571" linenum="43" charnum="2" charlength="5">Consider using the "width" attribute with the "table" element. This is considered to be good style and can cause the table and page to render faster. Note that this is not a deprecated attribute in HTML 4.01 nor XHTML 1.0. It's also a valid XHTML 1.1 attribute.</message>
   <message type="message" category="General Compatibility" group="normal" msgid="2002071269" linenum="43" charnum="2" charlength="5">[5] The "table" element is an official HTML 4.01 and XHTML element but may not be supported by older or nongraphical browsers. Furthermore, nongraphical browsers that do support tables may not support them the way that you expect. However, most browsers used today should support this element.</message>
   <message type="warning" category="" group="normal" msgid="2003031401" linenum="45" charnum="83" charlength="1">The HTML 4.01 specification states that it is valid to include whitespace between "--" and "&gt;" but this may cause problems because some browsers may not parse this correctly. It is recommended that the whitespace be removed.</message>
   <message type="error" category="" group="normal" msgid="-1" linenum="47" charnum="3" charlength="4">Somewhere in this document there is a nonexistent internal link to "chapter5" created by using &lt;a href="#chapter5"&gt; ... &lt;/a&gt;. This link should be removed or it should link to a location in the document that is specified by &lt;a name="chapter5"&gt; ... &lt;/a&gt; or &lt;element id="chapter5"...&gt;.</message>
   <message type="comment" category="Accessibility Tips" group="accessibility" msgid="2003011600" linenum="-1" charnum="-1" charlength="-1">This program can help you make your web pages more accessible. An accessible page is one that more individuals can use, such as individuals who are blind or deaf. It can also increase the usefulness of your web page for individuals who browse the web using slower devices like older computers or wireless devices like cell phones and PDAs. An accessible web site makes good business sense (and possibly good legal sense as well). You can enable or disable accessibility checking in the Validator Engine Options.</message>
   <message type="comment" category="" group="normal" msgid="207" linenum="-1" charnum="-1" charlength="-1">The ampersand '&amp;' is an escape character in HTML. If you want to actually use the ampersand in your HTML document, then the character entity reference '&amp;amp;' should be used instead of the actual ampersand character.</message>
   <message type="comment" category="" group="normal" msgid="200" linenum="-1" charnum="-1" charlength="-1">You can ignore the nesting errors by turning off the option to check HTML tag nesting. However, we recommend that you leave this feature enabled. This option is in CSE HTML Validator's Validator Engine Options. </message>
   <message type="comment" category="Search Engine" group="normal" msgid="-1" linenum="-1" charnum="-1" charlength="-1">Keyword density: &amp;quot (1x), description (1x), I'll (1x), img (1x), said (1x), somepic.jpg (1x), src (1x), test (1x), Untitled (1x). Complete list. 3 words in exclude list.</message>
   <message type="comment" category="" group="normal" msgid="1020715146" linenum="-1" charnum="-1" charlength="-1">HTML 4.01 Transitional document detected.</message>
   <message type="comment" category="Search Engine" group="normal" msgid="2005081902" linenum="-1" charnum="-1" charlength="-1">[113] Random Search Engine Tip #2 - It's a good idea to repeat this document's title, keywords, and search terms in header tags (like "h1", "h2", etc.) and throughout the page. Use CSS to make the headers look good. However, be sure not to change the meaning of the header tags, like making a header look like regular text because that can be considered cheating and may result in your site being penalized.</message>
   <message type="comment" category="Search Engine" group="normal" msgid="2002071588" linenum="-1" charnum="-1" charlength="-1">[8] &lt;meta name="description" content="(actual description)"&gt; should be used in the "head" section to provide a brief description of what is contained on this page. This information is used by many search engines when indexing a site. If you're using HTML Validator's integrated editor, then this can be added from the 'Tags' menu or from the Tag Inserter.</message>
   <message type="comment" category="Search Engine" group="normal" msgid="2002071589" linenum="-1" charnum="-1" charlength="-1">[8] &lt;meta name="keywords" content="(actual keyword list)"&gt; should be used in the "head" section to provide a list of keywords that are relevant to this page. This information is used by many search engines when indexing a site. If you're using HTML Validator's integrated editor, then this can be added from the 'Tags' menu or from the Tag Inserter.</message>
   <message type="comment" category="" group="normal" msgid="1020715158" linenum="-1" charnum="-1" charlength="-1">An ICRA RDF label was not found in the "head" section of this document. Browsers that are enabled with this rating system may not display documents that have not been labelled. It is recommended that every page include an ICRA label. For more information, please visit http://www.icra.org/.</message>
   <message type="comment" category="" group="normal" msgid="1020715159" linenum="-1" charnum="-1" charlength="-1">Although not normally necessary, consider including a "meta" tag similar to the following in the "head" section of this document: &lt;meta http-equiv="Content-Type" content="text/html; charset=us-ascii"&gt;</message>
   <message type="comment" category="" group="normal" msgid="-1" linenum="-1" charnum="-1" charlength="-1">[10] CSE HTML Validator Std/Pro allows you to disable certain messages (like this example message) and groups of related messages by disabling flags. For instance, the [10] at the beginning of this message indicates that you can disable this message by disabling validator flag 10. If you are using HTML Validator's integrated editor, then you can simply use your mouse on this message to open the context menu (usually done by right-clicking the mouse on this message) and select 'Disable Flag 10' to disable this message. For more information about disabling messages, please look at the Configuration section in the documentation.</message>
   <message type="comment" category="" group="normal" msgid="2003012004" linenum="-1" charnum="-1" charlength="-1">CSE HTML Validator Std/Pro allows you to disable many messages on an individual basis without using flags. For instance, you can disable this message by using HTML Validator's integrated editor to open the context menu for this message (usually done by right-clicking the mouse on this message) and selecting 'Options for this Message-&gt;Disable Message' to disable this message. For more information about disabling messages, please look at the Configuration section in the documentation.</message>
   <message type="comment" category="" group="normal" msgid="1020715161" linenum="-1" charnum="-1" charlength="-1">1102 bytes; 0.8s@14.4Kbps, 0.4s@28.8, 0.2s@50, 0.2s@64, 0.1s@128, 0.0s@384, 0.0s@512, 0.0s@768, 0.0s@1.5Mbps, 0.0s@10Mbps.</message>
   <message type="comment" category="" group="normal" msgid="2002071593" linenum="-1" charnum="-1" charlength="-1">0.02s, 11 errors, 13 warnings, 13 messages, 14 validator comments, 48 lines, 22 tags (18 closed), 1 document comment, 1 entity, 78 programs run.</message>
  </messagelist>
 </document>
</documentlist>