Technical Advisory Board (TAB)

 View Only
  • 1.  Testability Guidelines

    Posted 09-03-2010 12:30
    Guys,
    
    This may be a silly question but while reading the Testability
    Guidelines, it occurred to me, what does this mean for markup
    standards? 
    
    In other words, say that in ODF 1.2, the 


  • 2.  Re: [tab] Testability Guidelines

    Posted 09-03-2010 13:38
    Have you never seen a case where the written text and the schema do not match? ;)

    On Fri, Sep 3, 2010 at 8:29 AM, Patrick Durusau <patrick@durusau.net> wrote:
    Guys,

    This may be a silly question but while reading the Testability
    Guidelines, it occurred to me, what does this mean for markup
    standards?

    In other words, say that in ODF 1.2, the <text:a> element can only
    appear in:

    ***
    The <text:a> element can appear in the following elements: <text:h>
    5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3,
    <text:ruby-base> 6.4.2 and <text:span> 6.1.7.
    ***

    The content model restrictions are enforced by a schema processor (or
    its equivalent).

    What would I say to formulate a "test assertion" for such a clause?

    I ask because most of the standards I work on at OASIS are markup
    standards and most requirements, not all, are enforced by XML schemas.

    So the XML (or RELAX-NG) schema is going to enforce those anyway.

    Or give me an error message if they are not obeyed.

    Just curious.

    Hope everyone is having a great day!

    Patrick




    ---------------------------------------------------------------------
    To unsubscribe from this mail list, you must leave the OASIS TC that
    generates this mail.  Follow this link to all your TCs in OASIS at:
    https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php




    --
    Mary P McRae
    OASIS
    Director, Standards Development
    TC Administrator
    Member Section Administrator
    OASIS: Advancing open standards for the information society
    email: mary.mcrae@oasis-open.org
    phone: 603.232.9090



  • 3.  Re: [tab] Testability Guidelines

    Posted 09-03-2010 13:47
    Mary,
    
    On Fri, 2010-09-03 at 09:37 -0400, Mary McRae wrote:
    > Have you never seen a case where the written text and the schema do
    > not match? ;)
    > 
    
    Now, now, let's not get personal! ;-)
    
    Sure I have, but assuming a test assertion, we could have:
    
    1) Schema statement
    
    2) Written text (different from #1)
    
    3) Test Assertion (different from #1 and #2)
    
    Nothing about calling something a "test assertion" makes it any more (or
    less) likely to be a correct reflection of the text.
    
    It does introduce another proofing step, if that is your point.
    
    And that could be a good thing.
    
    My point was in part that if the text reflects the schema (which isn't
    testable, even with a test assertion), the schema can be tested by a
    schema processor.
    
    Yes?
    
    Hope you are having a great day!
    
    Patrick
    
    
    
    > On Fri, Sep 3, 2010 at 8:29 AM, Patrick Durusau