- From: Costello, Roger L. <costello@mitre.org>
- Date: Fri, 1 Apr 2016 17:58:10 +0000
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Received on Friday, 1 April 2016 17:58:45 UTC
Hi Folks, In many programming languages variables are assigned a type. In Common Lisp, on the other hand, variables can hold any values, it is the data objects that are typed: It is important to note that in Lisp it is data objects that are typed, not variables. Any variable can have any Lisp object as its value. [Steel] XML Schemas seem to mirror the former (variables are typed): elements and attributes are assigned a type. For example, this Altitude element is assigned the integer type: <element name="Altitude" type="integer" /> Suppose I wanted to create XML Schemas which mirrored the Common Lisp approach: elements and attributes can hold any values, data is typed. How would such schemas be constructed? Would (could) such schemas yield different/unique/interesting validation capabilities? /Roger
Received on Friday, 1 April 2016 17:58:45 UTC