02-20-2013 05:36 AM
I generated xml report using cadvise report -pdb <pdb path> +metrics -xml=report.xml
when if FTP it to my local machine and try to open it on my local machine I get the following output on web browser
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///C:/Users/arjun/Desktop/cadvise_metrics.xm
<Signature>void Element::read(istream &)</Signature> ------------------------------------------^
02-20-2013 08:24 AM
The XML report is not necessarily intended to be displayed, but for further processing of the cadvise metrics data using generic XML-aware tools.
If you want to open the cadvise report in a web browser, use the HTML format.
02-21-2013 12:48 AM
I need to display the report both in html as well as in xml format to show it to the client. I get parsing error when I try to open the xml report in spread sheet or in mozilla.
what could be the possible reasons?
the files present in /opt/cadvise are
dr-xr-xr-x 2 bin bin 96 Jan 19 2009 bin
dr-xr-xr-x 5 bin bin 96 Jan 19 2009 codeguide
dr-xr-xr-x 3 bin bin 96 Jan 19 2009 html
dr-xr-xr-x 3 bin bin 96 Jan 19 2009 include
dr-xr-xr-x 2 bin bin 8192 Jan 19 2009 lbin
dr-xr-xr-x 3 bin bin 96 Jan 19 2009 lib
dr-xr-xr-x 3 bin bin 96 Jan 19 2009 newconfig
dr-xr-xr-x 3 bin bin 96 Jan 19 2009 share
Does this directory contain any directory for xml as there is one for html?
02-21-2013 02:19 AM - edited 02-21-2013 02:20 AM
>what could be the possible reasons?
What does the man page say about the -xml option?
Why does the client want to see it?
If so, give him the file. With your best wishes. ;-)