XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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 <davep@dpawson.co.uk> 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: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php




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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS