Oracle Weblogic Server (MOSC)

MOSC Banner

Using FileAdapter for reading input files

edited Jun 20, 2012 10:38PM in Oracle Weblogic Server (MOSC) 1 commentAnswered
Dear Team,

When using a file adapter that reads a .csv file, and the csv file is in wrong format(does not have enough column separators) the file adapter does not throw any error.

 

Example:

Schema defining a csv with 3 fields

 

  <xsd:element name="Root-Element">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="response" minOccurs="1" maxOccurs="unbounded">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="FIELD1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";" nxsd:quotedBy="&quot;" />
              <xsd:element name="FIELD2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=";" nxsd:quotedBy="&quot;" />
              <xsd:element name="FIELD3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center