[cgl_discussion] [validation framework] FW: What's the graph format in results.txt xml file?

Lynch, Rusty rusty.lynch at intel.com
Mon Sep 16 11:07:11 PDT 2002


Just to reinforce what Julie is saying... 

One of the big advantages of including the actual data inside the XML file
is that we utilize XML for what it is good at, to describe our results.  If
the validation suite directly creates a PNG image, PDF, or some other binary
file that the XML file just points to, then the visual display of the
results is hard coded.

I like the idea of the validation just reporting data.  Validation framework
tools can take that data and transform it into what ever presentation is
appropriate.  The suite would not need to worry with how to display the
data, just how to report the data.

So, the following could be possible without changing the validation suite:

* results (xsl for html) => HTML presentation with <img> tags pointing to
PNG images that look like traditional graphs
* results (xsl for pdf) => PDF presentation containing graphs described PDF
syntax
* results (xsl for text) => TEXT presentation with graphs represented by
ASCII art or just tables

... this ones kind of far out, but perfectly valid ...
* results (xsl for English speech) => English SPEECH presentation that maybe
skips over the graphs

 -rusty

NOTE: I bet there is already a well known schema for describing a graph in
XML.  My guess is after you try to describe a couple of these graphs you
will find the need for some additional tags (like names for axis, or
suggested representation like pie chart or bar chart etc).


-----Original Message-----
From: Fleischer, Julie N [mailto:julie.n.fleischer at intel.com]
Sent: Monday, September 16, 2002 10:20 AM
To: 'cgl_discussion at osdl.org'
Subject: [cgl_discussion] [validation framework] FW: What's the graph
format in results.txt xml file?


Moving this thread to CGL discussion.

I'll also re-add my comments.

I was also thinking that we can expand the <Graph></Graph> XML tags (which
were mostly just placeholders) to accommodate what real users of the XML
grammar would like to see.

If your suite output raw data (not graphs), then we could put that in the
<Graph></Graph> tags using something like:
<Graph><Point X=1, Y=43></Point><Point X=2, Y=51></Point></Graph>
and we could eventually parse the graphs as part of our XML parsing program.

If not, we could still add more rules on what should go within the
<Graph></Graph> tags.  Some ideas:
- an URL to results
- a name of a graph file in the
$CGL_VALIDATION_ROOT/category/requirement/results directory

At this point, we can work towards implementing something that meets the
needs of the current suite that requires graphing and update as needed.

Thanks.
- Julie

------------------------------------------------------------------------
Julie Fleischer
Intel Corporation
julie.n.fleischer at intel.com

This email message solely contains my own personal views, and not
necessarily those of my employer.


-----Original Message-----
From: Craig Thomas [mailto:craiger at osdl.org]
Sent: Monday, September 16, 2002 9:42 AM
To: Zhu, Yi
Cc: 'cgl_valid_subgroup at osdl.org'
Subject: Re: [Cgl_valid_subgroup] What's the graph format in results.txt
xml file?


You should be able to use anything you want, but it would be a good
idea to use a common utility to graph the results.  Also, you need
to assume that CGLE is not dependent upon any one specific distribution
so make sure the utility you use to graph results would be included
in all major distros, including debian.  The suggestions you mention
below would seem to fit the criteria.

As far as using a file link or placing the bitmap within the XML text,
it doesn't really matter.  However, I personally favor a link to a
separate file.  I have found that that has given me the greatest
flexibility. 

On Mon, 2002-09-16 at 03:48, Zhu, Yi wrote:
> Hi
> 
> I want to add a performance chart for event log performance test. But the
> validation framework spec seems not talk much about the details, should I
> use a file link(location) or just the graph bitmap itself between the xml
> tab <Graph> and </Graph>? What format should I use (pdf, ps, png, etc)?
Need
> I mention it in some attribute list in Graph?
> 
> Thanks,
>
----------------------------------------------------------------------------
> ----------------------------------------------------
> Opinions expressed are those of the author and do not represent Intel
Corp.
> 
> Zhu Yi (Chuyee)
> Intel China Software Lab (ICSL)
> 22nd Floor, ShanghaiMart Tower No. 2299 Yan'an Road(West) Shanghai 200336,
> PRC
> Tel: 8621-52574545-1261 Fax: 8621-62366119
> 
> GnuPG v1.0.6 (GNU/Linux)
> http://cn.geocities.com/chewie_chuyee/gpg.txt
> 1024D/71C34820 C939 2B0B FBCE 1D51 109A  55E5 8650 DB90 71C3 4820
> 
> _______________________________________________
> Cgl_valid_subgroup mailing list
> Cgl_valid_subgroup at lists.osdl.org
> http://lists.osdl.org/mailman/listinfo/cgl_valid_subgroup
-- 
Craig Thomas                         phone: 503-626-2455  ext. 33
Open Source Development Labs         email: craiger at osdl.org
15275 SW Koll Pkwy, Suite H
Beaverton, OR  97006

_______________________________________________
Cgl_valid_subgroup mailing list
Cgl_valid_subgroup at lists.osdl.org
http://lists.osdl.org/mailman/listinfo/cgl_valid_subgroup
_______________________________________________
cgl_discussion mailing list
cgl_discussion at lists.osdl.org
http://lists.osdl.org/mailman/listinfo/cgl_discussion



More information about the cgl_discussion mailing list