Skip to content

Commit

Permalink
Initialise for v12
Browse files Browse the repository at this point in the history
  • Loading branch information
bthomps committed Jan 18, 2021
1 parent c88b165 commit 83961bf
Show file tree
Hide file tree
Showing 8 changed files with 1,785 additions and 0 deletions.
340 changes: 340 additions & 0 deletions v12/doc/_data.json

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions v12/src/ISO8583/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ISO8583</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.ibm.etools.mft.applib.applibbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.applib.applibresourcevalidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.connector.policy.ui.PolicyBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.connector.ui.editor.connectorServiceBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.connector.ui.editor.connectorEventBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.uri.sharedlibbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.applib.mbprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.msg.validation.dfdl.mlibdfdlbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.flow.adapters.adapterbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.flow.sca.scabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.msg.validation.dfdl.mbprojectresourcesbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.esql.lang.esqllangbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.map.builder.mslmappingbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.flow.msgflowxsltbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.flow.msgflowbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.decision.service.ui.decisionservicerulebuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.pattern.capture.PatternBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.msg.validation.dfdl.dfdlqnamevalidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.bar.ext.barbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.mft.unittest.ui.TestCaseBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.ibm.etools.msgbroker.tooling.libraryNature</nature>
<nature>com.ibm.etools.msgbroker.tooling.messageBrokerProjectNature</nature>
<nature>com.ibm.etools.msgbroker.tooling.sharedLibraryNature</nature>
</natures>
</projectDescription>
1,056 changes: 1,056 additions & 0 deletions v12/src/ISO8583/1987/ISO8583_1987.xsd

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions v12/src/ISO8583/Common/ISO8583Format.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************
*
* Permission has been granted to IBM by BSI to publish the following schema which contains material derived
* from ISO 8583-1.
*
* BSI and IBM hereby grant permission, to those obtaining a copy of these materials, to use, copy and modify
* the materials solely for use with DFDL processors.
*
* For any further reproduction of ISO or BSI material please contact copyright@bsigroup.com
*
* ISO Standards can be obtained in PDF or hard copy formats from the ISO store:
* http://www.iso.org/iso/home/store.htm
*
* © Copyright ISO, 2003
*
* © Copyright International Business Machines Corporation, 2015.
*
***********************************************************************
*
* Version 1.2 ISO8583Format.xsd
*
* This DFDL schema is for use with the IIB v10 DFDL ISO8583 tutorial.
*
* This DFDL schema provides a set of DFDL property values and other DFDL constructs
* to assist in the creation of DFDL schemas that model ISO8583 1987 and 1993 data.
*
* To use the schema in another schema:
* <xs:import namespace="http://www.ibm.com/dfdl/ISO8583Format" schemaLocation="ISO8583Format.xsd"/>
*
* To apply the contained property values as defaults to all objects in a schema:
* <xs:annotation>
* <xs:appinfo source="http://www.ogf.org/dfdl/">
* <dfdl:format ref="ISO8583Format:ISO8583Format"/>
* </xs:appinfo>
* </xs:annotation>
*
******************************************************************* -->

<xs:schema
targetNamespace="http://www.ibm.com/dfdl/ISO8583Format"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/"
xmlns:tns="http://www.ibm.com/dfdl/ISO8583Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
>

<!-- A set of property values suitable for use as defaults for ISO8583 schema -->
<xs:annotation>
<xs:appinfo source="http://www.ogf.org/dfdl/">

<dfdl:defineVariable defaultValue="false" external="false" name="secondaryBitmapExists" type="xs:boolean"/>

