Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Data Range"

(Definition)
Line 3: Line 3:
  
 
== Definition ==
 
== Definition ==
* The datatype of a literal (simple) value of an [[Attribute]]
+
* The datatype of a value of an [[Attribute]]
* An AVM MAY specialize:
+
* An [[Attribute Value Datatype]] MAY specialize:
** a base XML Schema type (e.g. String) for literal AVMs
+
** a base XML Schema type (e.g. String) for literal [[Attribute Value Datatype]]s
** OR a complex AVM
+
** OR a complex [[Attribute Value Datatype]]
** OR another AVM
+
** OR another [[Attribute Value Datatype]]
* An AVM defines a set of constraints on its value(s) including:
+
* An [[Attribute Value Datatype]]defines a set of constraints on its value(s) including:
 
** Value must be one of {"red", "green", "blue"}
 
** Value must be one of {"red", "green", "blue"}
 
** Syntax constraints (e.g. regular expression)
 
** Syntax constraints (e.g. regular expression)

Revision as of 21:23, 7 February 2008

Introduction

This page describes the concept of an Attribute Value Datatype.

Definition

Examples

  • An Attribute might have a value whose Attribute Value Datatype was (XML Schema) string
  • An Attribute might have a value whose Attribute Value Datatype was defined in the Contexts schema as "telephone number". This telephone number type might have a base type of (XML Schema) string, but might also have an XML Schema pattern restriction that constrained its syntax to be value in North America for auto-dialing (e.g. it is of the form (NNN)-NNN-NNNN)


See Also

Links

Back to the top