IBM Support

Problems encountered working with standard Oagis library

Troubleshooting


Problem

After importing the Oagis standard library, you might see the following errors:

Symptom

Severity and Description       Path       Resource       Location       Creation Time       Id
XSD: The element may not have duplicate name and target namespace 'http://www.openapplications.org/oagis/9#SyncChartOfAccounts'       Oagis/xsd-includes       http.www.openapplications.org.oagis.9.xsd      
line 1       1189870119625       11639

Severity and Description       Path       Resource       Location       Creation Time       Id
XSD: The type may not have duplicate name and target namespace 'http://www.openapplications.org/oagis/9#SyncChartOfAccountsDataAreaType'       Oagis/xsd-includes       http.www.openapplications.org.oagis.9.xsd      
line 1       1189870119625       11640

Severity and Description       Path       Resource       Location       Creation Time       Id
XSD: The type may not have duplicate name and target namespace 'http://www.openapplications.org/oagis/9#SyncChartOfAccountsType'       Oagis/xsd-includes       http.www.openapplications.org.oagis.9.xsd      
line 1       1189870119625       11641

Cause

These errors are being reported as the EMF / XSD is loading the same XSD twice because the Oagis/9.0/OAGIS-9_0.xsd has a typo.

On Windows® (case-insensitive/case-preserving), this typo allows the XSD to be loaded, but the EMF/XSD loads/compares URIs in a case-sensitive manner. This causes one resource to be loaded using the URI "BODs/Developer/SyncChartOfAccounts.xsd" and the xsd-includes/http.www.openapplications.org.oagis.9.xsd loads the URI "BODs/Developer/SyncChartofAccounts.xsd".

Resolving The Problem

To solve this problem, change line 393 (the word "Of" needs to be changed to "of", note the lower case 'o'):

  • From:

  • <xs:include schemaLocation="BODs/Developer/SyncChartOfAccounts.xsd"/>

  • To:

  • <xs:include schemaLocation="BODs/Developer/SyncChartofAccounts.xsd"/>

In addition to the preceding issue, the following might also cause an error and should be updated as well

File: Oagis/9.0/Resources/OAGIS-9_0-Resources.xsd)

Change line 22:
  • From:

  • <xs:import namespace="http://www.openapplications.org/oagis/9/codelists" schemaLocation="Components\Common\CodeLists.xsd"/>

  • To:

  • <xs:import namespace="http://www.openapplications.org/oagis/9/codelists" schemaLocation="Components/Common/CodeLists.xsd"/>

[{"Product":{"code":"SSQQFK","label":"WebSphere Integration Developer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Importing and Exporting applications","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21291316