LML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://eclipse.org/ptp/lml
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
Default namespace http://www.w3.org/2001/XMLSchema
xml http://www.w3.org/XML/1998/namespace
lml http://eclipse.org/ptp/lml
Schema Component Representation
<schema elementFormDefault="qualified" targetNamespace="http://eclipse.org/ptp/lml">
...
</schema>
top

Global Definitions

Complex Type: colorconstant_type

Super-types: None
Sub-types: None
Name colorconstant_type
Abstract no
Documentation Definition of a color name. Connects a name like "red" width a html-like color like "#F00"
XML Instance Representation
<...
name="NCName [1]"
color=" lml:hexcolor_type [1]"/>
Schema Component Representation
<complexType name="colorconstant_type">
<attribute name="name" type=" NCName " use="required"/>
<attribute name="color" type=" lml:hexcolor_type " use="required"/>
</complexType>
top

Complex Type: colordefinition_type

Super-types: None
Sub-types: None
Name colordefinition_type
Abstract no
Documentation Collects a list of colorconstants.
XML Instance Representation
<...>
<lml:colorname> lml:colorconstant_type </lml:colorname> [0..*]
</...>
Schema Component Representation
<complexType name="colordefinition_type">
<sequence>
<element name="colorname" type=" lml:colorconstant_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</complexType>
top

Simple Type: hexcolor_type

Super-types: string < hexcolor_type (by restriction)
Sub-types: None
Name hexcolor_type
Content
  • Base XSD Type: string
  • pattern = #((([0-9]|[a-f]|[A-F]){3})|(([0-9]|[a-f]|[A-F]){6}))
Documentation Defines possible color-values. Allowed values: #Ff0 #FF0000 #FA9
Schema Component Representation
<simpleType name="hexcolor_type">
<restriction base=" string ">
<pattern value="#((([0-9]|[a-f]|[A-F]){3})|(([0-9]|[a-f]|[A-F]){6}))"/>
</restriction>
</simpleType>
top