IBM Support

The 'MaxOccurs' attribute is not supported in this context" when attempting to create a new map using an XML Schema. (SCI59576)

Question & Answer


Question

The 'MaxOccurs' attribute is not supported in this context" when attempting to create a new map using an XML Schema. (SCI59576) *|* -D6DCBCD2D04F4962852579180031A68A- *|*

Answer

Technote (troubleshooting)


Problem(Abstract)

"The 'MaxOccurs' attribute is not supported in this context" when attempting to create a new map using an XML Schema. (SCI59576)

Symptom

"The 'MaxOccurs' attribute is not supported in this context" when attempting to create a new map using an XML Schema.
Error: Code = 80004005 Code meaning = Unspecified error Source = Mxxml4.dll
Error Description = File:///D:/Support/Bassett/FurnXMLItem_V1.8.xsd#/Schema[1]/group[position</SPAN>() = 1 and @name = 'partRoleSpecificationGroup']/choice[1]
The 'MaxOccurs' attribute is not supported in this context


Cause

The schema is incorrectly using the maxOccurs attribute on a Named Group
Definition.

Resolving the problem

According to the XML Schema Specifications a Named Group Definition cannot use the minOccurs and maxOccurs attributes. They should be used when the group is referred to.



Modify the Schema so the minOccurs and maxOccurs attribute are not used in the Named Group Definition.



For more information see the XML Schema Part 1: Structures on the www.w3c.org website.

Historical Number

PRI13145

Product Alias/Synonym

Fact


Gentran Integration Suite All Releases
SCI59576


[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

More support for:
Sterling Total Payments for Financial Services

Software version:
All Versions

Document number:
770621

Modified date:
13 October 2021

UID

ibm10770621

Manage My Notification Subscriptions