W3C home > Mailing lists > Public > public-xml-er@w3.org > February 2012

Re: Intent of ER-XML

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 27 Feb 2012 18:21:54 +0000
Message-ID: <4F4BC9C2.7060604@nag.co.uk>
To: public-xml-er@w3.org
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?


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:47:26 UTC