Message model task list errors that have a quick fix
You can apply a quick fix to some message modeling task list warnings or errors to correct them.
Unresolved references
The following table provides a list of those errors that have references that cannot be resolved:
Error type | Description | Quick Fix |
---|---|---|
Attribute reference error | The attribute reference cannot be resolved | Allows you to add the missing include or import statement |
Attribute group reference error | The attribute group reference cannot be resolved | Allows you to add the missing include or import statement |
Attribute type reference | The attribute type reference cannot be resolved | Allows you to add the missing include or import statement |
Base type error | The type has an unresolved base type | Allows you to add the missing include or import statement |
Element reference error | The element reference cannot be resolved | Allows you to add the missing include or import statement |
Element type reference error | The element type reference cannot be resolved | Allows you to add the missing include or import statement |
Group reference error | The group reference cannot be resolved | Allows you to add the missing include or import statement |
Remote schema location error | The XSD file contains remote schema location | Allows you to import the remote schema file |
Schema directive error | The schema directive cannot be resolved | Allows you to add the missing include or import statement |
Sub group error | The element declaration references a head element which cannot be resolved. | Allows you to add the missing include or import statement |
Other errors
The following table provides a list of additional warnings or errors that can be cleared using a quick fix:
Error type | Description | Quick Fix |
---|---|---|
Repeat count deprecated warning #1 | CWF property "Repeat Count" has been superseded by "Max Occurs". Both "Repeat Count" and "Max Occurs" have been set, but do not have the same value. | You will have a choice of two quick fixes:
|
Repeat count deprecated warning #2 | CWF property "Repeat Count" has been superseded by "Max Occurs". Both "Repeat Count" and "Max Occurs" have been set and have the same value. | Will update your definition to unset the "Repeat Count" property. |
Redefine error | An XML Schema Redefine construct has been found but is not supported. | Will update your message definition file to use an XML Schema Include construct instead. Any redefinitions will be lost. |
Value does not match Length facet error | The length of a default value, fixed value or enumeration value does not match the effective Length facet for the simple type. | You will have a choice of two quick fixes:
|
Facet not applicable for simple type error | A facet has been found on a simple type, but the facet is either not permitted on that simple type or is a duplicate. | Will update your simple type definition so that all invalid facets and all duplicate facets are removed. |