Components supporting importing

DataMagic supports DTD and XML Schema as importable schema. However, some DTD statements and XML Schema components might not be supported. The DTD statements and XML Schema components are listed below. The Action columns in these tables indicate actions on the DataMagic Management screen.

(1) DTD statements

Table 4.5 DTD statements

Statement

Action

ELEMENT

Expanded as element node.

,

Expanded as sequence contents model node.

|

Expanded as choice contents model node.

*

Expanded as sequence contents model node.

+

Expanded as sequence contents model node.

?

Ignored.

ATTLIST

Expanded as attribute node.

#REQUIRED

Ignored.

#IMPLIED

Ignored.

#FIXED

Ignored.

ENTITY

Any statement referencing external files causes an error.

NOTATION

Ignored.

Default value

Retained in nodes as the default.

(2) XML Schema components (element)

Table 4.6 XML Schema components (element)

Element

Action

all

Expanded as "all" contents model node.

annotation

Ignored.

any

Expanded as "any" node.

anyAttribute

Import error occurs.

appinfo

Ignored.

attribute

Expanded as attribute node.

attributeGroup

Expanded as attribute node.

choice

Expanded as choice contents model node.

complexContent

Used in type definition. Not expanded on the tree.

complexType

Used in type definition. Not expanded on the tree.

documentation

Ignored.

element

Expanded as element node.

extension

Used in type expansion. Not expanded on the tree.

field

Ignored.

group

Expanded as element node.

import

Expanded after reading the file specified in schemaLocation.

include

Expanded after reading the file specified in schemaLocation.

key

Ignored.

keyref

Ignored.

list

Used in type restriction. Not expanded on the tree.

notation

Ignored.

redefine

Import error occurs.

restriction

Used in type restriction. Not expanded on the tree.

schema

Used in type definition. Not expanded on the tree.

selector

Ignored.

sequence

Expanded as sequence contents model node.

simpleContent

Used in type definition. Not expanded on the tree.

simpleType

Used in type definition. Not expanded on the tree.

union

Used in type restriction. Not expanded on the tree.

unique

Ignored.

(3) XML Schema components (attribute of element)

Table 4.7 XML Schema components (attribute of element)

Element

Attribute

Action

all

maxOccurs

Ignored (processed as 1).

minOccurs

Used as the minimum frequency of occurrence.

attribute

default

This value is used for the input if no input data exists.

fixed

Ignored.

form

Ignored.

name

Used as the attribute name.

ref

Used as the search name.

type

Used as the data type.

use

Ignored.

attributeGroup

name

Used as the search name.

ref

Used as the search name.

choice

maxOccurs

Used as the maximum frequency of occurrence.

minOccurs

Used as the minimum frequency of occurrence.

complexContent

mixed

Ignored (processed as false).

complexType

abstract

Ignored.

block

Ignored if the container element is a schema element.

Otherwise, an import error occurs.

final

Ignored.

mixed

Ignored (processed as false).

name

Used as the search name.

element

abstract

Ignored.

block

Ignored.

default

This value is used for the input if no input data exists.

final

Ignored.

fixed

Ignored.

form

Ignored.

maxOccurs

Used as the maximum frequency of occurrence.

minOccurs

Used as the minimum frequency of occurrence.

name

Used as the element name.

nillable

Ignored.

ref

Used as the search name.

substitutionGroup

Ignored.

type

Used as the data type.

extension

base

Used as the data type.

group

name

Used as the search name.

ref

Used as the search name.

maxOccurs

Used as the maximum frequency of occurrence.

minOccurs

Used as the minimum frequency of occurrence.

list

itemType

Used as the data type.

restriction

base

Used as the data type.

schema

attributeFormDefault

Ignored.

blockDefault

Ignored.

elementFormDefault

Ignored.

finalDefault

Ignored.

targetNamespace

Used as the name of target namespace.

version

Ignored.

xml:lang

Ignored.

sequence

maxOccurs

Used as the maximum frequency of occurrence.

minOccurs

Used as the minimum frequency of occurrence.

simpleType

final

Ignored.

name

Used as the search name.

union

memberTypes

The type that has been defined first is used as the data type.

All elements

id

Ignored.