<dfdl:defineFormat name="ISO8583Format">
<dfdl:format encoding="US-ASCII" ignoreCase="no" byteOrder="bigEndian"
representation="text" textPadKind="none" textTrimKind="padChar" textBidi="no" escapeSchemeRef=""
textStringJustification="left" truncateSpecifiedLengthString="no" textStringPadCharacter="%SP;"
decimalSigned="yes" textNumberRep="standard" textNumberCheckPolicy="lax" textNumberJustification="right"
textNumberPadCharacter="%SP;" textNumberRoundingMode="roundUp" textNumberRounding="pattern"
textZonedSignStyle="asciiStandard"
textStandardBase="10" textStandardDecimalSeparator="." textStandardExponentCharacter="E"
textStandardInfinityRep="Inf" textStandardNaNRep="NaN" textStandardGroupingSeparator="," textStandardZeroRep=""
textBooleanJustification="left" textBooleanPadCharacter="%SP;"
calendarPatternKind="implicit" calendarPattern="yyyy-MM-dd'T'HH:mm:ss" calendarCheckPolicy="lax" calendarTimeZone="UTC"
calendarObserveDST="yes" calendarFirstDayOfWeek="Monday" calendarDaysInFirstWeek="4" calendarCenturyStart="53" calendarLanguage="en-US"
textCalendarJustification="left" textBooleanTrueRep="true" textBooleanFalseRep="false" textCalendarPadCharacter="%SP;"
sequenceKind="ordered" floating="no" separator="" separatorPolicy="required" separatorPosition="infix"
choiceLengthKind="implicit" initiatedContent="no"
lengthKind="explicit" prefixIncludesPrefixLength="no" lengthUnits="bytes"
alignment="1" alignmentUnits="bytes" leadingSkip="0" trailingSkip="0" fillByte="0"
nilValueDelimiterPolicy="none" emptyValueDelimiterPolicy="none"
initiator="" terminator="" documentFinalTerminatorCanBeMissing="no" outputNewLine="%CR;%LF;"
occursCountKind="expression"
binaryFloatRep="ieee" binaryNumberCheckPolicy="lax" binaryDecimalVirtualPoint="0">
</dfdl:format>
</dfdl:defineFormat>
</xs:appinfo>
</xs:annotation>

</xs:schema>
194 changes: 194 additions & 0 deletions v12/src/ISO8583/Common/ISO8583Types.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************
*
* Permission has been granted to IBM by BSI to publish the following schema which contains material derived
* from ISO 8583-1.
*
* BSI and IBM hereby grant permission, to those obtaining a copy of these materials, to use, copy and modify
* the materials solely for use with DFDL processors.
*
* For any further reproduction of ISO or BSI material please contact copyright@bsigroup.com
*
* ISO Standards can be obtained in PDF or hard copy formats from the ISO store:
* http://www.iso.org/iso/home/store.htm
*
* © Copyright ISO, 2003
*
* © Copyright International Business Machines Corporation, 2015.
*
***********************************************************************
*
* Version 1.4 ISO8583Types.xsd
*
* This DFDL schema is for use with the IIB v10 DFDL ISO8583 tutorial.
*
* This DFDL schema provides a set of DFDL-annotated data types
* to assist in the creation of DFDL schemas that model ISO8583 1987 and 1993 data.
*
* To use the schema in another schema:
* <xs:import namespace="http://www.ibm.com/dfdl/ISO8583Types" schemaLocation="ISO8583Types.xsd"/>
*
******************************************************************* -->
<xs:schema
targetNamespace="http://www.ibm.com/dfdl/ISO8583Types"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/"
xmlns:tns="http://www.ibm.com/dfdl/ISO8583Types"
xmlns:ISO8583Format="http://www.ibm.com/dfdl/ISO8583Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
>

<xs:import namespace="http://www.ibm.com/dfdl/ISO8583Format" schemaLocation="ISO8583Format.xsd"/>

<xs:annotation>
<xs:appinfo source="http://www.ogf.org/dfdl/">
<!-- Format annotation to apply default property values to all objects -->
<dfdl:format ref="ISO8583Format:ISO8583Format"/>
</xs:appinfo>
</xs:annotation>


<xs:simpleType name="Type_Bit" dfdl:byteOrder="bigEndian" dfdl:alignmentUnits="bits" dfdl:binaryNumberRep="binary" dfdl:length="1" dfdl:lengthUnits="bits" dfdl:representation="binary" >
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>

