Welcome! The TLog schema was originally written by IBM to work for IBM DFDL, but requires a few minor changes to work with Daffodil. Those changes have not been merged into the master branch of the IBM Tlog repo yet, but are available on the "forDaffodilDev" branch.
Note that the forDaffodilDev branch also moves files around to what we call the "standard DFDL project layout" so the locations of the DFDL schemas and test files are a little different. On 7/24/21 1:44 AM, Anil Khiani wrote: > Hi Team, > > I am new to DFDL and getting introduced. I downloaded the latest release > 3.1.0 > > I was successfully able to run command line example of csv repository. I > was looking to implement DFDL for one of my current projects where we got > IBM Tlogs from 4690 > > I downloaded the xsd from https://dfdlschemas.github.io/IBM4690-TLOG/ > > I tried running the command line against the schema against the sample > provided EAMTRANA_2.DAT > > ``` > > Command : ./daffodil parse --schema TlogSA.xsd EAMTRANA_2.DAT > > I get following errors > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 179 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 1050 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 313 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 1270 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 1487 > column 114 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 459 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: ItemCode Location line 1681 column 18 in > file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 873 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 1717 > column 50 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > [error] Schema Definition Error: xs:hexBinary with > dfdl:lengthKind="delimited" or dfdl:lengthKind="pattern" must have > dfdl:encoding="ISO-8859-1", but was "US-ASCII" > > Schema context: element reference sa:CustomUserField Location line 1247 > column 18 in file:/usr/local/apache-daffodil-3.1.0-bin/bin/TlogSA.xsd > > ``` > > Wondering if someone can please assist with this. Appreciate all your > help/support in advance > > > Regards > > Anil Khiani >