Re: Intent of ER-XML

On 27/02/2012 18:17, David Lee wrote:
> I'm +100 with Noah. If the primary purpose of defining to an API is
> for testability I think that makes this very hard. Its much easier to
> compare and test text then API behaviour. So we could define
> testability by a statement like "If the results of the XML-EHR
> processing model are serialized via the XML Text Serialization
> Specification they should look like this: ... " Then test case *in
> Text* could be produced and tested against using the plephra of XML
> diff/compare tools.    I think this is vastly easier than trying to
> test the results of say 2 DOM processors via API specs.
>
>

Yes agreed totally. Testing (or even discussing) this is likely to rely 
heavily on serialising the resulting tree to xml. But I'm not sure that 
that need impact much on the specification, just any test suite?

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Monday, 27 February 2012 18:22:21 UTC