Venkataraman, I started taking a look at this.
A few observations. The data appears to be fixed length 196 characters, and I don't see any line-endings in the file. So your main "file" element is a separated sequence with separator %NL;, but that doesn't match the data file. I'm going to clean up your schema a bit and send back to you. A few quick things will make it much easier to work with. On Tue, Apr 5, 2022 at 11:46 AM Sethuraman, Venkataraman < venkataramansethura...@chevron.com> wrote: > Here is the attachment again. > > Please unzip it. > > Thanks > > > > *From:* Sethuraman, Venkataraman > *Sent:* Tuesday, April 5, 2022 10:38 AM > *To:* d...@daffodil.apache.org; users@daffodil.apache.org > *Subject:* Request help with creating annotations for fixed length to XML > and vice versa and JSON to XML and vice versa > > > > Hi all > > I’m trying to use Apache Daffodil for the following scenarios: > > - Convert a fixed length text file to XML or JSON file. > - Convert XML or JSON back to fixed length text file. > - Convert XML file to JSON file. > - Convert JSON file to XML file. > > Will it be possible to get some sample XSD files to implement the above > scenarios? > > Also I tried to parse the attached sample files and their xsd from the url > at . > > I got error messages that I have attached as well. > > Please let me know what corrections I need to make to the xsd for the > sample to run against daffodil version 3.3. > > Thanks > Venkat >