Microsoft KB Archive/174545: Difference between revisions
(importing KB archive) |
m (Text replacement - "<" to "<") |
||
Line 77: | Line 77: | ||
* XMLint.Exe reports "XMLint.EXE : XML File is well formed" | * XMLint.Exe reports "XMLint.EXE : XML File is well formed" | ||
If, for instance, there's a missing | If, for instance, there's a missing </CHANNEL> tag in a CDF file, XMLINT.EXE reports the following:<br /> | ||
<br /> | <br /> | ||
<div class="errormessage"> | <div class="errormessage"> | ||
XMLINT.EXE : Error on line 29. Found end of file while expecting | XMLINT.EXE : Error on line 29. Found end of file while expecting <, </, <!--, &, or character data | ||
</div> | </div> |
Revision as of 17:34, 20 July 2020
Article ID: 174545
Article Last Modified on 5/11/2006
APPLIES TO
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Client Software Development Kit 4.0
- Microsoft Internet Client Software Development Kit 4.01
This article was previously published under Q174545
SYMPTOMS
Clicking on a .cdf file does not launch the "Add Channel" wizard, which prompts the user to either add the channel to the channel bar, or subscribe to the channel.
CAUSE
This is usually caused by errors in the .cdf file, such as forgetting an END tag or having an extra '/' or missing '>' and so on.
RESOLUTION
Be sure to run two Internet Client SDK tools, Cdftest.exe or Xmlint.exe, on your .cdf file before making them available on your server. This ensures that your files are completely free of errors.
MORE INFORMATION
CdfTest is a tool available in the Internet Client SDK (under \Inetsdk\Bin\Cdftest\Cdftest.exe) that takes a .cdf file and verifies its structure and syntax. It finds and reports mistakes such as missing end tags as well as incorrect or misspelled tags.
XMLint is a tool also available in the Internet Client SDK (under \Inetsdk\Bin\Xmlint\Xmlint.exe) that checks whether an input file (or URL) is a well formed XML file; that is, it follows all the grammar rules of XML, such as forgetting an END tag or having an extra '/' or an extra '>'.
Assuming there are no errors in the CDF file, the following is true:
- CDFTest.Exe reports "No errors."
- XMLint.Exe reports "XMLint.EXE : XML File is well formed"
If, for instance, there's a missing </CHANNEL> tag in a CDF file, XMLINT.EXE reports the following: