Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

cadvise report

Occasional Visitor

cadvise report

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.xml...

<Signature>void Element::read(istream &)</Signature> ------------------------------------------^

class="m"><No_of_Indirect_Calls>0</No_of_Indirect_Calls>

  <No_of_Direct_Calls>0</No_of_Direct_Calls>
 
 
same in mozilla also. Not even able to opwn in spread sheet also.
3 REPLIES
Honored Contributor Honored Contributor

Re: cadvise report

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.

MK
Occasional Visitor

Re: cadvise report

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?

Highlighted
Acclaimed Contributor Acclaimed Contributor

Re: cadvise report (-xml option)

[ Edited ]

>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.  ;-)