Re: Fwd: [xml-dev] Not using mixed content? Then don't use XML
Schemas are an excellent source for mining test cases (good luck trying that with JSON) plus if you shift your paradigm a bit an Examplotron schema gives you a heck of alot of test cases for very little cost and it is alot more effective than some of the approaches to testing XML apps out there.
Good luck trying to use JSON for that.
On Mon, Apr 8, 2013 at 7:39 AM, davep <[email protected]> wrote:
On 07/04/13 23:00, G. Ken Holman wrote:
To repeat and expand:
... schema-first or schema-centric design, any situation in which the
schema is considered more than a snapshot of current conversational
practice, is actively harmful.
Well ... now I think that might be a step too far.
Perhaps if you are trying to respond to a flexible environment where
data structures are allowed to change to a changing set of criteria or
stimuli.
But if you have a schema that, say, reflects general accounting
principles that are adopted (or mandated; or even legislated), there can
be benefit in treating the schema as sacrosanct and going through hoops
with your data to match the schema.
uk.gov tax submissions are an example Ken.
Of no interest which came first, an instance or the schema,
but they are needed in many scenarios, but Simons not listening.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected].org
subscribe: [email protected].org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php