My Oracle Support Banner

XMLParserException "Expected name instead of 0" Reading JSON Complex File Technology (Doc ID 2643834.1)

Last updated on MARCH 06, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 and later
Oracle Data Integrator on Marketplace - Version 1.0.2 and later
Information in this document applies to any platform.

Symptoms

NOTE: In the examples below, the names represent a fictitious sample for clarity. Any similarity to actual environments, past or present, is purely coincidental and not intended in any manner.

When creating an Oracle Data Integrator (ODI) Complex File data server using a JSON file with an identifier name starting with a number, it fails with the following parsing error:

Schema Generation Error
Failed to generate a schema from the sample JSON
oracle.xml.parser.v2.XMLParserException; line 1; column number 127;Expected name instead of 0.
Check the error stack and fix the cause of the error
Contact oracle support if error is not fixable.

The JSON file has the identifiers as follows

{
  "TestData": {
    "01. string one": "value one",
    "02. string two": "value two",
    "04. string three": "value three",
    "05. string four": "value four",
    "06. string five": "value five",
    "07. string six": "value six"
  }
}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.