- From: Sandro Hawke <sandro@w3.org>
- Date: Sat, 23 Feb 2008 21:41:45 -0500
- To: Gary Hallmark <gary.hallmark@oracle.com>
- Cc: public-rif-wg@w3.org
> it would be nice if we could allow the syntax in this example test case,
> i.e.
> p(a->1 b->2)
> as a friendly version of the more syntactically correct
> p^^rif:local(a^^rif:local->1^^xsd:int b^^rif:local->2^^xsd:int)
> for reasons that should be self-evident.
To separate the issues there slightly (and not go into the question of
whether the Presentation Syntax should be more readable), I imagine the
test-cases machinery to be language-agnostic. We can have test cases
(probably unofficial ones) in proprietary languages, etc. So, at least,
there's no problem with making up a rule languages and having some test
cases in it. I'd hope that anyone putting forward such a
language/test-case would provide an on-line service to translate to/from
RIF (XML), and/or some code that can be thrown into the test-case
management software.
-- Sandro
> Sandro Hawke wrote:
> > Here's an example test case
> >
> > http://www.w3.org/2005/rules/wiki/Test_Case_Example
> >
> > copy & edit the source as desired.
> >
> > (more documentation to follow. :-)
> >
> > -- Sandro
> >
> >
Received on Sunday, 24 February 2008 02:42:36 UTC