OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: Test suite coordination

> - sometimes, DTD is a part of the test. For example, to make sure that
>   the ENTITY type is correctly implemented, a test case must have its
>   own unique DTD.

This is a pretty marginal case, and more an issue for testing datatype
libraries than RELAX NG per se.

One way to handle this would be:

<!DOCTYPE testCases [
<!ENTITY e1 foo SYSTEM "whatever" NDATA n1>
<!ENTITY e2 foo SYSTEM "whatever" NDATA n1>
<!NOTATION n1 PUBLIC "whatever">
      <element name="foo">
        <data type="ENTITY" datatypeLibrary="http://www.w3.org/...">
    <valid entities="e1 e2" notations="n1">
    <invalid entities="e2" notations="n1">

Another way would be an attribute on valid/invalid containing the literal
text of the DOCTYPE.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC