The following tables outline how Message Bridge supports both Document Type Definitions (DTD) and XML Schema (XSD). Each of the declarations and elements listed in these tables are supported, either fully or partially. Where there is not full support, the extent of the support is described in the Comments column.
Message Bridge is capable of importing DTDs and XSDs with these declarations and elements, and it generates the Java code necessary for implementing each of the features in Message Bridge DataBeans.
The following table shows the elements for which Message Bridge provides either full or partial support.
Elements that are part of the W3C XML Schema structure
that are not listed in the following table are not supported in
this release.
Elements |
Can include |
Comments |
---|---|---|
all |
||
annotation |
||
element |
||
any |
Its attributes are currently not used for code generation. |
|
attribute |
||
simpleType |
||
attributeGroup |
||
attribute |
||
attributeGroup |
||
choice |
xsd:any currently only shows by itself under xsd:choice. |
|
any |
Does not support multiple any or any mixed with elements. |
|
choice |
||
element |
||
group |
||
sequence |
||
complexContent |
||
extension |
||
restriction |
xsd:restriction for xsd:complexContent should have all its base type members, plus the restriction. |
|
complexType |
Its attribute final, block, and abstract are currently not used for code generation. |
|
all |
||
attribute |
||
attributeGroup |
||
choice |
||
complexContent |
||
group |
||
sequence |
||
simpleContent |
||
element |
final, block, and abstract attributes are currently not used for code generation. |
|
complexType |
||
key |
||
keyref |
||
simpleType |
||
unique |
||
enumeration |
||
extension |
||
attribute |
||
attributeGroup |
||
field |
||
group |
||
all |
||
choice |
||
sequence |
||
key |
||
field |
||
selector |
||
keyref |
||
field |
||
selector |
||
restriction |
||
enumeration |
Used for XML document validation. |
|
fractionDigits |
||
length |
||
maxExclusive |
||
maxInclusive |
||
maxLength |
||
minExclusive |
||
minInclusive |
||
minLength |
||
pattern |
||
simpleType |
||
totalDigits |
||
whiteSpace |
||
schema |
Currently, blockDefault, finalDefault, version, xml:lang attributes and esd:include, xsd:import, and xsd:redefine content are not supported. |
|
attribute |
||
attributeGroup |
||
complexType |
||
element |
||
group |
||
notation |
||
simpleType |
||
selector |
||
annotation |
||
sequence |
xsd:any only shows by itself under xsd:choice. |
|
any |
||
choice |
||
element |
||
group |
||
sequence |
||
simpleContent |
||
extension |
||
restriction |
||
simpleType |
Currently, xsd:list and xsd:union content are not supported. |
|
restriction |
||
unique |
||
field |
||
selector |
The following table shows the declarations for which Message Bridge provides either full or partial support.
Declaration |
Can include |
Comments |
---|---|---|
DOCTYPE |
||
ELEMENT |
||
, (comma) |
Sequence of elements, AND operator |
|
| (bar) |
OR operator |
|
() (parenthesis) |
Content grouping |
|
? (question mark) |
Optional, 0 or 1 occurances |
|
+ (plus) |
at least one, 1 or more occurrences |
|
* (asterisk) |
any number, 0 or more occurrences |
|
EMPTY |
||
ANY |
||
PCDATA |
||
ATTLIST |
||
CDATA |
||
NMTOKEN |
||
NMTOKENS |
Validation is using attached DTD. |
|
ID |
Validation is using attached DTD. |
|
IDREF |
Validation is using attached DTD. |
|
IDREFS |
Validation is using attached DTD. |
|
ENTITY |
Validation is using attached DTD. |
|
ENTITIES |
Validation is using attached DTD. |
|
Enumerated value list |
Validation is using attached DTD. |
|
NOTATION |
Validation is using attached DTD. |
|
DEFAULT or default value assigned |
||
IMPLIED |
||
REQUIRED |
||
FIXED |
||
NOTATION |
||
ENTITY |
||
parameter entity |
||
internal entity |
||
SYSTEM ID (External parsed entity) |
||
PUBLIC ID (External parsed entity) |
Handled the same as SYSTEM ID. |
|
SYSTEM ID (External unparsed entity) |
Passed on to DTD generation. |
|
PUBLIC ID (External unparsed entity) |
Passed on to DTD generation. |
Copyright © 2005. Sybase Inc. All rights reserved. |