FAQ: Error "The XML page cannot be displayed" when trying to view a linker map file

Document created by mue on Apr 13, 2009Last modified by CraigG on Nov 12, 2013
Version 2Show Document
  • View in full screen mode


I'm getting the error "The XML page cannot be displayed" when trying to view an XML linker map file. What could be the problem?





As of VisualDSP++ 3.5, the linker started creating map files in XML format rather than ascii, and these XML map files may reference other XML files installed as part of VisualDSP++. These references take the form of an absolute path, so if the file is viewed on another machine that has a different VisualDSP++ path to the one specified in these files, or that doesn't have VisualDSP++ installed at all, then the following error message may be given:


The XML page cannot be displayed. Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh <javascript:location.reload()> button, or try again later


In order to view the map file on a different machine, it can be transformed to html format using the <install_dir>\"xmlmap2html.exe" utility. This utility makes it possible to view the map file on virtually any machine with any browser. To generate the html file, open the DOS Prompt. Then type the path of the xmlmap2html.exe followed by the path of the .xml file. E.g.


"C:\Program Files\Analog Devices\VisualDSP 4.5\xmlmap2html.exe" "C:\myproject\map.xml"


Or, you can simply drag and drop the .xml file onto the xmlmap2html.exe file. This will generate a portable .html file for the corresponding .xml file. Please note that, as this utility also relies on the VisualDSP++ path matching that of the XML file, you will need to convert it on the machine that produced the file.


Another workaround is to modify the first few lines in the map file, to use the correct paths for the current machine, using a text editor.




This FAQ was generated from the following thread: Error "The XML page cannot be displayed" when trying to view a linker map file