Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB nxsd Pipe delimited File - Trailer

3372993Aug 12 2017 — edited Aug 16 2017

Hi Friends,

I am facing an issue with writing an nxsd.

Sample file:

a|b|c|d|e|h|i|

a|b|c|d|e|f|h|

CHMICST.MICS.SNDCK02.DVC.BUCADN.IBSIN

CHMICST.MICS.PRODJCL(CHMSNDC2)

In the above file last two lines are the trailer lines and I am unable to read the file with the trailer(able to read without the trailer) as the file is pipe delimited and the trailer is '.' separated.For the last 2 lines the xsd is as below:

xsd:

<xsd:element name="Trailer" minOccurs="0" nxsd:startsWith="CHMICST" maxOccurs="unbounded" nxsd:style="array" nxsd:cellSeparatedBy="." ">

         <xsd:complexType>

            <xsd:sequence>

            <xsd:element name="C1" type="xsd:string"/>

<xsd:element name="C2" type="xsd:string"/>

<xsd:element name="C3" type="xsd:string"/>

<xsd:element name="C4" type="xsd:string"/>

<xsd:element name="C5" type="xsd:string"/>

<xsd:element name="C6" type="xsd:string" nxsd:terminatedBy="${eol}"/>

            </xsd:sequence>

          </xsd:complexType>

       </xsd:element>

Please suggest how my nxsd sould look like.

Thanks,

Meera

This post has been answered by Krishna Hanumantharao on Aug 15 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2017
Added on Aug 12 2017
13 comments
795 views