<xs:simpleType name="Type_Bit_Unpacked" dfdl:length="1" dfdl:lengthUnits="characters" >
<xs:restriction base="xs:string"/>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="right" dfdl:textStringPadCharacter="0" dfdl:textTrimKind="none" name="Type_n_string">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_a_string">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_an_string">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_n_or_a_string">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]+|[A-Za-z]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_ans_string">
<xs:restriction base="xs:string">
<xs:pattern value=".+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_ns_string">
<xs:restriction base="xs:string">
<xs:pattern value="[^A-Za-z]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:textStringJustification="left" dfdl:textStringPadCharacter="%SP;" dfdl:textTrimKind="none" name="Type_anp_string">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9 ]+"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="Type_b_hexBinary" dfdl:representation="binary" dfdl:fillByte="%#r00;">
<xs:restriction base="xs:hexBinary">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_an_LL">
<xs:restriction base="tns:Type_an_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_an_LLL">
<xs:restriction base="tns:Type_an_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_ans_LL">
<xs:restriction base="tns:Type_ans_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_ans_LLL">
<xs:restriction base="tns:Type_ans_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_z_LL">
<xs:restriction base="tns:Type_ans_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_z_LLL">
<xs:restriction base="tns:Type_ans_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_n_LL">
<xs:restriction base="tns:Type_n_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_n_LLL">
<xs:restriction base="tns:Type_n_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_ns_LL">
<xs:restriction base="tns:Type_ns_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_ns_LLL">
<xs:restriction base="tns:Type_ns_string"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength2" name="Type_b_LL">
<xs:restriction base="tns:Type_b_hexBinary"/>
</xs:simpleType>

<xs:simpleType dfdl:lengthKind="prefixed" dfdl:prefixLengthType="tns:PrefixLength3" name="Type_b_LLL">
<xs:restriction base="tns:Type_b_hexBinary"/>
</xs:simpleType>

<xs:simpleType dfdl:textNumberPadCharacter="0" dfdl:textPadKind="padChar" dfdl:textTrimKind="padChar" name="Type_n_decimal">
<xs:restriction base="xs:decimal"/>
</xs:simpleType>

<!-- Not full dateTime so use numeric string: dfdl:calendarPattern="MMddHHmmss" dfdl:calendarPatternKind="explicit" -->
<xs:simpleType name="Type_n_dateTimeNoYear">
<xs:restriction base="tns:Type_n_string"/>
</xs:simpleType>

<xs:simpleType name="Type_n_dateTime" dfdl:calendarPattern="yyMMddHHmmss" dfdl:calendarPatternKind="explicit">
<xs:restriction base="xs:dateTime"/>
</xs:simpleType>

<xs:simpleType name="Type_n_time" dfdl:calendarPattern="HHmmss" dfdl:calendarPatternKind="explicit">
<xs:restriction base="xs:time"/>
</xs:simpleType>

<!-- Not full date so use numeric string: dfdl:calendarPattern="MMdd" dfdl:calendarPatternKind="explicit" -->
<xs:simpleType name="Type_n_monthDay">
<xs:restriction base="tns:Type_n_string"/>
</xs:simpleType>

<!-- Not full date so use numeric string: dfdl:calendarPattern="yyMM" dfdl:calendarPatternKind="explicit" -->
<xs:simpleType name="Type_n_yearMonth">
<xs:restriction base="tns:Type_n_string"/>
</xs:simpleType>

<xs:simpleType name="Type_n_date" dfdl:calendarPattern="yyMMdd" dfdl:calendarPatternKind="explicit">
<xs:restriction base="xs:date"/>
</xs:simpleType>

<xs:simpleType dfdl:length="3" dfdl:lengthUnits="bytes" dfdl:textNumberPadCharacter="0" dfdl:textNumberPattern="000" dfdl:textNumberRep="standard" dfdl:textPadKind="padChar" name="PrefixLength3">
<xs:restriction base="xs:integer"/>
</xs:simpleType>

<xs:simpleType dfdl:length="2" dfdl:lengthUnits="bytes" dfdl:textNumberCheckPolicy="lax" dfdl:textNumberPadCharacter="0" dfdl:textNumberPattern="00" dfdl:textNumberRep="standard" dfdl:textPadKind="padChar" name="PrefixLength2">
<xs:restriction base="xs:integer"/>
</xs:simpleType>

</xs:schema>
Binary file added v12/src/ISO8583/ISO8583_1987_Test_Data_1.txt
Binary file not shown.
Binary file added v12/src/ISO8583/ISO8583_1987_Test_Data_2.txt
Binary file not shown.
1 change: 1 addition & 0 deletions v12/src/ISO8583/library.descriptor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:libDescriptor xmlns="http://com.ibm.etools.mft.descriptor.base" xmlns:ns2="http://com.ibm.etools.mft.descriptor.lib" type="com.ibm.etools.msgbroker.tooling.sharedLibraryNature"><references/></ns2:libDescriptor>

0 comments on commit 83961bf

Please # to comment.