This also pre-presumes that XML is not the normative representation.
Many products have moved to XML as the normative representation, although often in compressed or zipped forms
Example
Most Microsoft Office Products
PDF
Another issue is who is the target for documentation ? If this is for internal use only an advantage of schema is that is is largely self documenting if you
use creative naming conventions and post-processing documentation generation tools.
OF coruse they say that about source code too
J
From: Stephen D Green [mailto:stephengreenubl@gmail.com]
Sent: Monday, November 05, 2012 2:16 AM
To: Costello, Roger L.
Cc: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Which should come first: code, XML Schema, or binary specification?
Of course your question needs some framing of its assumptions first. Where does the question sit in the spectrum between Agile/ExtremeProgramming and the more formal/traditional development processes? If it's assuming Agile development
then I'd say the code comes first and the schema and spec might never come at all or perhaps an XML Schema might come next and spec never appear at all.
On 2 November 2012 12:11, Costello, Roger L. <costello@mitre.org> wrote:
Hi Folks,
I am examining Microsoft Visio.
It is a nice drawing application. You can create neat pictures.
You can save your drawing as a binary file.
You can also save your drawing as an XML file which conforms to an XML Schema for Visio.
So there are three components:
1. Code which expresses the capabilities of the application
2. XML Schema which expresses the capabilities of the application
3. Binary specification which expresses the capabilities of the application
In the development of an application which should come first: code, XML Schema, or binary specification?
/Roger
_______________________________________________________________________
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