Re: cadvise report (-xml option) (121 Views)
Reply
Occasional Visitor
arjunjawalkar
Posts: 2
Registered: ‎02-20-2013
Message 1 of 4 (147 Views)

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.
Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 4 (138 Views)

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
Please use plain text.
Occasional Visitor
arjunjawalkar
Posts: 2
Registered: ‎02-20-2013
Message 3 of 4 (126 Views)

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?

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 25,001
Registered: ‎03-06-2006
Message 4 of 4 (121 Views)

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

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation