Error 'declared more than once or also declared as simpleType' when parsing XML data.

Technote (troubleshooting)


Problem(Abstract)

Parsing XML data using IBM WebSphere® Transformation Extender (WTX) results in the error 'declared more than once or also declared as simpleType'.

Symptom

Error encountered 'Global complexType:'ComplexTypeName' declared more than once or also declared as simpleType'


Cause

The names of the XML Schemas are case sensitive.

Environment

For example : both CommonRecords.xsd and commonrecords.xsd are mentioned in the XML schemas in the include section.

The Xerces parser considers CommonRecords.xsd and commonrecords.xsd to be different schemas.

Diagnosing the problem

The WTX XML Audit log contains the error Global complexType:'ComplexTypeName' declared more than once or also declared as simpleType'.

Resolving the problem

In the XML Schemas rename 'schemaLocation="commonrecords.xsd"' so that all references to commonrecords.xsd are the same (case specific).

Product Alias/Synonym

Mercator Ascential DataStage TX

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Transformation Extender

Software version:

8.3.0.0, 8.3.0.1, 8.3.0.2, 8.3.0.3, 8.3.0.4, 8.3.0.5, 8.4, 8.4.0.0, 8.4.0.1, 8.4.0.2, 8.4.0.3

Operating system(s):

AIX, HP Itanium, HP-UX, Linux, Linux zSeries, Solaris, Windows, z/OS

Reference #:

1637051

Modified date:

2013-05-22

Translate my page

Machine Translation

Content navigation