Re: [xml-dev] Evaluation Criteria for Markup Languages
From: Alex Muir <alex.g.muir@gmail.com>
To: "Costello, Roger L." <costello@mitre.org>
Date: Mon, 29 Aug 2011 09:26:29 +0000
Criterion 1 is logical although for criterion 2 I wonder about the difference between a rule and an exception and will search to find and read John Cowan's analysis.
My thought comes from wondering if giving elements the same name to represent different data types would potentially be a bit complex for the user and technologies that use XML.
Is that akin to creating a database table or a programming class containing variables having the same name with different datatypes?
Is this really an exception or a part of the rule?
On Sun, Aug 28, 2011 at 10:17 PM, Costello, Roger L. <costello@mitre.org> wrote:
Rule: a xs:sequence contains any xs:elements.
Exception: if two xs:elements have the same name but different data types then they cannot both be in xs:sequence.
--
Alex Muir Instructor | Program Organizer - University Technology Student Work Experience Building University of the Gambia http://sites.utg.edu.gm/alex/
Low budget software development benefiting development in the Gambia, West Africa Experience of a lifetime, come to Gambia and Join UTSWEB - http://sites.utg.edu.gm/utsweb/