Hi Leroy,
good question. I don't think we need an extra test case for global rules
with its:param in HTML. However having global rules embedded in HTML in
general would be good. This demonstrates that the implementation can
parse the HTML "script" element during the "gathering rules" step.
For each data category you have various linked rules tests , e.g. "
Global - Linked rules with locNotePointer", " Linked rules with
locNoteRef", ...
It would be sufficient to have just one test per data category with
rules embedded in HTML. It would be totally ok if the tests are
identical to the linked version, with the only difference being the
inline usage. So for creating the test case, practically you could just
copy a file like
locnote1html.html
add "script" with the rules embedded, and be done with it.
Best,
FElix
Am 19.12.12 12:49, schrieb Leroy Finn:
> Hey Yves, Everybody,
>
> Thanks for this. A quick question though do I have to have an example
> for each data category for the HTML global embedded case because as
> far as I was aware it only applied to Provenance and LQI. Also if each
> data category requires this test then we will also need to test for
> the HTML global rules embedded case with its:param????
>
> Thanks,
> Leroy
>
>
> On 18 December 2012 13:00, Yves Savourel <ysavourel@enlaso.com
> <mailto:ysavourel@enlaso.com>> wrote:
>
> Hi Leroy, all,
>
> I've added the missing test case for HTML global rules embedded
> for HTML to the Allowed Characters data category.
> See
> https://github.com/finnle/ITS-2.0-Testsuite/commit/128d5186c797642f2ee0342fdbc8589cc539aec4
>
> cheers,
> -yves
>
>
>
>
>