Message Sets: Importing from XML Schema: unsupported features

A number of features in XML Schema are not supported, or their support is restricted in some way.

Message sets with namespace support

  • Constructs accepted but not supported when importing from an XML Schema.

    When importing an XML Schema into a message set that supports namespaces, the Redefine construct is accepted, but causes an error message to be displayed in the task list because it is not fully supported.

    The following XML shows an example of the Redefine construct:

    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" 
            targetNamespace="http://www.ibm.com" xmlns:ibm="http://www.ibm.com">
    
    	<!-- Unsupported feature: redefine -->
    	<redefine schemaLocation="test.xsd"/>
    
    </schema>
    

Message sets without namespace support

  • Constructs accepted and ignored when importing from an XML Schema.

    The list of constructs and the action taken is the same as for a message set with namespace support, as described above.

  • Target namespaces not qualified with a prefix.

    When importing an XML Schema into a message set that does not support namespaces, you cannot import a schema document that has a target namespace that is not qualified with a prefix. For example:

    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
           targetNamespace="http://www.ibm.com" xmlns="http://www.ibm.com">
    </xsd:schema>