├── .asf.yaml ├── .codecov.yml ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── dependency-graph.yml │ ├── main.yml │ └── release-candidate.yml ├── .gitignore ├── .sbtopts ├── .scala-steward.conf ├── .scalafmt.conf ├── .sonar-project.properties ├── BUILD.md ├── DEVELOP.md ├── LICENSE ├── NOTICE ├── README.md ├── VERSION ├── build.sbt ├── containers └── release-candidate │ ├── Dockerfile │ ├── README.md │ └── src │ ├── daffodil-release-candidate │ └── plugins.sbt ├── daffodil-cli ├── README.md ├── bin.LICENSE ├── bin.NOTICE ├── build.sbt └── src │ ├── conf │ └── .keep │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── cli │ │ ├── InfosetTypes.scala │ │ ├── Main.scala │ │ └── debugger │ │ └── CLIDebuggerRunner.scala │ ├── templates │ ├── bash-template │ └── bat-template │ ├── test │ ├── resources │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.runtime1.layers.api.Layer │ │ ├── org │ │ │ └── apache │ │ │ │ └── daffodil │ │ │ │ ├── cli │ │ │ │ ├── ABC_IBM_invalid.dfdl.xsd │ │ │ │ ├── bits_parsing.dfdl.xsd │ │ │ │ ├── blob_backtracking.dfdl.xsd │ │ │ │ ├── charClassEntities.dfdl.xsd │ │ │ │ ├── cli_schema.dfdl.xsd │ │ │ │ ├── cli_schema_02.dfdl.xsd │ │ │ │ ├── cli_schema_03.dfdl.xsd │ │ │ │ ├── cli_schema_04.dfdl.xsd │ │ │ │ ├── complex_types.dfdl.xsd │ │ │ │ ├── debug.txt │ │ │ │ ├── global_element.dfdl.xsd │ │ │ │ ├── global_element_import.dfdl.xsd │ │ │ │ ├── input │ │ │ │ │ ├── gen_blob.py │ │ │ │ │ ├── hextest.txt │ │ │ │ │ ├── input1.txt │ │ │ │ │ ├── input1.txt.xml │ │ │ │ │ ├── input10.txt │ │ │ │ │ ├── input11.txt │ │ │ │ │ ├── input12.txt │ │ │ │ │ ├── input13.txt │ │ │ │ │ ├── input14.exi │ │ │ │ │ ├── input14.exisa │ │ │ │ │ ├── input14.txt │ │ │ │ │ ├── input15.txt │ │ │ │ │ ├── input16.txt │ │ │ │ │ ├── input18.exi │ │ │ │ │ ├── input18.exisa │ │ │ │ │ ├── input18.json │ │ │ │ │ ├── input18.txt │ │ │ │ │ ├── input19.txt │ │ │ │ │ ├── input2.txt │ │ │ │ │ ├── input3.txt │ │ │ │ │ ├── input4.txt │ │ │ │ │ ├── input5.txt │ │ │ │ │ ├── input6.txt │ │ │ │ │ ├── input7.txt │ │ │ │ │ ├── input8.txt │ │ │ │ │ ├── input9.txt │ │ │ │ │ ├── input9.txt.xml │ │ │ │ │ ├── inputBig1M.txt │ │ │ │ │ ├── prefix.txt │ │ │ │ │ ├── test_DFDL-714.txt │ │ │ │ │ └── uuid.txt │ │ │ │ ├── large_blob.dfdl.xsd │ │ │ │ ├── prefixed_length.dfdl.xsd │ │ │ │ ├── single.dfdl.xsd │ │ │ │ ├── single_conf_bad.txt │ │ │ │ ├── suppressWarnTest.dfdl.xsd │ │ │ │ ├── testNonCompatibleImplementation.tdml │ │ │ │ ├── trace_input.dfdl.xsd │ │ │ │ ├── unqualified_path_step.dfdl.xsd │ │ │ │ ├── xcatalog_import_failure.dfdl.xsd │ │ │ │ └── xcatalog_invalid.xml │ │ │ │ └── layers │ │ │ │ ├── buggy.dfdl.xsd │ │ │ │ └── xsd │ │ │ │ └── buggyLayer.dfdl.xsd │ │ └── test │ │ │ └── cli │ │ │ ├── fixedLength.dfdl.xsd │ │ │ └── unboundedBinary.dfdl.xsd │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ ├── cli │ │ └── cliTest │ │ │ ├── TestBlob.scala │ │ │ ├── TestCLIGenerate.scala │ │ │ ├── TestCLIParsing.scala │ │ │ ├── TestCLIPerformance.scala │ │ │ ├── TestCLISaveParser.scala │ │ │ ├── TestCLITunables.scala │ │ │ ├── TestCLIUnparsing.scala │ │ │ ├── TestCLItdml.scala │ │ │ ├── TestEXIEncodeDecode.scala │ │ │ ├── TestValidatorPatterns.scala │ │ │ ├── Util.scala │ │ │ └── schematron │ │ │ ├── TestEmbedded.scala │ │ │ ├── TestSvrlOutput.scala │ │ │ └── TestValidating.scala │ │ └── layers │ │ └── BuggyLayer.scala │ └── windows │ ├── apache-daffodil.ico │ ├── apache-daffodil.iss │ └── dialog.bmp ├── daffodil-codegen-c └── src │ ├── main │ ├── resources │ │ ├── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── codegen │ │ │ └── c │ │ │ └── files │ │ │ ├── .clang-format │ │ │ ├── Makefile │ │ │ ├── libcli │ │ │ ├── cli_errors.c │ │ │ ├── cli_errors.h │ │ │ ├── daffodil_getopt.c │ │ │ ├── daffodil_getopt.h │ │ │ ├── daffodil_main.c │ │ │ ├── daffodil_version.h │ │ │ ├── stack.c │ │ │ ├── stack.h │ │ │ ├── xml_reader.c │ │ │ ├── xml_reader.h │ │ │ ├── xml_writer.c │ │ │ └── xml_writer.h │ │ │ ├── libruntime │ │ │ ├── errors.c │ │ │ ├── errors.h │ │ │ ├── infoset.c │ │ │ ├── infoset.h │ │ │ ├── p_endian.h │ │ │ ├── parsers.c │ │ │ ├── parsers.h │ │ │ ├── unparsers.c │ │ │ ├── unparsers.h │ │ │ ├── validators.c │ │ │ └── validators.h │ │ │ └── tests │ │ │ ├── bits.c │ │ │ └── extras.c │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── codegen │ │ └── c │ │ ├── DaffodilCCodeGenerator.scala │ │ ├── DaffodilCExamplesGenerator.scala │ │ └── generators │ │ ├── AlignmentFillCodeGenerator.scala │ │ ├── AssertStatementGenerateCode.scala │ │ ├── BinaryBooleanCodeGenerator.scala │ │ ├── BinaryFloatCodeGenerator.scala │ │ ├── BinaryIntegerKnownLengthCodeGenerator.scala │ │ ├── BinaryValueCodeGenerator.scala │ │ ├── CodeGeneratorState.scala │ │ ├── HexBinaryCodeGenerator.scala │ │ └── package.scala │ └── test │ ├── examples │ ├── NestedUnion │ │ ├── generated_code.c │ │ └── generated_code.h │ ├── ex_nums │ │ ├── generated_code.c │ │ └── generated_code.h │ ├── padtest │ │ ├── generated_code.c │ │ └── generated_code.h │ ├── simple │ │ ├── generated_code.c │ │ └── generated_code.h │ └── variablelen │ │ ├── generated_code.c │ │ └── generated_code.h │ ├── resources │ └── org │ │ └── apache │ │ └── daffodil │ │ └── codegen │ │ └── c │ │ ├── data │ │ ├── ex_nums.dat │ │ ├── ex_nums.error.dat │ │ ├── nested.struct.dat │ │ ├── nested.struct.diag1.dat │ │ ├── nested.struct.diag2.dat │ │ ├── nested.struct.err1.dat │ │ ├── nested.struct.err2.dat │ │ ├── nested.union.bar.dat │ │ ├── nested.union.foo.dat │ │ ├── padtest.00.dat │ │ ├── padtest.01.dat │ │ ├── padtest.16.dat │ │ ├── padtest.17.dat │ │ ├── variablelen.00.dat │ │ ├── variablelen.01.dat │ │ ├── variablelen.16.dat │ │ ├── variablelen.17.dat │ │ ├── variablelen.expression.dat │ │ ├── variablelen.fixed.dat │ │ ├── variablelen.implicit.dat │ │ ├── variablelen.parsed.dat │ │ └── variablelen.stopValue.dat │ │ ├── ex_nums.dfdl.xsd │ │ ├── ex_nums.tdml │ │ ├── infosets │ │ ├── ex_nums.dat.xml │ │ ├── ex_nums.error.dat.xml │ │ ├── nested.struct.dat.xml │ │ ├── nested.struct.diag1.dat.xml │ │ ├── nested.struct.diag2.dat.xml │ │ ├── nested.struct.err1.dat.xml │ │ ├── nested.struct.err2.dat.xml │ │ ├── nested.union.bar.dat.xml │ │ ├── nested.union.foo.dat.xml │ │ ├── padtest.00.dat.xml │ │ ├── padtest.01.dat.xml │ │ ├── padtest.16.dat.xml │ │ ├── padtest.17.dat.xml │ │ ├── variablelen.00.dat.xml │ │ ├── variablelen.01.dat.xml │ │ ├── variablelen.16.dat.xml │ │ ├── variablelen.17.dat.xml │ │ ├── variablelen.expression.dat.xml │ │ ├── variablelen.fixed.dat.xml │ │ ├── variablelen.implicit.dat.xml │ │ ├── variablelen.parsed.dat.xml │ │ └── variablelen.stopValue.dat.xml │ │ ├── nested.dfdl.xsd │ │ ├── nested.tdml │ │ ├── network │ │ └── format.dfdl.xsd │ │ ├── padtest.dfdl.xsd │ │ ├── padtest.tdml │ │ ├── simple.dfdl.xsd │ │ ├── simple.tdml │ │ ├── simple_errors.tdml │ │ ├── variablelen.dfdl.xsd │ │ └── variablelen.tdml │ └── scala │ └── org │ └── apache │ └── daffodil │ └── codegen │ └── c │ └── TestDaffodilCExamplesGenerator.scala ├── daffodil-core └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── core │ │ ├── compiler │ │ ├── Compiler.scala │ │ └── RootSpec.scala │ │ ├── dpath │ │ ├── Conversions.scala │ │ ├── DFDLExpressionParser.scala │ │ ├── Expression.scala │ │ └── NodeInfoUtils.scala │ │ ├── dsom │ │ ├── AnnotatedSchemaComponent.scala │ │ ├── ChoiceGroup.scala │ │ ├── CompiledExpression.scala │ │ ├── ComplexTypes.scala │ │ ├── DFDLAnnotation.scala │ │ ├── DFDLAssertion.scala │ │ ├── DFDLDefineFormat.scala │ │ ├── DFDLDefineVariable.scala │ │ ├── DFDLDefiningAnnotation.scala │ │ ├── DFDLEscapeScheme.scala │ │ ├── DFDLFormat.scala │ │ ├── DFDLFormatAnnotation.scala │ │ ├── DFDLProperty.scala │ │ ├── DFDLSchemaFile.scala │ │ ├── DFDLStatement.scala │ │ ├── DFDLStatementMixin.scala │ │ ├── ElementBase.scala │ │ ├── ElementDeclMixin.scala │ │ ├── ElementRef.scala │ │ ├── EscapeSchemeRefMixin.scala │ │ ├── Facets.scala │ │ ├── GlobalElementDecl.scala │ │ ├── GroupDef.scala │ │ ├── GroupRef.scala │ │ ├── IIBase.scala │ │ ├── Import.scala │ │ ├── Include.scala │ │ ├── InitiatedTerminatedMixin.scala │ │ ├── LocalElementDecl.scala │ │ ├── LocalElementMixin.scala │ │ ├── ModelGroup.scala │ │ ├── NamedMixin.scala │ │ ├── Nesting.scala │ │ ├── ParticleMixin.scala │ │ ├── PropProviders.scala │ │ ├── RawCommonRuntimeValuedPropertiesMixin.scala │ │ ├── RealTermMixin.scala │ │ ├── RestrictionUnion.scala │ │ ├── Root.scala │ │ ├── RuntimePropertyMixins.scala │ │ ├── SchemaComponent.scala │ │ ├── SchemaComponentFactory.scala │ │ ├── SchemaComponentIncludesAndImportsMixin.scala │ │ ├── SchemaDocIncludesAndImportsMixin.scala │ │ ├── SchemaDocument.scala │ │ ├── SchemaSet.scala │ │ ├── SchemaSetIncludesAndImportsMixins.scala │ │ ├── SequenceGroup.scala │ │ ├── SimpleTypes.scala │ │ ├── Term.scala │ │ ├── TermEncodingMixin.scala │ │ ├── UnparserInfo.scala │ │ ├── package.scala │ │ └── walker │ │ │ └── AbstractDSOMWalker.scala │ │ ├── grammar │ │ ├── AlignedMixin.scala │ │ ├── BitOrderMixin.scala │ │ ├── ByteOrderMixin.scala │ │ ├── ChoiceGrammarMixin.scala │ │ ├── ElementBaseGrammarMixin.scala │ │ ├── ElementDeclGrammarMixin.scala │ │ ├── Grammar.scala │ │ ├── GrammarMixin.scala │ │ ├── GrammarTerm.scala │ │ ├── HasStatementsGrammarMixin.scala │ │ ├── LocalElementGrammarMixin.scala │ │ ├── ModelGroupGrammarMixin.scala │ │ ├── Production.scala │ │ ├── RepTypeMixin.scala │ │ ├── SchemaSetGrammarMixin.scala │ │ ├── SequenceGrammarMixin.scala │ │ ├── TermGrammarMixin.scala │ │ ├── package.scala │ │ └── primitives │ │ │ ├── ChoiceCombinator.scala │ │ │ ├── DelimiterAndEscapeRelated.scala │ │ │ ├── ElementCombinator.scala │ │ │ ├── HiddenGroupCombinator.scala │ │ │ ├── LayeredSequence.scala │ │ │ ├── NilEmptyCombinators.scala │ │ │ ├── Padded.scala │ │ │ ├── PatternChecker.scala │ │ │ ├── Primitives.scala │ │ │ ├── PrimitivesBCD.scala │ │ │ ├── PrimitivesBinaryBoolean.scala │ │ │ ├── PrimitivesBinaryNumber.scala │ │ │ ├── PrimitivesDateTime.scala │ │ │ ├── PrimitivesDelimiters.scala │ │ │ ├── PrimitivesExpressions.scala │ │ │ ├── PrimitivesFraming.scala │ │ │ ├── PrimitivesIBM4690Packed.scala │ │ │ ├── PrimitivesLengthKind.scala │ │ │ ├── PrimitivesNil.scala │ │ │ ├── PrimitivesNonBaseTenTextNumber.scala │ │ │ ├── PrimitivesPacked.scala │ │ │ ├── PrimitivesRepType.scala │ │ │ ├── PrimitivesTextBoolean.scala │ │ │ ├── PrimitivesTextNumber.scala │ │ │ ├── PrimitivesZoned.scala │ │ │ ├── SequenceChild.scala │ │ │ ├── SequenceCombinator.scala │ │ │ └── SpecifiedLength.scala │ │ ├── layers │ │ └── LayerSchemaCompiler.scala │ │ ├── runtime1 │ │ ├── ChoiceTermRuntime1Mixin.scala │ │ ├── ElementBaseRuntime1Mixin.scala │ │ ├── GramRuntime1Mixin.scala │ │ ├── LocalElementDeclBaseRuntime1Mixin.scala │ │ ├── ModelGroupRuntime1Mixin.scala │ │ ├── SchemaComponentRuntime1Mixin.scala │ │ ├── SchemaSetRuntime1Mixin.scala │ │ ├── SequenceTermRuntime1Mixin.scala │ │ ├── SimpleTypeRuntime1Mixin.scala │ │ ├── TermRuntime1Mixin.scala │ │ ├── VariableRuntime1Mixin.scala │ │ └── package.scala │ │ └── util │ │ ├── FuzzData.scala │ │ └── TestUtils.scala │ └── test │ ├── resources │ └── test │ │ ├── TestDelimiterInheritance.dfdl.xml │ │ ├── TestRefChainingIBM7132.dfdl.xml │ │ ├── example-of-most-dfdl-constructs.dfdl.xml │ │ ├── example-of-named-format-chaining-and-element-simpleType-property-combining.dfdl.xml │ │ ├── example_a02_targetnamespace_unqualified.dfdl.xsd │ │ ├── example_c02_targetnamespace_qualified.dfdl.xsd │ │ ├── example_nested_namespaces_qualified.dfdl.xsd │ │ ├── example_nested_namespaces_qualified_with_default.dfdl.xsd │ │ ├── example_nested_namespaces_unqualified.dfdl.xsd │ │ ├── example_no_targetnamespace.dfdl.xsd │ │ ├── external_vars_1.xml │ │ └── xmlDocWithBadDTD.xml │ └── scala │ └── org │ └── apache │ └── daffodil │ └── core │ ├── api │ ├── TestAPI.scala │ ├── TestAPI1.scala │ ├── TestDsomCompiler3.scala │ ├── TestForHeapDump.scala │ ├── TestMetadataWalking.scala │ └── TestParseIndividualMessages.scala │ ├── dpath │ ├── TestDFDLExpressionEvaluation.scala │ ├── TestDFDLExpressionTree.scala │ └── TestDPath.scala │ ├── dsom │ ├── TestAppinfoSyntax.scala │ ├── TestBinaryInput_01.scala │ ├── TestDsomCompiler.scala │ ├── TestDsomCompilerUnparse1.scala │ ├── TestExternalVariables.scala │ ├── TestInputValueCalc.scala │ ├── TestInteriorAlignmentElimination.scala │ ├── TestIsScannable.scala │ ├── TestMiddleEndAttributes.scala │ ├── TestMiddleEndAttributes2.scala │ ├── TestMiddleEndAttributes3.scala │ ├── TestPolymorphicUpwardRelativeExpressions.scala │ ├── TestPropertyScoping.scala │ ├── TestRefMap.scala │ ├── TestSimpleTypeUnions.scala │ └── walker │ │ ├── BasicWalker.scala │ │ └── TestDSOMWalker.scala │ ├── externalvars │ └── TestExternalVariables.scala │ ├── general │ ├── TestDFDLReaders.scala │ ├── TestPrimitives.scala │ ├── TestPrimitives2.scala │ ├── TestRuntimeProperties.scala │ └── TestTunables.scala │ ├── grammar │ ├── TestGrammar.scala │ └── primitives │ │ └── TestPrimitives.scala │ ├── infoset │ ├── TestInfoset.scala │ ├── TestInfoset2.scala │ ├── TestInfosetCursor.scala │ ├── TestInfosetCursor1.scala │ ├── TestInfosetCursorFromReader.scala │ ├── TestInfosetCursorFromReader2.scala │ └── TestInfosetFree.scala │ ├── layers │ ├── TestBoundaryMarkLayer.scala │ ├── TestFixedLengthLayer.scala │ ├── TestGzipErrors.scala │ └── TestLayers.scala │ ├── outputValueCalc │ ├── TestOutputValueCalcAndAlignment.scala │ └── TestOutputValueCalcForwardReference.scala │ ├── processor │ ├── TestSAXParseAPI.scala │ ├── TestSAXParseUnparseAPI.scala │ ├── TestSAXUnparseAPI.scala │ ├── TestSAXUtils.scala │ └── TestSerialization.scala │ ├── runtime1 │ ├── TestDelimiterFinalBacktracking.scala │ ├── TestStreamingUnparserCompilerAttributes.scala │ └── TestUnparseHidden.scala │ ├── schema │ └── annotation │ │ └── props │ │ └── TestPropertyRuntime.scala │ └── xml │ └── TestXMLLoaderWithLocation.scala ├── daffodil-io └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ ├── NOTICE │ │ │ └── services │ │ │ └── org.apache.daffodil.io.processors.charset.BitsCharsetDefinition │ ├── scala-2 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── io │ │ │ └── IOUsingMacrosMixin.scala │ ├── scala-3 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── io │ │ │ └── IOUsingMacrosMixin.scala │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── io │ │ ├── BoundaryMarkStreams.scala │ │ ├── DataInputStream.scala │ │ ├── DataInputStreamImplMixin.scala │ │ ├── DataOutputStream.scala │ │ ├── DataOutputStreamImplMixin.scala │ │ ├── DataStreamCommon.scala │ │ ├── DataStreamCommonImplMixin.scala │ │ ├── DirectOrBufferedDataOutputStream.scala │ │ ├── Dump.scala │ │ ├── FastAsciiToUnicodeConverter.scala │ │ ├── FormatInfo.scala │ │ ├── InputSource.scala │ │ ├── InputSourceDataInputStream.scala │ │ ├── LocalBuffer.scala │ │ ├── RegexLimitingInputStream.scala │ │ ├── StringDataInputStreamForUnparse.scala │ │ ├── ThreadCheckMixin.scala │ │ ├── Utils.scala │ │ └── processors │ │ └── charset │ │ ├── Base4.scala │ │ ├── Binary.scala │ │ ├── BitsCharset.scala │ │ ├── BitsCharsetDecoder.scala │ │ ├── BitsCharsetDefinition.scala │ │ ├── BitsCharsetDefinitionRegistry.scala │ │ ├── BitsCharsetNonByteSize.scala │ │ ├── CharsetUtils.scala │ │ ├── Hex.scala │ │ ├── IBM037.scala │ │ ├── ISO88591.scala │ │ ├── ISO885918BitPacked.scala │ │ ├── Octal.scala │ │ ├── USASCII.scala │ │ ├── USASCII5BitPacked.scala │ │ ├── USASCII6BitPacked.scala │ │ ├── USASCII7BitPacked.scala │ │ ├── UTF16BE.scala │ │ ├── UTF16LE.scala │ │ ├── UTF32BE.scala │ │ ├── UTF32LE.scala │ │ ├── UTF8.scala │ │ └── X_DFDL_MIL_STD.scala │ └── test │ ├── resources │ └── iso8859.doc.dat │ └── scala │ └── org │ └── apache │ └── daffodil │ ├── io │ ├── FormatInfoForUnitTest.scala │ ├── SocketPairTestRig.scala │ ├── TestDaffodilDataInputSource.scala │ ├── TestDataOutputStream.scala │ ├── TestDataOutputStream2.scala │ ├── TestDataOutputStream3.scala │ ├── TestDataOutputStream4.scala │ ├── TestDecoder.scala │ ├── TestDirectOrBufferedDataOutputStream.scala │ ├── TestDump.scala │ ├── TestDumpDisplay.scala │ ├── TestExceptions.scala │ ├── TestFastAsciiConvert.scala │ ├── TestISO8859_1.scala │ ├── TestInputSourceDataInputStream.scala │ ├── TestInputSourceDataInputStream2.scala │ ├── TestInputSourceDataInputStream3.scala │ ├── TestInputSourceDataInputStream3Bit.scala │ ├── TestInputSourceDataInputStream4.scala │ ├── TestInputSourceDataInputStream5.scala │ ├── TestInputSourceDataInputStream6.scala │ ├── TestInputSourceDataInputStream7.scala │ ├── TestInputSourceDataInputStream8.scala │ ├── TestNonByteSizedCharsetDecoders1Bit.scala │ ├── TestNonByteSizedCharsetDecoders3Bit.scala │ ├── TestNonByteSizedCharsetDecoders8Bit.scala │ ├── TestNonByteSizedCharsetEncoders1Bit.scala │ ├── TestNonByteSizedCharsetEncoders3Bit.scala │ └── TestNonByteSizedCharsetEncoders8Bit.scala │ └── layers │ ├── TestBase64.scala │ ├── TestJavaIOStreams.scala │ └── TestLimitingJavaIOStreams.scala ├── daffodil-japi └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── japi │ │ │ ├── ValidationMode.java │ │ │ ├── debugger │ │ │ └── package-info.java │ │ │ ├── infoset │ │ │ ├── XMLTextEscapeStyle.java │ │ │ └── package-info.java │ │ │ └── package-info.java │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── japi │ │ ├── Daffodil.scala │ │ ├── debugger │ │ └── Debugger.scala │ │ ├── infoset │ │ └── Infoset.scala │ │ ├── io │ │ └── InputSourceDataInputStream.scala │ │ └── packageprivate │ │ └── Utils.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── daffodil │ │ ├── example │ │ ├── DebuggerRunnerForJAPITest.java │ │ ├── TestCustomDebuggerAPI.java │ │ ├── TestInfosetEvent.java │ │ ├── TestInfosetInputter.java │ │ ├── TestInfosetOutputter.java │ │ ├── TestJavaAPI.java │ │ ├── TestJavaMetadataAPI.java │ │ ├── ValidatorApiExample.java │ │ ├── ValidatorSpiExample.java │ │ └── validation │ │ │ ├── FailingValidator.java │ │ │ ├── FailingValidatorFactory.java │ │ │ ├── PassingValidator.java │ │ │ └── PassingValidatorFactory.java │ │ └── japi │ │ └── SAXErrorHandlerForJAPITest.java │ └── resources │ ├── META-INF │ └── services │ │ └── org.apache.daffodil.lib.api.ValidatorFactory │ └── test │ └── japi │ ├── 01very_simple.txt │ ├── TopLevel.dfdl.xsd │ ├── alwaysInvalid.dfdl.xsd │ ├── ambig_elt.dfdl.xsd │ ├── blob.dfdl.xsd │ ├── external_vars_1.xml │ ├── metadataTestSchema1.dfdl.xsd │ ├── myData.dat │ ├── myData16.dat │ ├── myData19.dat │ ├── myData2.dat │ ├── myData3.dat │ ├── myData4.dat │ ├── myData5.dat │ ├── myDataBroken.dat │ ├── myInfosetBroken.xml │ ├── mySchema1.dfdl.xsd │ ├── mySchema2.dfdl.xsd │ ├── mySchema3.dfdl.xsd │ ├── mySchema4.dfdl.xsd │ ├── mySchema5.dfdl.xsd │ ├── mySchema6.dfdl.xsd │ ├── mySchemaCDATA.dfdl.xsd │ ├── mySchemaWithComplexVars1.dfdl.xsd │ ├── mySchemaWithComplexVars2.dfdl.xsd │ └── mySchemaWithVars.dfdl.xsd ├── daffodil-lib └── src │ ├── main │ ├── resources │ │ ├── IBMdefined │ │ │ └── GeneralPurposeFormat.xsd │ │ ├── META-INF │ │ │ ├── LICENSE │ │ │ ├── NOTICE │ │ │ └── services │ │ │ │ └── org.apache.daffodil.lib.api.ValidatorFactory │ │ ├── daffodil-built-in-catalog.xml │ │ ├── eclipse-xml-catalog.xml │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── xsd │ │ │ ├── DFDLGeneralFormat.dfdl.xsd │ │ │ ├── DFDLGeneralFormatBase.dfdl.xsd │ │ │ ├── DFDLGeneralFormatPortable.dfdl.xsd │ │ │ ├── XMLSchema.dtd │ │ │ ├── XMLSchema.xsd │ │ │ ├── XMLSchema_for_DFDL.xsd │ │ │ ├── dafint.xsd │ │ │ ├── datatypes.dtd │ │ │ ├── tdml.xsd │ │ │ └── xml.xsd │ ├── scala-2 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── lib │ │ │ ├── exceptions │ │ │ ├── AssertsUsingMacrosMixin.scala │ │ │ └── SDEUsingMacrosMixin.scala │ │ │ └── util │ │ │ └── TimeTrackerUsingMacrosMixin.scala │ ├── scala-3 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── lib │ │ │ ├── exceptions │ │ │ ├── AssertsUsingMacrosMixin.scala │ │ │ └── SDEUsingMacrosMixin.scala │ │ │ └── util │ │ │ └── TimeTrackerUsingMacrosMixin.scala │ └── scala │ │ ├── org │ │ └── apache │ │ │ └── daffodil │ │ │ └── lib │ │ │ ├── Implicits.scala │ │ │ ├── TypedEquality.scala │ │ │ ├── api │ │ │ ├── DaffodilConfig.scala │ │ │ ├── DaffodilSchemaSource.scala │ │ │ ├── DaffodilTunablesStaticMixin.scala │ │ │ ├── Diagnostic.scala │ │ │ ├── ValidationMode.scala │ │ │ └── Validator.scala │ │ │ ├── calendar │ │ │ ├── DFDLCalendar.scala │ │ │ ├── DFDLCalendarConversion.scala │ │ │ └── TextCalendarConstants.scala │ │ │ ├── cookers │ │ │ ├── Converter.scala │ │ │ ├── Cookers.scala │ │ │ └── EntityReplacer.scala │ │ │ ├── exceptions │ │ │ ├── Assert.scala │ │ │ ├── SchemaFileLocatable.scala │ │ │ └── ThrowsSDE.scala │ │ │ ├── externalvars │ │ │ └── Binding.scala │ │ │ ├── oolag │ │ │ └── OOLAG.scala │ │ │ ├── schema │ │ │ └── annotation │ │ │ │ └── props │ │ │ │ ├── ByHandMixins.scala │ │ │ │ ├── Properties.scala │ │ │ │ └── PropertyScoping.scala │ │ │ ├── util │ │ │ ├── BitOrder.scala │ │ │ ├── ByteBufferOutputStream.scala │ │ │ ├── CharacterSetRemapper.scala │ │ │ ├── Coroutines.scala │ │ │ ├── Cursor.scala │ │ │ ├── DPathUtil.scala │ │ │ ├── DecimalUtils.scala │ │ │ ├── Delay.scala │ │ │ ├── Enum.scala │ │ │ ├── Indentable.scala │ │ │ ├── IteratorWithPeekImpl.scala │ │ │ ├── ListUtils.scala │ │ │ ├── Logger.scala │ │ │ ├── MStack.scala │ │ │ ├── Math.scala │ │ │ ├── Maybe.scala │ │ │ ├── MaybeFloat.scala │ │ │ ├── MaybeInt.scala │ │ │ ├── MaybeULong.scala │ │ │ ├── Misc.scala │ │ │ ├── Named.scala │ │ │ ├── NonAllocatingMap.scala │ │ │ ├── Numbers.scala │ │ │ ├── OKOrError.scala │ │ │ ├── OnStack.scala │ │ │ ├── Pool.scala │ │ │ ├── SchemaUtils.scala │ │ │ ├── Serialize.scala │ │ │ ├── SimpleNamedServiceLoader.scala │ │ │ ├── Timer.scala │ │ │ ├── TransitiveClosure.scala │ │ │ └── UniquenessCache.scala │ │ │ ├── validation │ │ │ ├── Validators.scala │ │ │ └── XercesValidator.scala │ │ │ └── xml │ │ │ ├── DaffodilConstructingLoader.scala │ │ │ ├── DaffodilSAXParserFactory.scala │ │ │ ├── DaffodilXMLLoader.scala │ │ │ ├── Namespaces.scala │ │ │ ├── PUARemappers.scala │ │ │ ├── PrettyPrinter.scala │ │ │ ├── QNameBase.scala │ │ │ ├── QNames.scala │ │ │ └── XMLUtils.scala │ │ └── passera │ │ ├── BSD-LICENSE.txt │ │ ├── README.md │ │ ├── numerics │ │ └── package.scala │ │ └── unsigned │ │ ├── SmallUInt.scala │ │ ├── UByte.scala │ │ ├── UInt.scala │ │ ├── ULong.scala │ │ ├── UShort.scala │ │ ├── Unsigned.scala │ │ └── package.scala │ └── test │ ├── resources │ ├── META-INF │ │ └── services │ │ │ └── org.apache.daffodil.lib.api.ValidatorFactory │ └── test │ │ ├── configBad.txt │ │ ├── configExample.cfg │ │ └── validation │ │ ├── testData1Infoset.xml │ │ └── testSchema1.dfdl.xsd │ └── scala │ ├── org │ └── apache │ │ └── daffodil │ │ └── lib │ │ ├── HowToUseJUnit.scala │ │ ├── TestBitOrderByteOrder.scala │ │ ├── TestImplicits.scala │ │ ├── api │ │ ├── StringSchemaSource.scala │ │ └── TestDaffodilTunablesAndConfig.scala │ │ ├── exceptions │ │ └── TestExceptions.scala │ │ ├── functionality │ │ └── icu │ │ │ └── TestBigInteger.scala │ │ ├── macros │ │ └── TestAssertMacros.scala │ │ ├── oolag │ │ └── TestOOLAG.scala │ │ ├── schema │ │ └── annotation │ │ │ └── props │ │ │ └── TestGeneratedProperties.scala │ │ ├── testEquality │ │ └── TestEqualityOperators.scala │ │ ├── util │ │ ├── IteratorFromCursor.scala │ │ ├── TestBits.scala │ │ ├── TestBits2.scala │ │ ├── TestCoroutines.scala │ │ ├── TestDecimalUtils.scala │ │ ├── TestDelay.scala │ │ ├── TestListMap.scala │ │ ├── TestListSerialization.scala │ │ ├── TestListUtils.scala │ │ ├── TestMStack.scala │ │ ├── TestMaybe.scala │ │ ├── TestMaybeInlineForeach.scala │ │ ├── TestMaybeTakPerf.scala │ │ ├── TestMisc.scala │ │ ├── TestNumberStuff.scala │ │ ├── TestNumbers.scala │ │ ├── TestPUARemapper.scala │ │ ├── TestSchemaUtils.scala │ │ ├── TestSerializationAndLazy.scala │ │ ├── TestUtil.scala │ │ └── TestXMLCatalogAndValidate.scala │ │ ├── validation │ │ ├── TestValidatorsSPI.scala │ │ ├── TestXercesValidator.scala │ │ └── ValidatorSPISupport.scala │ │ └── xml │ │ └── test │ │ └── unit │ │ ├── TestNamespaces.scala │ │ ├── TestQName.scala │ │ ├── TestUTF8AndUTF16Conversions.scala │ │ ├── TestUnicodeXMLI18N.scala │ │ ├── TestXMLLiterals.scala │ │ ├── TestXMLLoader.scala │ │ ├── TestXMLPrettyPrinter.scala │ │ └── TestXMLUtils.scala │ └── passera │ └── test │ ├── TestULong.scala │ ├── UnsignedCheck.scala │ └── UnsignedPerf.scala ├── daffodil-macro-lib └── src │ └── main │ ├── scala-2 │ └── org │ │ └── apache │ │ └── daffodil │ │ ├── io │ │ └── IOMacros.scala │ │ ├── lib │ │ ├── exceptions │ │ │ ├── AssertMacros.scala │ │ │ └── SDEMacros.scala │ │ └── util │ │ │ └── TimerMacros.scala │ │ └── runtime1 │ │ └── processors │ │ └── parsers │ │ └── PointOfUncertaintyMacros.scala │ └── scala-3 │ └── org │ └── apache │ └── daffodil │ ├── io │ └── IOMacros.scala │ ├── lib │ ├── exceptions │ │ └── SDEMacros.scala │ └── util │ │ └── TimerMacros.scala │ └── runtime1 │ └── processors │ └── parsers │ └── PointOfUncertaintyMacros.scala ├── daffodil-propgen └── src │ ├── main │ ├── resources │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── xsd │ │ │ ├── DFDL_part1_simpletypes.xsd │ │ │ ├── DFDL_part2_attributes.xsd │ │ │ ├── DFDL_part3_model.xsd │ │ │ ├── dafext.xsd │ │ │ └── dfdlx.xsd │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── propGen │ │ ├── PropertyGenerator.scala │ │ ├── TunableGenerator.scala │ │ └── WarnIDGenerator.scala │ └── test │ └── scala │ └── org │ └── apache │ └── daffodil │ └── propGen │ └── TestPropertyGenerator.scala ├── daffodil-runtime1-layers └── src │ ├── main │ ├── resources │ │ ├── META-INF │ │ │ ├── LICENSE │ │ │ ├── NOTICE │ │ │ └── services │ │ │ │ └── org.apache.daffodil.runtime1.layers.api.Layer │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── layers │ │ │ └── xsd │ │ │ ├── base64_MIMELayer.dfdl.xsd │ │ │ ├── boundaryMarkLayer.dfdl.xsd │ │ │ ├── byteSwapLayer.dfdl.xsd │ │ │ ├── fixedLengthLayer.dfdl.xsd │ │ │ ├── gzipLayer.dfdl.xsd │ │ │ └── lineFoldedLayer.dfdl.xsd │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── layers │ │ └── runtime1 │ │ ├── Base64MimeLayer.scala │ │ ├── BoundaryMarkLayer.scala │ │ ├── ByteSwapLayer.scala │ │ ├── FixedLengthLayer.scala │ │ ├── GZipLayer.java │ │ ├── LineFoldMode.java │ │ └── LineFoldedLayerBase.scala │ └── test │ └── scala │ └── org │ └── apache │ └── daffodil │ └── layers │ └── runtime1 │ ├── TestByteSwapStream.scala │ ├── TestGzipLayer.scala │ ├── TestLengthLimitedLineFoldingStreams.scala │ └── TestLineFoldingStreams.scala ├── daffodil-runtime1-unparser └── src │ └── main │ ├── resources │ └── META-INF │ │ ├── LICENSE │ │ └── NOTICE │ └── scala │ └── org │ └── apache │ └── daffodil │ └── unparsers │ └── runtime1 │ ├── BCDUnparsers.scala │ ├── BinaryBooleanUnparsers.scala │ ├── BinaryNumberUnparsers.scala │ ├── BlobLengthUnparser.scala │ ├── ChoiceAndOtherVariousUnparsers.scala │ ├── ConvertBinaryCalendarUnparser.scala │ ├── ConvertNonBaseTenTextNumberUnparser.scala │ ├── ConvertTextBooleanUnparser.scala │ ├── ConvertTextCalendarUnparser.scala │ ├── ConvertTextStandardNumberUnparser.scala │ ├── ConvertZonedNumberUnparser.scala │ ├── DelimitedUnparsers.scala │ ├── DelimiterUnparsers.scala │ ├── ElementUnparser.scala │ ├── ExpressionEvaluatingUnparsers.scala │ ├── FramingUnparsers.scala │ ├── HasPadding.scala │ ├── HexBinaryLengthUnparser.scala │ ├── HiddenGroupCombinatorUnparser.scala │ ├── IBM4690PackedDecimalUnparsers.scala │ ├── LayeredSequenceUnparser.scala │ ├── NadaUnparser.scala │ ├── NilEmptyCombinatorUnparsers.scala │ ├── NilUnparsers.scala │ ├── PackedBinaryUnparserTraits.scala │ ├── PackedDecimalUnparsers.scala │ ├── RepTypeUnparsers.scala │ ├── SeparatedSequenceUnparsers.scala │ ├── SequenceChildUnparsers.scala │ ├── SequenceUnparserBases.scala │ ├── SpecifiedLength2.scala │ ├── SpecifiedLengthUnparsers.scala │ ├── StreamSplitterMixin.scala │ ├── StringLengthUnparsers.scala │ ├── StringLiteralForUnparser.scala │ ├── SuppressableSeparatorUnparser.scala │ ├── UnseparatedSequenceUnparsers.scala │ └── ZeroLengthDetector.scala ├── daffodil-runtime1 └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ ├── scala-2 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── runtime1 │ │ │ └── processors │ │ │ └── parsers │ │ │ └── PStateUsingMacrosMixin.scala │ ├── scala-3 │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── runtime1 │ │ │ └── processors │ │ │ └── parsers │ │ │ └── PStateUsingMacrosMixin.scala │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── runtime1 │ │ ├── BasicComponent.scala │ │ ├── api │ │ ├── DFDLParserUnparser.scala │ │ ├── DFDLPrimType.java │ │ ├── Infoset.scala │ │ └── Metadata.scala │ │ ├── debugger │ │ ├── Debugger.scala │ │ ├── InteractiveDebugger.scala │ │ └── TraceDebuggerRunner.scala │ │ ├── dpath │ │ ├── ArrayRelated.scala │ │ ├── ComparisonOps.scala │ │ ├── ConverterOps.scala │ │ ├── ConverterOps2.scala │ │ ├── ConverterOps3.scala │ │ ├── DFDLCheckConstraintsFunction.scala │ │ ├── DFDLConstructors.scala │ │ ├── DFDLFunctions.scala │ │ ├── DFDLFunctions2.scala │ │ ├── DFDLXFunctions.scala │ │ ├── DPath.scala │ │ ├── DPathRuntime.scala │ │ ├── DState.scala │ │ ├── FNBases.scala │ │ ├── FNFunctions.scala │ │ ├── HexBinaryConversions.scala │ │ ├── MATHFunctions.scala │ │ ├── NodeInfo.scala │ │ ├── NumericOps.scala │ │ ├── SuspendableExpression.scala │ │ ├── UpDownMoves.scala │ │ ├── UserDefinedFunctionBase.scala │ │ ├── XSConstructors.scala │ │ └── XSHexBinary.scala │ │ ├── dsom │ │ ├── CompiledExpression1.scala │ │ ├── EncodingLattice.scala │ │ ├── ExpressionCompiler.scala │ │ ├── Facets1.scala │ │ ├── SDE.scala │ │ └── walker │ │ │ └── PrimTypeView.scala │ │ ├── events │ │ └── ParseEventHandler.scala │ │ ├── externalvars │ │ └── ExternalVariablesLoader.scala │ │ ├── infoset │ │ ├── ChoiceBranchEvent.scala │ │ ├── DataValue.scala │ │ ├── InfosetImpl.scala │ │ ├── InfosetInputter.scala │ │ ├── InfosetOutputter.scala │ │ ├── InfosetWalker.scala │ │ ├── InvalidInfoset.scala │ │ ├── JDOMInfosetInputter.scala │ │ ├── JDOMInfosetOutputter.scala │ │ ├── JsonInfosetInputter.scala │ │ ├── JsonInfosetOutputter.scala │ │ ├── NullInfosetInputter.scala │ │ ├── NullInfosetOutputter.scala │ │ ├── PartialNextElementResolver.scala │ │ ├── SAXInfosetInputter.scala │ │ ├── SAXInfosetOutputter.scala │ │ ├── ScalaXMLInfosetInputter.scala │ │ ├── ScalaXMLInfosetOutputter.scala │ │ ├── TeeInfosetOutputter.scala │ │ ├── W3CDOMInfosetInputter.scala │ │ ├── W3CDOMInfosetOutputter.scala │ │ ├── XMLTextEscapeStyle.scala │ │ ├── XMLTextInfosetInputter.scala │ │ └── XMLTextInfosetOutputter.scala │ │ ├── layers │ │ ├── ChecksumLayerBase.scala │ │ ├── LayerDriver.scala │ │ ├── LayerNotEnoughDataException.java │ │ ├── LayerProcessingException.java │ │ ├── LayerRuntime.scala │ │ ├── LayerRuntimeCompiler.scala │ │ ├── LayerRuntimeData.scala │ │ ├── LayerUnexpectedException.java │ │ ├── LayerUtils.scala │ │ ├── LayerVarsRuntime.scala │ │ ├── ScalaLayerHelper.scala │ │ └── api │ │ │ ├── ChecksumLayer.java │ │ │ ├── Layer.java │ │ │ └── package-info.java │ │ ├── processors │ │ ├── BCDParsers.scala │ │ ├── DFDLDelimiter.scala │ │ ├── DFDLRegularExpressions.scala │ │ ├── DaffodilParseOutputStreamContentHandler.scala │ │ ├── DaffodilParseXMLReader.scala │ │ ├── DaffodilUnparseContentHandlerImpl.scala │ │ ├── DataLoc.scala │ │ ├── DataProcessor.scala │ │ ├── DelimiterIterator.scala │ │ ├── DelimiterStackUnparseNode.scala │ │ ├── EncodingRuntimeData.scala │ │ ├── EscapeScheme.scala │ │ ├── EvBinaryFloat.scala │ │ ├── EvByteOrder.scala │ │ ├── EvCalendarLanguage.scala │ │ ├── EvDelimiters.scala │ │ ├── EvElement.scala │ │ ├── EvEncoding.scala │ │ ├── EvEscapeSchemes.scala │ │ ├── EvFieldDFA.scala │ │ ├── EvTextNumber.scala │ │ ├── Evaluatable.scala │ │ ├── IBM4690PackedDecimalParsers.scala │ │ ├── MetadataWalker.scala │ │ ├── PackedBinaryTraits.scala │ │ ├── PackedDecimalParsers.scala │ │ ├── ProcessingError.scala │ │ ├── ProcessorBases.scala │ │ ├── ProcessorResult.scala │ │ ├── ProcessorStateBases.scala │ │ ├── RangeBound.scala │ │ ├── RuntimeData.scala │ │ ├── SchemaSetRuntimeData.scala │ │ ├── SuspendableOperation.scala │ │ ├── Suspension.scala │ │ ├── SuspensionTracker.scala │ │ ├── TextJustification.scala │ │ ├── VariableMap1.scala │ │ ├── dfa │ │ │ ├── CreateDelimiterDFA.scala │ │ │ ├── CreateFieldDFA.scala │ │ │ ├── CreatePaddingDFA.scala │ │ │ ├── Parser.scala │ │ │ ├── Registers.scala │ │ │ ├── Rules.scala │ │ │ ├── Runtime.scala │ │ │ ├── TextDelimitedParser.scala │ │ │ ├── TextDelimitedUnparser.scala │ │ │ ├── TextPaddingParser.scala │ │ │ ├── TextParser.scala │ │ │ └── Unparser.scala │ │ ├── parsers │ │ │ ├── AssertPatternParsers.scala │ │ │ ├── BinaryBooleanParsers.scala │ │ │ ├── BinaryNumberParsers.scala │ │ │ ├── BinaryNumberTraits.scala │ │ │ ├── BlobLengthParsers.scala │ │ │ ├── ConvertTextStandardNumberParser.scala │ │ │ ├── DelimitedParsers.scala │ │ │ ├── DelimiterParsers.scala │ │ │ ├── ElementCombinator1.scala │ │ │ ├── ElementKindParsers.scala │ │ │ ├── ExpressionEvaluatingParsers.scala │ │ │ ├── FramingParsers.scala │ │ │ ├── HasVariableLength.scala │ │ │ ├── HexBinaryLengthParsers.scala │ │ │ ├── HiddenGroupCombinatorParser.scala │ │ │ ├── InitiatedContentParsers.scala │ │ │ ├── LayeredSequenceParser.scala │ │ │ ├── NilEmptyCombinatorParsers.scala │ │ │ ├── NilMatcherMixin.scala │ │ │ ├── NilParsers.scala │ │ │ ├── NonBaseTenTextNumberParser.scala │ │ │ ├── PState.scala │ │ │ ├── PaddingRuntimeMixin.scala │ │ │ ├── ParseErrors.scala │ │ │ ├── Parser.scala │ │ │ ├── PrimitivesDateTime1.scala │ │ │ ├── RepTypeParsers.scala │ │ │ ├── SeparatedParseHelper.scala │ │ │ ├── SeparatedSequenceChildParseResultHelper.scala │ │ │ ├── SeparatedSequenceParsers.scala │ │ │ ├── SequenceChildBases.scala │ │ │ ├── SequenceChildParseResultHelper.scala │ │ │ ├── SequenceParserBases.scala │ │ │ ├── SpecifiedLengthParsers.scala │ │ │ ├── StringLengthParsers.scala │ │ │ ├── TextBooleanParser.scala │ │ │ ├── UnseparatedSequenceChildParseResultHelper.scala │ │ │ ├── UnseparatedSequenceParsers.scala │ │ │ └── ZonedTextParsers.scala │ │ └── unparsers │ │ │ ├── UState.scala │ │ │ ├── UnparseError.scala │ │ │ └── Unparser.scala │ │ ├── reflection │ │ └── FieldFinder.scala.md │ │ └── udf │ │ ├── UserDefinedFunctionErrors.scala │ │ └── UserDefinedFunctionService.scala │ └── test │ └── scala │ └── org │ └── apache │ └── daffodil │ └── runtime1 │ ├── dpath │ └── TestRounding.scala │ ├── dsom │ ├── TestEntityReplacer.scala │ └── TestSDW.scala │ ├── parser │ ├── TestCharsetBehavior.scala │ └── TestCharsetDecoder2.scala │ ├── processors │ ├── TestDataLoc.scala │ └── input │ │ ├── TestDFDLRegularExpressions.scala │ │ ├── TestICU.scala │ │ └── TestRegex.scala │ └── reflection │ └── TestFieldFinder.scala.md ├── daffodil-sapi ├── root-doc.txt └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── sapi │ │ ├── Daffodil.scala │ │ ├── debugger │ │ ├── Debugger.scala │ │ └── package.scala │ │ ├── infoset │ │ ├── Infoset.scala │ │ ├── XMLTextEscapeStyle.scala │ │ └── package.scala │ │ ├── io │ │ └── InputSourceDataInputStream.scala │ │ ├── package.scala │ │ └── packageprivate │ │ └── Utils.scala │ └── test │ ├── resources │ ├── META-INF │ │ └── services │ │ │ └── org.apache.daffodil.lib.api.ValidatorFactory │ └── test │ │ └── sapi │ │ ├── 01very_simple.txt │ │ ├── TopLevel.dfdl.xsd │ │ ├── ambig_elt.dfdl.xsd │ │ ├── blob.dfdl.xsd │ │ ├── external_vars_1.xml │ │ ├── myData.dat │ │ ├── myData16.dat │ │ ├── myData19.dat │ │ ├── myData2.dat │ │ ├── myData3.dat │ │ ├── myData4.dat │ │ ├── myData5.dat │ │ ├── myDataBroken.dat │ │ ├── myInfosetBroken.xml │ │ ├── mySchema1.dfdl.xsd │ │ ├── mySchema2.dfdl.xsd │ │ ├── mySchema3.dfdl.xsd │ │ ├── mySchema4.dfdl.xsd │ │ ├── mySchema5.dfdl.xsd │ │ ├── mySchema6.dfdl.xsd │ │ ├── mySchemaCDATA.dfdl.xsd │ │ ├── mySchemaWithComplexVars1.dfdl.xsd │ │ ├── mySchemaWithComplexVars2.dfdl.xsd │ │ └── mySchemaWithVars.dfdl.xsd │ └── scala │ └── org │ └── apache │ └── daffodil │ ├── example │ ├── DebuggerRunnerForSAPITest.scala │ ├── TestCustomDebuggerAPI.scala │ ├── TestInfosetInputterOutputter.scala │ ├── TestScalaAPI.scala │ ├── ValidatorApiExample.scala │ ├── ValidatorExamplesSupport.scala │ └── ValidatorSpiExample.scala │ └── sapi │ └── SAXErrorHandlerForSAPITest.scala ├── daffodil-schematron ├── README.md └── src │ ├── main │ ├── resources │ │ ├── META-INF │ │ │ ├── LICENSE │ │ │ ├── NOTICE │ │ │ └── services │ │ │ │ └── org.apache.daffodil.lib.api.ValidatorFactory │ │ └── iso-schematron-xslt2 │ │ │ ├── ExtractSchFromXSD-2.xsl │ │ │ ├── iso_abstract_expand.xsl │ │ │ ├── iso_dsdl_include.xsl │ │ │ ├── iso_schematron_message_xslt2.xsl │ │ │ ├── iso_schematron_skeleton_for_saxon.xsl │ │ │ ├── iso_svrl_for_xslt2.xsl │ │ │ └── sch-messages-en.xhtml │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── validation │ │ └── schematron │ │ ├── Schematron.scala │ │ ├── SchematronResult.scala │ │ ├── SchematronValidator.scala │ │ ├── SchematronValidatorFactory.scala │ │ └── Transforms.scala │ └── test │ ├── resources │ ├── custom-resolver │ │ └── title-rules.sch │ ├── sch │ │ ├── always-fails.sch │ │ ├── missing-include.sch │ │ ├── never-fails.sch │ │ ├── schematron-1.sch │ │ ├── schematron-2.sch │ │ └── schematron-3.sch │ ├── xml │ │ ├── article-1.xml │ │ ├── article-2.xml │ │ ├── article-3.xml │ │ └── embedded-1.xml │ └── xsd │ │ ├── always-fails-1.dfdl.xsd │ │ ├── embedded-1.dfdl.xsd │ │ ├── embedded-2.dfdl.xsd │ │ ├── embedded-3.dfdl.xsd │ │ ├── extends-1.dfdl.xsd │ │ ├── never-fails-1.dfdl.xsd │ │ ├── relative-import.dfdl.xsd │ │ ├── string.dfdl.xsd │ │ ├── unit_price.dfdl.xsd │ │ ├── uuid.dfdl.xsd │ │ ├── with-ns-1.dfdl.xsd │ │ └── without-ns-1.dfdl.xsd │ └── scala │ └── org │ └── apache │ └── daffodil │ └── validation │ └── schematron │ ├── EmbeddedTesting.scala │ ├── TestBasicValidation.scala │ ├── TestEmbeddedSchematron.scala │ ├── TestSpiLoading.scala │ └── TestValidatorFactory.scala ├── daffodil-slf4j-logger └── src │ └── main │ ├── resources │ └── META-INF │ │ ├── LICENSE │ │ ├── NOTICE │ │ └── services │ │ └── org.slf4j.spi.SLF4JServiceProvider │ └── scala │ └── org │ └── apahe │ └── daffodil │ └── slf4j │ └── DaffodilSLF4JLogger.scala ├── daffodil-tdml-junit └── src │ └── main │ └── scala │ └── org │ └── apache │ └── daffodil │ └── junit │ └── tdml │ ├── TdmlSuite.scala │ └── package.scala ├── daffodil-tdml-lib └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ ├── tak │ │ └── Tak.scala │ │ └── tdml │ │ ├── RunnerFactory.scala │ │ ├── TDMLException.scala │ │ ├── TDMLRunner.scala │ │ └── processor │ │ └── TDMLDFDLProcessor.scala │ └── test │ ├── resources │ ├── test-suite │ │ └── ibm-contributed │ │ │ ├── dpaext1-2.tdml │ │ │ └── dpaspc121_01.dfdl.xsd │ └── test │ │ └── tdml │ │ ├── test.bin │ │ └── test.txt │ └── scala │ └── org │ └── apache │ └── daffodil │ ├── processors │ └── charset │ │ └── TestLSBFirstAndUSASCII7BitPacked.scala │ └── tdml │ ├── TestMoreEncodings.scala │ └── UnitTestTDMLRunner.scala ├── daffodil-tdml-processor └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ ├── LICENSE │ │ │ └── NOTICE │ └── scala │ │ └── org │ │ └── apache │ │ └── daffodil │ │ └── processor │ │ └── tdml │ │ ├── DaffodilCTDMLDFDLProcessor.scala │ │ ├── DaffodilTDMLDFDLProcessor.scala │ │ ├── TDMLInfosetInputter.scala │ │ └── TDMLInfosetOutputter.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── daffodil │ │ └── processor │ │ └── tdml │ │ └── TestRunnerFactory.java │ ├── resources │ ├── org │ │ └── apache │ │ │ └── daffodil │ │ │ └── tdml │ │ │ ├── genericTdml.tdml │ │ │ └── testExtVars1.tdml │ ├── test │ │ └── tdml │ │ │ ├── chameleon-schema1.dfdl.xsd │ │ │ ├── fake-precompiled-dfdl-schema.bin │ │ │ ├── generic-schema1.dfdl.xsd │ │ │ ├── tdmlNamespaces.tdml │ │ │ ├── tdmlQuoting.tdml │ │ │ ├── test.bin │ │ │ ├── test.txt │ │ │ ├── test.xml │ │ │ ├── testTDMLErrorsWarningsMatchAttribute.tdml │ │ │ └── testWarnings.tdml │ └── testConfigFile.xml │ └── scala │ └── org │ └── apache │ └── daffodil │ └── processor │ └── tdml │ ├── TestDaffodilC.scala │ ├── TestExtVars1.scala │ ├── TestTDMLCrossTest.scala │ ├── TestTDMLRoundTrips.scala │ ├── TestTDMLRunner.scala │ ├── TestTDMLRunner2.scala │ ├── TestTDMLRunnerCommentSyntax.scala │ ├── TestTDMLRunnerConfig.scala │ ├── TestTDMLRunnerMatchAttributes.scala │ ├── TestTDMLRunnerTutorial.scala │ ├── TestTDMLRunnerValidationErrors.scala │ ├── TestTDMLRunnerWarnings.scala │ └── TestTDMLUnparseCases.scala ├── daffodil-test-ibm1 └── src │ ├── main │ └── .keep │ └── test │ ├── resources │ └── test-suite │ │ ├── ibm-contributed │ │ ├── alignment_bytes_12.dfdl.xsd │ │ ├── delimiter_12.dfdl.xsd │ │ ├── dpabol101.dfdl.xsd │ │ ├── dpabol102.dfdl.xsd │ │ ├── dpacalbin100_01.dfdl.xsd │ │ ├── dpacaltxt_43.dfdl.xsd │ │ ├── dpadelbcd_01.dfdl.xsd │ │ ├── dpadelmulcho_01.dfdl.xsd │ │ ├── dpadelone107_05.dfdl.xsd │ │ ├── dpadelonearr_12.dfdl.xsd │ │ ├── dpadeloneini_01.dfdl.xsd │ │ ├── dpadelonetrm_01.dfdl.xsd │ │ ├── dpaext1.tdml │ │ ├── dpaext2.tdml │ │ ├── dpaextdeltxt101-err.dfdl.xsd │ │ ├── dpaextdeltxt101.dfdl.xsd │ │ ├── dpaextent_04.dfdl.xsd │ │ ├── dpaextflsmby101.dfdl.xsd │ │ ├── dpaflsaln101_01.dfdl.xsd │ │ ├── dpaflsenc101_04_01.dfdl.xsd │ │ ├── dpaflsmbyfrm41.dfdl.xsd │ │ ├── dpaflsoneini_01.dfdl.xsd │ │ ├── dpaflstrm101_03.dfdl.xsd │ │ ├── dpaflstrmnum01.dfdl.xsd │ │ ├── dpaimpflt_bin.dfdl.xsd │ │ ├── dpaimptxt.dfdl.xsd │ │ ├── dpanum.dfdl.xsd │ │ ├── dpanum_bin.dfdl.xsd │ │ ├── dpanum_properties.dfdl.xsd │ │ ├── dpaspc121_01.dfdl.xsd │ │ ├── dpaspc121_02.dfdl.xsd │ │ ├── dpaspc7131.dfdl.xsd │ │ ├── dpaspc7132.dfdl.xsd │ │ ├── dpaspc7132_2.dfdl.xsd │ │ ├── dpaspc7133_01.dfdl.xsd │ │ ├── dpaspc81_01.dfdl.xsd │ │ ├── dpaspc82_01.dfdl.xsd │ │ ├── dpaspc83_01.dfdl.xsd │ │ ├── dpaspc83_02.dfdl.xsd │ │ ├── dpaspc83_03.dfdl.xsd │ │ ├── dpaspc_41_83_04_01.dfdl.xsd │ │ ├── dpaspc_41_83_04_02.dfdl.xsd │ │ ├── external_tests_readme.txt │ │ ├── length_explicit_12.dfdl.xsd │ │ └── syntax_entities_6.dfdl.xsd │ │ └── tresys-contributed │ │ ├── AB.dfdl.xsd │ │ ├── AF.dfdl.xsd │ │ ├── AF.tdml │ │ ├── AG.dfdl.xsd │ │ ├── AG.tdml │ │ ├── AH.dfdl.xsd │ │ ├── AH.tdml │ │ ├── AM.dfdl.xsd │ │ ├── AM.tdml │ │ ├── AP.dfdl.xsd │ │ ├── AP.tdml │ │ ├── AU.dfdl.xsd │ │ ├── AU.tdml │ │ ├── AV.dfdl.xsd │ │ ├── AV000.tdml │ │ ├── AV001.tdml │ │ ├── AV002.tdml │ │ ├── AV003.tdml │ │ ├── AW.dfdl.xsd │ │ ├── AW.tdml │ │ ├── AX.dfdl.xsd │ │ ├── AX.tdml │ │ ├── AY.dfdl.xsd │ │ ├── AY.tdml │ │ ├── AZ.dfdl.xsd │ │ ├── AZ.tdml │ │ ├── BA.dfdl.xsd │ │ ├── BA.tdml │ │ ├── BB.dfdl.xsd │ │ ├── BB.tdml │ │ ├── BC.dfdl.xsd │ │ ├── BC.tdml │ │ ├── BD.dfdl.xsd │ │ ├── BD.tdml │ │ ├── BE.dfdl.xsd │ │ ├── BE.tdml │ │ ├── BF.dfdl.xsd │ │ ├── BF.tdml │ │ ├── BG.dfdl.xsd │ │ ├── BG.tdml │ │ ├── bitFlagExpression.tdml │ │ ├── delimTests.dfdl.xsd │ │ ├── delimTests.tdml │ │ ├── mixed-binary-text.tdml │ │ ├── multiple-diagnostics.tdml │ │ ├── nested-separator-delimited.tdml │ │ ├── nested_group_ref.tdml │ │ ├── nilled.tdml │ │ ├── runtime-diagnostics.tdml │ │ ├── sepSuppression.tdml │ │ ├── sepSuppression2.tdml │ │ ├── sequence.tdml │ │ └── unseparated.tdml │ └── scala │ └── org │ └── apache │ └── daffodil │ ├── IBMTests.scala │ ├── TestNilled.scala │ ├── TestSepSuppression.scala │ ├── TestSepSuppression2.scala │ ├── TestUnseparated.scala │ ├── TresysTests.scala │ └── TresysTests3.scala ├── daffodil-test-integration └── src │ ├── main │ └── scala │ │ └── .keep │ └── test │ └── scala │ └── org │ └── apache │ └── daffodil │ └── cliTest │ ├── TestCLIDebugger.scala │ ├── TestCLIMisc.scala │ ├── TestCLIPlugins.scala │ ├── TestCLITdml.scala │ └── TestCLIUdfs.scala ├── daffodil-test └── src │ ├── main │ └── .keep │ └── test │ ├── resources │ ├── META-INF │ │ └── services │ │ │ ├── org.apache.daffodil.io.processors.charset.BitsCharsetDefinition │ │ │ ├── org.apache.daffodil.runtime1.layers.api.Layer │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ ├── childDir │ │ ├── anotherChildDir │ │ │ ├── include01_01_02.dfdl.xsd │ │ │ └── include01_01_03.dfdl.xsd │ │ ├── include01_01_01.dfdl.xsd │ │ └── include02_01_01.dfdl.xsd │ ├── include01_01.dfdl.xsd │ ├── include02_01.dfdl.xsd │ ├── org │ │ └── apache │ │ │ └── daffodil │ │ │ ├── charsets │ │ │ ├── TestBitsCharsetDefinition-DNE.dfdl.xsd │ │ │ ├── TestBitsCharsetDefinition.dfdl.xsd │ │ │ └── TestBitsCharsetDefinition.tdml │ │ │ ├── codegen │ │ │ └── c │ │ │ │ ├── ISRM_green_to_orange_60000.dfdl.xsd │ │ │ │ ├── ISRM_green_to_orange_60000.tdml │ │ │ │ ├── ISRM_orange_to_green_60002.dfdl.xsd │ │ │ │ ├── ISRM_orange_to_green_60002.tdml │ │ │ │ ├── MPU_green_to_orange_60004.dfdl.xsd │ │ │ │ ├── MPU_green_to_orange_60004.tdml │ │ │ │ ├── MPU_orange_to_green_60006.dfdl.xsd │ │ │ │ ├── MPU_orange_to_green_60006.tdml │ │ │ │ ├── collisions.dfdl.xsd │ │ │ │ ├── collisions.tdml │ │ │ │ ├── data │ │ │ │ ├── ISRM_green_to_orange_60000.0.dat │ │ │ │ ├── ISRM_green_to_orange_60000.1.dat │ │ │ │ ├── ISRM_orange_to_green_60002.dat │ │ │ │ ├── MPU_green_to_orange_60004.dat │ │ │ │ ├── MPU_orange_to_green_60006.0.dat │ │ │ │ ├── MPU_orange_to_green_60006.1.dat │ │ │ │ ├── collisions.dat │ │ │ │ ├── egress_xdcc_bw.11.dat │ │ │ │ ├── egress_xdcc_bw.12.dat │ │ │ │ ├── egress_xdcc_bw.13.dat │ │ │ │ ├── egress_xdcc_bw.14.dat │ │ │ │ ├── egress_xdcc_bw.15.dat │ │ │ │ ├── egress_xdcc_bw.16.dat │ │ │ │ ├── egress_xdcc_bw.17.dat │ │ │ │ ├── egress_xdcc_bw.18.dat │ │ │ │ ├── egress_xdcc_bw.19.dat │ │ │ │ ├── egress_xdcc_bw.20.dat │ │ │ │ ├── ingress_xdcc_bw.111.dat │ │ │ │ ├── ingress_xdcc_bw.112.dat │ │ │ │ ├── ingress_xdcc_bw.113.dat │ │ │ │ ├── ingress_xdcc_bw.114.dat │ │ │ │ ├── ingress_xdcc_bw.115.dat │ │ │ │ ├── ingress_xdcc_bw.116.dat │ │ │ │ ├── orion.aptina.dat │ │ │ │ ├── orion.camera.dat │ │ │ │ ├── orion.command.dat │ │ │ │ ├── orion.limits.dat │ │ │ │ └── orion.video.dat │ │ │ │ ├── egress_xdcc_bw.dfdl.xsd │ │ │ │ ├── egress_xdcc_bw.tdml │ │ │ │ ├── infosets │ │ │ │ ├── ISRM_green_to_orange_60000.0.dat.xml │ │ │ │ ├── ISRM_green_to_orange_60000.1.dat.xml │ │ │ │ ├── ISRM_orange_to_green_60002.dat.xml │ │ │ │ ├── MPU_green_to_orange_60004.dat.xml │ │ │ │ ├── MPU_orange_to_green_60006.0.dat.xml │ │ │ │ ├── MPU_orange_to_green_60006.1.dat.xml │ │ │ │ ├── collisions.dat.xml │ │ │ │ ├── egress_xdcc_bw.11.dat.xml │ │ │ │ ├── egress_xdcc_bw.12.dat.xml │ │ │ │ ├── egress_xdcc_bw.13.dat.xml │ │ │ │ ├── egress_xdcc_bw.14.dat.xml │ │ │ │ ├── egress_xdcc_bw.15.dat.xml │ │ │ │ ├── egress_xdcc_bw.16.dat.xml │ │ │ │ ├── egress_xdcc_bw.17.dat.xml │ │ │ │ ├── egress_xdcc_bw.18.dat.xml │ │ │ │ ├── egress_xdcc_bw.19.dat.xml │ │ │ │ ├── egress_xdcc_bw.20.dat.xml │ │ │ │ ├── ingress_xdcc_bw.111.dat.xml │ │ │ │ ├── ingress_xdcc_bw.112.dat.xml │ │ │ │ ├── ingress_xdcc_bw.113.dat.xml │ │ │ │ ├── ingress_xdcc_bw.114.dat.xml │ │ │ │ ├── ingress_xdcc_bw.115.dat.xml │ │ │ │ ├── ingress_xdcc_bw.116.dat.xml │ │ │ │ ├── orion.aptina.dat.xml │ │ │ │ ├── orion.camera.dat.xml │ │ │ │ ├── orion.command.dat.xml │ │ │ │ ├── orion.limits.dat.xml │ │ │ │ └── orion.video.dat.xml │ │ │ │ ├── ingress_xdcc_bw.dfdl.xsd │ │ │ │ ├── ingress_xdcc_bw.tdml │ │ │ │ ├── orion.dfdl.xsd │ │ │ │ └── orion.tdml │ │ │ ├── extensions │ │ │ ├── choiceBranchRanges │ │ │ │ └── choiceBranchKeyRanges.tdml │ │ │ ├── enum │ │ │ │ ├── enumInvalid.tdml │ │ │ │ └── enums.tdml │ │ │ ├── lookAhead │ │ │ │ └── lookAhead.tdml │ │ │ └── repType │ │ │ │ ├── repType.tdml │ │ │ │ ├── repType_01_a.dfdl.xsd │ │ │ │ └── repType_01_b.dfdl.xsd │ │ │ ├── infoset │ │ │ └── stringAsXml │ │ │ │ ├── namespaced │ │ │ │ ├── binMessage_01.dat │ │ │ │ ├── binMessage_01.dat.xml │ │ │ │ ├── binMessage_01.dat.xml.dat │ │ │ │ ├── binMessage_02.xml │ │ │ │ ├── binMessage_03.dat │ │ │ │ ├── binMessage_04.xml │ │ │ │ ├── binMessage_05.xml │ │ │ │ ├── binMessage_06.xml │ │ │ │ ├── binMessage_07.xml │ │ │ │ ├── binMessage_08.dat │ │ │ │ └── xsd │ │ │ │ │ ├── binMessage.dfdl.xsd │ │ │ │ │ ├── binMessageWithXmlPayload.xsd │ │ │ │ │ ├── stringAsXmlWrapper.xsd │ │ │ │ │ └── xmlPayload.xsd │ │ │ │ └── nonamespace │ │ │ │ ├── binMessage_01.dat │ │ │ │ ├── binMessage_01.dat.xml │ │ │ │ └── xsd │ │ │ │ ├── binMessage.dfdl.xsd │ │ │ │ ├── binMessageWithXmlPayload.xsd │ │ │ │ ├── stringAsXmlWrapper.xsd │ │ │ │ └── xmlPayload.xsd │ │ │ ├── layers │ │ │ ├── TestCheckDigit.tdml │ │ │ ├── TestGzipFoldB64.tdml │ │ │ ├── TestIPv4.tdml │ │ │ ├── TestLayers.tdml │ │ │ ├── TestLayersBomb.tdml │ │ │ ├── TestTwoByteSwap.tdml │ │ │ ├── ais.dfdl.xsd │ │ │ ├── ais.tdml │ │ │ ├── exampleCheckDigit.dfdl.xsd │ │ │ ├── exampleGzipLayer.dfdl.xsd │ │ │ ├── exampleGzipLayer2.dfdl.xsd │ │ │ ├── exampleIPv4.dfdl.xsd │ │ │ ├── exampleLineFoldedLayer.dfdl.xsd │ │ │ ├── exampleLineFoldedLayer2.dfdl.xsd │ │ │ ├── exampleLineFoldedLayer3Err.dfdl.xsd │ │ │ ├── useAllTypesLayer.dfdl.xsd │ │ │ ├── useSimpleBombLayer.dfdl.xsd │ │ │ ├── useSimpleTestLayers.dfdl.xsd │ │ │ └── xsd │ │ │ │ ├── AllTypesLayer.dfdl.xsd │ │ │ │ ├── IPv4ChecksumLayer.dfdl.xsd │ │ │ │ ├── SimpleBombOutLayer.dfdl.xsd │ │ │ │ ├── SimpleTestLayer.dfdl.xsd │ │ │ │ ├── SimpleTestLayerNoIntVar.dfdl.xsd │ │ │ │ ├── SimpleTestLayerNoStringVar.dfdl.xsd │ │ │ │ ├── checkDigitLayer.dfdl.xsd │ │ │ │ ├── testTwoByteSwap.dfdl.xsd │ │ │ │ ├── testTwoByteSwapByte.dfdl.xsd │ │ │ │ └── testTwoByteSwapShort.dfdl.xsd │ │ │ ├── section00 │ │ │ └── general │ │ │ │ ├── TestResolver.tdml │ │ │ │ ├── dfdlFormatPrefixedAttributesSDE.tdml │ │ │ │ ├── disallowDocTypes.tdml │ │ │ │ ├── elementFormDefaultQualified.dfdl.xsd │ │ │ │ ├── elementFormDefaultUnqualified.dfdl.xsd │ │ │ │ ├── ext_file.txt │ │ │ │ ├── ext_file2.txt │ │ │ │ ├── general.tdml │ │ │ │ ├── generalSchema.dfdl.xsd │ │ │ │ ├── hasDocType-external-vars.xml │ │ │ │ ├── hasDocType-import.dfdl.xsd │ │ │ │ ├── hasDocType-include.dfdl.xsd │ │ │ │ ├── hasDocType-infoset.xml │ │ │ │ ├── hasDocType-via-import.dfdl.xsd │ │ │ │ ├── hasDocType-via-include.dfdl.xsd │ │ │ │ ├── hasDocType.cfg │ │ │ │ ├── hasDocType.dfdl.xsd │ │ │ │ ├── hasDocType.tdml │ │ │ │ ├── infosetWalker.tdml │ │ │ │ ├── largeInput.tdml │ │ │ │ ├── no_namespace_message.dfdl.xsd │ │ │ │ ├── otherAnnotationLanguage.xsd │ │ │ │ ├── otherAnnotationLanguage2.xsd │ │ │ │ ├── parseUnparsePolicy.tdml │ │ │ │ ├── ref_integrity.dfdl.xsd │ │ │ │ ├── schemaWithOtherAnnotations.dfdl.xsd │ │ │ │ ├── schemaWithoutDFDLNamespace.xsd │ │ │ │ ├── testElementFormDefault.tdml │ │ │ │ ├── testExpressionPropertyWarnings.tdml │ │ │ │ ├── testImportOtherAnnotationSchema.tdml │ │ │ │ ├── testSchemaWithoutDFDLNamespace.tdml │ │ │ │ ├── testTextBidi.tdml │ │ │ │ ├── testUnparserBitOrderOVC.tdml │ │ │ │ ├── testUnparserFileBuffering.tdml │ │ │ │ ├── testUnparserGeneral.tdml │ │ │ │ ├── testUnparserSAX.tdml │ │ │ │ ├── tunables.tdml │ │ │ │ └── tunables.xml │ │ │ ├── section02 │ │ │ ├── processing_errors │ │ │ │ ├── ProcessingErrors.tdml │ │ │ │ ├── ProcessingErrorsUnparse.tdml │ │ │ │ └── dfdl-schema-validation-diagnostics.tdml │ │ │ ├── schema_definition_errors │ │ │ │ ├── AttributeFormDefault.dfdl.xsd │ │ │ │ ├── MissingAppinfoSource.dfdl.xsd │ │ │ │ ├── MissingAppinfoSourceNonDfdl.dfdl.xsd │ │ │ │ ├── MissingClosingTag.dfdl.xsd │ │ │ │ ├── SchemaDefinitionErrors.tdml │ │ │ │ └── lineNumber.dfdl.xsd │ │ │ └── validation_errors │ │ │ │ └── Validation.tdml │ │ │ ├── section05 │ │ │ ├── dfdl_xsdl_subset │ │ │ │ ├── DFDLSubset.tdml │ │ │ │ └── dfdlSubsetErr.dfdl.xsd │ │ │ ├── facets │ │ │ │ ├── Facets.tdml │ │ │ │ ├── NulChars.tdml │ │ │ │ ├── PatternRanges.tdml │ │ │ │ ├── facetSchema.dfdl.xsd │ │ │ │ ├── facetSchema2.dfdl.xsd │ │ │ │ └── testBinary.dfdl.xsd │ │ │ └── simple_types │ │ │ │ ├── AJ.tdml │ │ │ │ ├── AK.dfdl.xsd │ │ │ │ ├── AK.tdml │ │ │ │ ├── AL.dfdl.xsd │ │ │ │ ├── AL.tdml │ │ │ │ ├── BitOrder.tdml │ │ │ │ ├── BitOrderInvalid.tdml │ │ │ │ ├── Blobs.tdml │ │ │ │ ├── Boolean.tdml │ │ │ │ ├── Encodings.tdml │ │ │ │ ├── RuntimeCalendarLanguage.tdml │ │ │ │ ├── SimpleTypes.tdml │ │ │ │ ├── SimpleTypes2.tdml │ │ │ │ ├── SimpleTypesUnparse.tdml │ │ │ │ ├── WhiteSpace.tdml │ │ │ │ ├── blobs │ │ │ │ ├── blob_01.bin │ │ │ │ ├── blob_02.bin │ │ │ │ ├── blob_03.bin │ │ │ │ ├── blob_04.bin │ │ │ │ ├── blob_07.bin │ │ │ │ ├── blob_13a.bin │ │ │ │ ├── blob_13b.bin │ │ │ │ ├── blob_13c.bin │ │ │ │ └── blob_13d.bin │ │ │ │ ├── nonNegativeInteger.dfdl.xsd │ │ │ │ ├── simple-type-bases.tdml │ │ │ │ └── unions.tdml │ │ │ ├── section06 │ │ │ ├── entities │ │ │ │ ├── 02nine_headers.txt │ │ │ │ ├── DefaultProperties.dfdl.xsd │ │ │ │ ├── Entities.tdml │ │ │ │ ├── InvalidEntities.tdml │ │ │ │ ├── TopLevel.dfdl.xsd │ │ │ │ ├── charClassEntities.dfdl.xsd │ │ │ │ ├── charClassEntities.tdml │ │ │ │ ├── entities_01.tdml │ │ │ │ └── utf16schema.dfdl.xsd │ │ │ └── namespaces │ │ │ │ ├── ABC_IBM.dfdl.xsd │ │ │ │ ├── ABC_IBM_invalid.dfdl.xsd │ │ │ │ ├── ABC_invalid.dfdl.xsd │ │ │ │ ├── ABC_invalid_2.dfdl.xsd │ │ │ │ ├── address_namespace.dfdl.xsd │ │ │ │ ├── address_no_namespace.dfdl.xsd │ │ │ │ ├── charClassEntities.dfdl.xsd │ │ │ │ ├── customer_namespace.dfdl.xsd │ │ │ │ ├── customer_no_namespace.dfdl.xsd │ │ │ │ ├── cycle_base.dfdl.xsd │ │ │ │ ├── cycle_step.dfdl.xsd │ │ │ │ ├── format.dfdl.xsd │ │ │ │ ├── generalFormat01.dfdl.xsd │ │ │ │ ├── generalFormat02.dfdl.xsd │ │ │ │ ├── generalFormat03.dfdl.xsd │ │ │ │ ├── generalFormat04.dfdl.xsd │ │ │ │ ├── ibm_format_compat.dfdl.xsd │ │ │ │ ├── ibm_format_compat_2.dfdl.xsd │ │ │ │ ├── include01.dfdl.xsd │ │ │ │ ├── include02.dfdl.xsd │ │ │ │ ├── includeImport.tdml │ │ │ │ ├── junk-annotation-01.dfdl.xsd │ │ │ │ ├── multiFile.tdml │ │ │ │ ├── multi_A_01.dfdl.xsd │ │ │ │ ├── multi_A_02.dfdl.xsd │ │ │ │ ├── multi_A_03.dfdl.xsd │ │ │ │ ├── multi_A_04.dfdl.xsd │ │ │ │ ├── multi_A_05_nons.dfdl.xsd │ │ │ │ ├── multi_A_08.dfdl.xsd │ │ │ │ ├── multi_A_09.dfdl.xsd │ │ │ │ ├── multi_A_10.dfdl.xsd │ │ │ │ ├── multi_A_11_nons.dfdl.xsd │ │ │ │ ├── multi_A_11_nons_valid.dfdl.xsd │ │ │ │ ├── multi_A_12.dfdl.xsd │ │ │ │ ├── multi_A_13.dfdl.xsd │ │ │ │ ├── multi_A_14.dfdl.xsd │ │ │ │ ├── multi_A_15.dfdl.xsd │ │ │ │ ├── multi_A_16.dfdl.xsd │ │ │ │ ├── multi_A_17.dfdl.xsd │ │ │ │ ├── multi_A_20.dfdl.xsd │ │ │ │ ├── multi_A_21.dfdl.xsd │ │ │ │ ├── multi_A_shi.dfdl.xsd │ │ │ │ ├── multi_A_temp.dfdl.xsd │ │ │ │ ├── multi_B_01.dfdl.xsd │ │ │ │ ├── multi_B_02.dfdl.xsd │ │ │ │ ├── multi_B_03.dfdl.xsd │ │ │ │ ├── multi_B_04.dfdl.xsd │ │ │ │ ├── multi_B_04_invalid.dfdl.xsd │ │ │ │ ├── multi_B_05_nons.dfdl.xsd │ │ │ │ ├── multi_B_06.dfdl.xsd │ │ │ │ ├── multi_B_06_valid.dfdl.xsd │ │ │ │ ├── multi_B_08.dfdl.xsd │ │ │ │ ├── multi_B_08_classpath.dfdl.xsd │ │ │ │ ├── multi_B_10.dfdl.xsd │ │ │ │ ├── multi_B_11.dfdl.xsd │ │ │ │ ├── multi_B_12.dfdl.xsd │ │ │ │ ├── multi_B_13.dfdl.xsd │ │ │ │ ├── multi_B_17.dfdl.xsd │ │ │ │ ├── multi_C_02.dfdl.xsd │ │ │ │ ├── multi_C_03.dfdl.xsd │ │ │ │ ├── multi_C_04.dfdl.xsd │ │ │ │ ├── multi_C_05_nons.dfdl.xsd │ │ │ │ ├── multi_C_08.dfdl.xsd │ │ │ │ ├── multi_C_08_classpath.dfdl.xsd │ │ │ │ ├── multi_C_10.dfdl.xsd │ │ │ │ ├── multi_C_13.dfdl.xsd │ │ │ │ ├── multi_C_14.dfdl.xsd │ │ │ │ ├── multi_C_15.dfdl.xsd │ │ │ │ ├── multi_D_03.dfdl.xsd │ │ │ │ ├── multi_E_03.dfdl.xsd │ │ │ │ ├── multi_F_03.dfdl.xsd │ │ │ │ ├── multi_base_01.dfdl.xsd │ │ │ │ ├── multi_base_02.dfdl.xsd │ │ │ │ ├── multi_base_03.dfdl.xsd │ │ │ │ ├── multi_base_04.dfdl.xsd │ │ │ │ ├── multi_base_04_invalid.dfdl.xsd │ │ │ │ ├── multi_base_04_invalid2.dfdl.xsd │ │ │ │ ├── multi_base_05_nons.dfdl.xsd │ │ │ │ ├── multi_base_05_nons_with_A.dfdl.xsd │ │ │ │ ├── multi_base_06.dfdl.xsd │ │ │ │ ├── multi_base_06_valid.dfdl.xsd │ │ │ │ ├── multi_base_07_failure.dfdl.xsd │ │ │ │ ├── multi_base_08.dfdl.xsd │ │ │ │ ├── multi_base_09.dfdl.xsd │ │ │ │ ├── multi_base_10.dfdl.xsd │ │ │ │ ├── multi_base_11.dfdl.xsd │ │ │ │ ├── multi_base_11_valid.dfdl.xsd │ │ │ │ ├── multi_base_12.dfdl.xsd │ │ │ │ ├── multi_base_13.dfdl.xsd │ │ │ │ ├── multi_base_14.dfdl.xsd │ │ │ │ ├── multi_base_15.dfdl.xsd │ │ │ │ ├── multi_base_16.dfdl.xsd │ │ │ │ ├── multi_base_17.dfdl.xsd │ │ │ │ ├── multi_base_18.dfdl.xsd │ │ │ │ ├── multi_base_19.dfdl.xsd │ │ │ │ ├── multi_base_20.dfdl.xsd │ │ │ │ ├── multi_base_21.dfdl.xsd │ │ │ │ ├── multi_base_shi.dfdl.xsd │ │ │ │ ├── multi_base_shi2.dfdl.xsd │ │ │ │ ├── multi_temp.dfdl.xsd │ │ │ │ ├── namespaceCharLim.dfdl.xsd │ │ │ │ ├── namespaceRules.dfdl.xsd │ │ │ │ ├── namespaceRules2.dfdl.xsd │ │ │ │ ├── namespaceSpecialChar.dfdl.xsd │ │ │ │ ├── namespaceSpecialChar2.dfdl.xsd │ │ │ │ ├── namespaces.tdml │ │ │ │ ├── no_target_namespace.dfdl.xsd │ │ │ │ ├── no_target_namespace_include.dfdl.xsd │ │ │ │ ├── path-qnames │ │ │ │ ├── A.dfdl.xsd │ │ │ │ ├── B.dfdl.xsd │ │ │ │ ├── C.dfdl.xsd │ │ │ │ └── D.dfdl.xsd │ │ │ │ ├── predefined_format.dfdl.xsd │ │ │ │ ├── primTypesPrefixes.dfdl.xsd │ │ │ │ ├── qname1.dfdl.xsd │ │ │ │ ├── qname2.dfdl.xsd │ │ │ │ ├── qname3.dfdl.xsd │ │ │ │ ├── shi │ │ │ │ ├── subfolder │ │ │ │ ├── multi_A_06_nons.dfdl.xsd │ │ │ │ ├── multi_A_06_nons_valid.dfdl.xsd │ │ │ │ ├── multi_B_14.dfdl.xsd │ │ │ │ ├── multi_B_15.dfdl.xsd │ │ │ │ ├── multi_C_06_nons.dfdl.xsd │ │ │ │ ├── multi_C_06_nons_valid.dfdl.xsd │ │ │ │ ├── multi_C_14.dfdl.xsd │ │ │ │ └── multi_C_15.dfdl.xsd │ │ │ │ ├── test01sch1.dfdl.xsd │ │ │ │ ├── test01sch2.dfdl.xsd │ │ │ │ ├── test02sch1.dfdl.xsd │ │ │ │ ├── test02sch2.dfdl.xsd │ │ │ │ ├── test03sch1.dfdl.xsd │ │ │ │ ├── test03sch2.dfdl.xsd │ │ │ │ ├── test04sch1.dfdl.xsd │ │ │ │ ├── test04sch2.dfdl.xsd │ │ │ │ ├── test05sch1.dfdl.xsd │ │ │ │ ├── test05sch2.dfdl.xsd │ │ │ │ ├── test05sch3.dfdl.xsd │ │ │ │ ├── test05sch4.dfdl.xsd │ │ │ │ ├── test05sch5.dfdl.xsd │ │ │ │ └── test05sch6.dfdl.xsd │ │ │ ├── section07 │ │ │ ├── annotations │ │ │ │ └── annotations.tdml │ │ │ ├── assertions │ │ │ │ └── assert.tdml │ │ │ ├── defineFormat │ │ │ │ ├── defineFormat.dfdl.xsd │ │ │ │ ├── defineFormat.tdml │ │ │ │ ├── defineFormat_withComment.dfdl.xsd │ │ │ │ └── noNameFormat.dfdl.xsd │ │ │ ├── discriminators │ │ │ │ ├── discriminator.tdml │ │ │ │ ├── discriminator2.tdml │ │ │ │ ├── multipleDiscriminators.tdml │ │ │ │ └── nestedChoiceDiscriminator.tdml │ │ │ ├── escapeScheme │ │ │ │ ├── escapeScenarios.tdml │ │ │ │ ├── escapeScheme.tdml │ │ │ │ ├── escapeSchemeNeg.tdml │ │ │ │ └── escapeSchemeUnparse.tdml │ │ │ ├── external_variables │ │ │ │ ├── daffodil_config.xml │ │ │ │ ├── daffodil_config_cli_test.xml │ │ │ │ ├── external_variables.dfdl.xsd │ │ │ │ ├── external_variables.tdml │ │ │ │ └── external_variables.xml │ │ │ ├── property_syntax │ │ │ │ ├── PropertySyntax.tdml │ │ │ │ ├── property_syntax.dfdl.xsd │ │ │ │ ├── property_syntax_overlap1.dfdl.xsd │ │ │ │ └── property_syntax_overlap2.dfdl.xsd │ │ │ └── variables │ │ │ │ ├── setVarWIthValueLength.tdml │ │ │ │ ├── variables.tdml │ │ │ │ ├── variables_01.dfdl.xsd │ │ │ │ └── variables_01.tdml │ │ │ ├── section08 │ │ │ └── property_scoping │ │ │ │ ├── PropertyScoping.tdml │ │ │ │ ├── PropertyScoping_01.tdml │ │ │ │ ├── PropertyScoping_02.dfdl.xsd │ │ │ │ ├── PropertyScoping_03.dfdl.xsd │ │ │ │ ├── PropertyScoping_04.dfdl.xsd │ │ │ │ ├── PropertyScoping_05.dfdl.xsd │ │ │ │ ├── defaultForm.dfdl.xsd │ │ │ │ ├── defaultForm_02.dfdl.xsd │ │ │ │ ├── defaultForm_03.dfdl.xsd │ │ │ │ └── defaultForm_04.dfdl.xsd │ │ │ ├── section10 │ │ │ └── representation_properties │ │ │ │ ├── PropertiesDefined.dfdl.xsd │ │ │ │ ├── PropertiesNotDefined.dfdl.xsd │ │ │ │ ├── RepProps.tdml │ │ │ │ └── encodings.tdml │ │ │ ├── section11 │ │ │ └── content_framing_properties │ │ │ │ └── ContentFramingProps.tdml │ │ │ ├── section12 │ │ │ ├── aligned_data │ │ │ │ ├── Aligned_Data.tdml │ │ │ │ ├── BinaryInput_01.tdml │ │ │ │ └── InvalidAlignSchema.dfdl.xsd │ │ │ ├── delimiter_properties │ │ │ │ ├── DelimiterProperties.tdml │ │ │ │ ├── DelimiterPropertiesUnparse.tdml │ │ │ │ ├── testDFACreation.dfdl.xsd │ │ │ │ └── testOptionalInfix.dfdl.xsd │ │ │ ├── lengthKind │ │ │ │ ├── AB.dfdl.xsd │ │ │ │ ├── AB.tdml │ │ │ │ ├── AI.tdml │ │ │ │ ├── AN.tdml │ │ │ │ ├── DelimitedTests.tdml │ │ │ │ ├── EndOfParentTests.tdml │ │ │ │ ├── ExplicitTests.tdml │ │ │ │ ├── PatternTests.tdml │ │ │ │ ├── PrefixedTests.tdml │ │ │ │ └── implicit.tdml │ │ │ └── length_properties │ │ │ │ └── LengthProperties.tdml │ │ │ ├── section13 │ │ │ ├── boolean │ │ │ │ └── boolean.tdml │ │ │ ├── decimal │ │ │ │ └── TestDecimalSigned.tdml │ │ │ ├── nillable │ │ │ │ ├── literal-character-nils-unparse.tdml │ │ │ │ ├── literal-character-nils.tdml │ │ │ │ ├── literal-value-nils-unparse.tdml │ │ │ │ ├── literal-value-nils.tdml │ │ │ │ ├── nillable.dfdl.xsd │ │ │ │ ├── nillable.tdml │ │ │ │ └── nillable2.tdml │ │ │ ├── packed │ │ │ │ └── packed.tdml │ │ │ ├── text_number_props │ │ │ │ ├── TextNumberProps.tdml │ │ │ │ ├── TextNumberPropsUnparse.tdml │ │ │ │ ├── TextPad.tdml │ │ │ │ └── TextStandardBase.tdml │ │ │ └── zoned │ │ │ │ ├── pv.tdml │ │ │ │ ├── zoned.tdml │ │ │ │ └── zoned2.tdml │ │ │ ├── section14 │ │ │ ├── occursCountKind │ │ │ │ └── ockImplicit.tdml │ │ │ ├── sequence_groups │ │ │ │ ├── HiddenSequences.tdml │ │ │ │ ├── SequenceGroup.tdml │ │ │ │ ├── SequenceGroupDelimiters.tdml │ │ │ │ ├── SequenceGroupInitiatedContent.tdml │ │ │ │ ├── SequenceGroupNestedArray.tdml │ │ │ │ ├── SequenceGroupUnparse.tdml │ │ │ │ ├── SequencesWithHiddenRefs.dfdl.xsd │ │ │ │ ├── SequencesWithHiddenRefsInvalid.dfdl.xsd │ │ │ │ ├── SimilarModelGroupElement1.dfdl.xsd │ │ │ │ ├── SimilarModelGroupElement2.dfdl.xsd │ │ │ │ ├── SimilarModelGroupRoot.dfdl.xsd │ │ │ │ └── sequenceWithComplexType.dfdl.xsd │ │ │ └── unordered_sequences │ │ │ │ ├── BE.dfdl.xsd │ │ │ │ ├── BE.tdml │ │ │ │ ├── UnorderedSequences.tdml │ │ │ │ ├── unordered_namespaces_01.dfdl.xsd │ │ │ │ ├── unordered_namespaces_02.dfdl.xsd │ │ │ │ └── unordered_namespaces_03.dfdl.xsd │ │ │ ├── section15 │ │ │ └── choice_groups │ │ │ │ ├── ChoiceGroupInitiatedContent.tdml │ │ │ │ ├── ChoiceLengthExplicit.tdml │ │ │ │ ├── ChoicesInHiddenContexts.dfdl.xsd │ │ │ │ ├── HiddenChoices.tdml │ │ │ │ ├── SharedGroupTestSchema.dfdl.xsd │ │ │ │ ├── choice-unparse.tdml │ │ │ │ ├── choice-unparse2.tdml │ │ │ │ ├── choice.dfdl.xsd │ │ │ │ ├── choice.tdml │ │ │ │ ├── choice1765.tdml │ │ │ │ ├── choice1773.tdml │ │ │ │ ├── choice2162.tdml │ │ │ │ ├── choice2736.tdml │ │ │ │ ├── choiceNests.tdml │ │ │ │ ├── minMaxChoice.dfdl.xsd │ │ │ │ └── testSharedGroups.tdml │ │ │ ├── section16 │ │ │ └── array_optional_elem │ │ │ │ ├── ArrayComb.tdml │ │ │ │ ├── ArrayOptionalElem.tdml │ │ │ │ ├── UnparseArrayDelimitedOptionalElem.tdml │ │ │ │ ├── UnparseArrayExpressionConstant.tdml │ │ │ │ ├── UnparseArrayFixedOptionalElem.tdml │ │ │ │ ├── UnparseArrayImplicitOptionalElem.tdml │ │ │ │ ├── UnparseArrayParsedOptionalElem.tdml │ │ │ │ ├── arrays_optional_elements.dfdl.xsd │ │ │ │ └── backtracking.tdml │ │ │ ├── section17 │ │ │ └── calc_value_properties │ │ │ │ ├── AA.tdml │ │ │ │ ├── AQ.tdml │ │ │ │ ├── AR.tdml │ │ │ │ ├── computedLengthFields.tdml │ │ │ │ ├── inputValueCalc.tdml │ │ │ │ ├── outputValueCalc.tdml │ │ │ │ ├── outputValueCalc2.tdml │ │ │ │ └── outputValueCalc3.tdml │ │ │ ├── section23 │ │ │ ├── dfdl_expressions │ │ │ │ ├── csv_mod.dfdl.xsd │ │ │ │ ├── expression_fail.tdml │ │ │ │ ├── expressions.tdml │ │ │ │ ├── expressions2.tdml │ │ │ │ ├── expressions3.tdml │ │ │ │ ├── expressions_broken.dfdl.xsd │ │ │ │ ├── expressions_broken_2.dfdl.xsd │ │ │ │ ├── expressions_broken_3.dfdl.xsd │ │ │ │ ├── expressions_unused_path_no_context.dfdl.xsd │ │ │ │ ├── functions.tdml │ │ │ │ ├── s1.dfdl.xsd │ │ │ │ ├── setVar.dfdl.xsd │ │ │ │ └── valueLength.tdml │ │ │ ├── dfdl_functions │ │ │ │ ├── BitFunctions.tdml │ │ │ │ ├── BitFunctionsAnd.tdml │ │ │ │ ├── BitFunctionsNot.tdml │ │ │ │ ├── BitFunctionsOr.tdml │ │ │ │ ├── BitFunctionsXor.tdml │ │ │ │ ├── Functions-neg.dfdl.xsd │ │ │ │ ├── Functions-neg.tdml │ │ │ │ ├── Functions.tdml │ │ │ │ ├── Functions_UTF8.tdml │ │ │ │ ├── first_schema.dfdl.xsd │ │ │ │ ├── home_schema.dfdl.xsd │ │ │ │ └── second_schema.dfdl.xsd │ │ │ └── runtime_properties │ │ │ │ ├── dynamicSeparator.tdml │ │ │ │ └── runtime-properties.tdml │ │ │ ├── section24 │ │ │ └── regular_expressions │ │ │ │ └── RegularExpressions.tdml │ │ │ ├── section31 │ │ │ └── escape_characters │ │ │ │ └── Escapes.tdml │ │ │ ├── udf │ │ │ └── udfs.tdml │ │ │ ├── unparser │ │ │ ├── OVCAndLengthTest.tdml │ │ │ ├── envelopePayload.tdml │ │ │ ├── parseUnparseMode.dfdl.xsd │ │ │ ├── parseUnparseModeTest.dfdl.xsd │ │ │ ├── parseUnparseModeTest.tdml │ │ │ └── unparseNegInfosetTest.tdml │ │ │ └── usertests │ │ │ ├── Book2.csv │ │ │ ├── Book2.dfdl.xsd │ │ │ ├── DefaultProperties.dfdl.xsd │ │ │ ├── DefaultProperties2.dfdl.xsd │ │ │ ├── MultipartBody.dfdl.xsd │ │ │ ├── SepTests.tdml │ │ │ ├── UserSubmittedTests.tdml │ │ │ ├── backtrack.dfdl.xsd │ │ │ ├── invalid_xml.dfdl.xsd │ │ │ ├── leaks.tdml │ │ │ ├── nameDOB_test.tdml │ │ │ ├── test-6.tdml.xml │ │ │ ├── test-csv.tdml │ │ │ ├── testSSPNeverDiagnostic.tdml.xml │ │ │ ├── test_Book2.expected.xml │ │ │ ├── test_prefix_separator_as_variable │ │ │ └── test_prefix_separator_as_variable.expected.xml │ └── test space │ │ ├── A B.dfdl.xsd │ │ ├── A BTinyData.tdml.dat │ │ ├── test 1 │ │ ├── multi_base_05_nons.dfdl.xsd │ │ └── namespaces.tdml │ │ ├── test 2 │ │ └── multi_A_05_nons.dfdl.xsd │ │ └── test 3 │ │ └── multi_B_05_nons.dfdl.xsd │ └── scala │ └── org │ └── apache │ └── daffodil │ ├── charsets │ ├── ISO_8859_1_Reverse.scala │ ├── TestBitsCharsetDefinition.scala │ └── TestISO_8859_13.scala │ ├── codegen │ └── c │ │ ├── TestCollisions.scala │ │ ├── TestEgressXdccBw.scala │ │ ├── TestExNums.scala │ │ ├── TestIngressXdccBw.scala │ │ ├── TestIsrmGreenToOrange60000.scala │ │ ├── TestIsrmOrangeToGreen60002.scala │ │ ├── TestMpuGreenToOrange60004.scala │ │ ├── TestMpuOrangeToGreen60006.scala │ │ ├── TestNested.scala │ │ ├── TestOrion.scala │ │ ├── TestPadTest.scala │ │ ├── TestSimple.scala │ │ ├── TestSimpleErrors.scala │ │ └── TestVariableLen.scala │ ├── extensions │ ├── TestChoiceBranchKeyRanges.scala │ ├── TestEnums.scala │ ├── TestLookAhead.scala │ └── TestRepType.scala │ ├── functionality │ └── TestFunctionality.scala │ ├── infoset │ └── TestStringAsXml.scala │ ├── runtime1 │ └── layers │ │ ├── AISPayloadArmoringLayer.scala │ │ ├── AllTypesLayer.scala │ │ ├── CheckDigitLayer.scala │ │ ├── SimpleBombOutLayer.scala │ │ ├── SimpleTestLayer.scala │ │ ├── TestAIS.scala │ │ ├── TestAISPayloadArmoringEncoder.scala │ │ ├── TestAISStreams.scala │ │ ├── TestByteSwap.scala │ │ ├── TestCheckDigit.scala │ │ ├── TestGzipFoldB64.scala │ │ ├── TestIPv4.scala │ │ ├── TestLayers.scala │ │ ├── TestLayers2.scala │ │ └── ipv4 │ │ └── IPv4ChecksumLayer.scala │ ├── section00 │ └── general │ │ ├── TestDFDLFormatPrefixedAttributesSDE.scala │ │ ├── TestDisallowDocType.scala │ │ ├── TestElementFormDefaultGeneral.scala │ │ ├── TestExpressionPropertyWarnings.scala │ │ ├── TestFileBuffering.scala │ │ ├── TestGeneral.scala │ │ ├── TestImportOtherAnnotationSchema.scala │ │ ├── TestInfosetWalker.scala │ │ ├── TestParseUnparsePolicy.scala │ │ ├── TestResolver.scala │ │ ├── TestSchemaWithoutDFDLNamespace.scala │ │ ├── TestTextBidi.scala │ │ ├── TestUnparserGeneral.scala │ │ ├── TestUnparserGeneral2.scala │ │ └── TestUnparserSAX.scala │ ├── section02 │ ├── processing_errors │ │ ├── ProcessingErrors.scala │ │ └── ProcessingErrorsUnparse.scala │ ├── schema_definition_errors │ │ └── TestSDE.scala │ └── validation_errors │ │ └── TestValidationErr.scala │ ├── section05 │ ├── dfdl_xsdl_subset │ │ └── TestDFDLSubset.scala │ ├── facets │ │ ├── TestFacets.scala │ │ ├── TestNulChars.scala │ │ └── TestPatternRanges.scala │ └── simple_types │ │ ├── TestBlobs.scala │ │ ├── TestBoolean2.scala │ │ ├── TestEncodings.scala │ │ ├── TestRuntimeCalendarLanguage.scala │ │ ├── TestSimpleTypes.scala │ │ ├── TestSimpleTypes2.scala │ │ ├── TestSimpleTypesUnparse.scala │ │ └── TestUnions.scala │ ├── section06 │ ├── entities │ │ └── TestEntities.scala │ └── namespaces │ │ └── TestNamespaces.scala │ ├── section07 │ ├── annotations │ │ └── TestAnnotations.scala │ ├── assertions │ │ └── TestAssertions.scala │ ├── defineFormat │ │ └── DefineFormatTests.scala │ ├── discriminators │ │ ├── TestDiscriminators.scala │ │ └── TestNestedChoices.scala │ ├── escapeScheme │ │ ├── TestEscapeScheme.scala │ │ └── TestEscapeSchemeUnparse.scala │ ├── external_variables │ │ └── TestExternalVariables.scala │ ├── property_syntax │ │ └── TestPropertySyntax.scala │ └── variables │ │ ├── TestSetVarWithValueLength.scala │ │ └── TestVariables.scala │ ├── section08 │ └── property_scoping │ │ └── TestPropertyScoping.scala │ ├── section10 │ └── representation_properties │ │ ├── TestRepProps.scala │ │ └── TestRepProps2.scala │ ├── section11 │ └── content_framing_properties │ │ └── TestContentFramingProperties.scala │ ├── section12 │ ├── aligned_data │ │ └── TestAlignedData.scala │ ├── delimiter_properties │ │ ├── TestDelimiterProperties.scala │ │ └── TestDelimiterPropertiesUnparse.scala │ ├── lengthKind │ │ ├── TestLengthKindDelimited.scala │ │ ├── TestLengthKindEndOfParent2.scala │ │ ├── TestLengthKindExplicit.scala │ │ ├── TestLengthKindImplicit.scala │ │ ├── TestLengthKindPattern.scala │ │ └── TestLengthKindPrefixed.scala │ └── length_properties │ │ └── TestLengthProperties.scala │ ├── section13 │ ├── boolean │ │ └── TestBoolean.scala │ ├── decimal │ │ └── TestDecimalSigned.scala │ ├── nillable │ │ ├── TestNillable.scala │ │ ├── TestNillable2.scala │ │ └── TestNillableUnparse.scala │ ├── packed │ │ └── TestPacked.scala │ ├── text_number_props │ │ ├── TestTextNumberProps.scala │ │ ├── TestTextNumberPropsUnparse.scala │ │ └── TestTextStandardBase.scala │ ├── validation_errors │ │ └── PadCharacter.scala │ └── zoned │ │ ├── TestPV.scala │ │ └── TestZoned.scala │ ├── section14 │ ├── occursCountKind │ │ └── TestOCKImplicit.scala │ ├── sequence_groups │ │ ├── TestHiddenSequences.scala │ │ ├── TestSequenceGroupInitiatedContent.scala │ │ ├── TestSequenceGroupNestedArray.scala │ │ ├── TestSequenceGroupUnparse.scala │ │ └── TestSequenceGroups.scala │ └── unordered_sequences │ │ └── TestUnorderedSequences.scala │ ├── section15 │ └── choice_groups │ │ ├── TestChoice.scala │ │ ├── TestChoice2.scala │ │ ├── TestChoiceGroupInitiatedContent.scala │ │ ├── TestChoiceNest.scala │ │ ├── TestHiddenChoices.scala │ │ ├── TestSharedGroups.scala │ │ ├── TestUnparseChoice.scala │ │ └── TestUnparseChoice2.scala │ ├── section16 │ └── array_optional_elem │ │ ├── TestArrayOptionalElem.scala │ │ └── TestUnparseArrayOptionalElem.scala │ ├── section17 │ └── calc_value_properties │ │ ├── TestComputedLengthFields.scala │ │ ├── TestInputValueCalc.scala │ │ └── TestOutputValueCalc.scala │ ├── section23 │ ├── dfdl_expressions │ │ ├── TestBitFunctions.scala │ │ ├── TestDFDLExpressions.scala │ │ ├── TestDFDLExpressions2.scala │ │ └── TestDFDLExpressions3.scala │ └── runtime_properties │ │ └── TestDynamicSeparator.scala │ ├── section24 │ └── regular_expressions │ │ └── TestRegularExpressions.scala │ ├── section31 │ └── escape_characters │ │ └── TestEscapes.scala │ ├── udf │ └── TestUdfsInSchemas.scala │ ├── unparser │ ├── TestEnvelopePayload.scala │ ├── TestOVCAndLength.scala │ ├── TestParseUnparseMode.scala │ └── TestUnparseNegInfoset.scala │ └── usertests │ ├── RC-Test.scala │ ├── TestCSV.scala │ ├── TestSSPNeverDiagnostic.scala │ ├── TestSepTests.scala │ └── TestUserSubmittedTests.scala ├── daffodil-udf ├── README.md └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── daffodil │ │ │ └── udf │ │ │ ├── UserDefinedFunction.java │ │ │ ├── UserDefinedFunctionIdentification.java │ │ │ ├── UserDefinedFunctionProvider.java │ │ │ └── exceptions │ │ │ ├── UserDefinedFunctionFatalException.java │ │ │ └── UserDefinedFunctionProcessingError.java │ └── resources │ │ └── META-INF │ │ ├── LICENSE │ │ └── NOTICE │ └── test │ ├── java │ └── org │ │ ├── badudfs │ │ ├── annotations │ │ │ └── StringFunctions │ │ │ │ ├── Compare.java │ │ │ │ ├── FuncB.java │ │ │ │ ├── META-INF │ │ │ │ └── services │ │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ │ ├── Replace.java │ │ │ │ └── StringFunctionsProvider.java │ │ ├── evaluate │ │ │ └── StringFunctions │ │ │ │ ├── FuncA.java │ │ │ │ ├── FuncB.java │ │ │ │ ├── FuncC.java │ │ │ │ ├── FuncD.java │ │ │ │ ├── FuncE.java │ │ │ │ ├── META-INF │ │ │ │ └── services │ │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ │ ├── Replace.java │ │ │ │ └── StringFunctionsProvider.java │ │ ├── functionclasses1 │ │ │ └── StringFunctions │ │ │ │ ├── FuncA.java │ │ │ │ ├── META-INF │ │ │ │ └── services │ │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ │ ├── Replace.java │ │ │ │ └── StringFunctionsProvider.java │ │ ├── functionclasses2 │ │ │ └── StringFunctions │ │ │ │ ├── FuncA.java │ │ │ │ ├── META-INF │ │ │ │ └── services │ │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ │ ├── Replace.java │ │ │ │ └── StringFunctionsProvider.java │ │ └── nonUDF │ │ │ └── StringFunctions │ │ │ ├── FuncA.java │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ ├── Replace.java │ │ │ └── StringFunctionsProvider.java │ │ └── jgoodudfs │ │ └── example │ │ └── StringFunctions │ │ ├── Compare.java │ │ ├── Replace.java │ │ └── StringFunctionsProvider.java │ ├── resources │ └── org │ │ ├── apache │ │ └── daffodil │ │ │ └── udf │ │ │ └── genericUdfSchema.xsd │ │ ├── badmetainf │ │ └── nonexistentclass │ │ │ └── META-INF │ │ │ └── services │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ └── goodmetainf │ │ ├── IntegerFunctions │ │ └── META-INF │ │ │ └── services │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ └── StringFunctions │ │ └── META-INF │ │ └── services │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ └── scala │ └── org │ ├── sbadudfs │ ├── functionclasses │ │ └── StringFunctions │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ └── StringFunctionsProvider.scala │ ├── functionclasses2 │ │ └── StringFunctions │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ └── StringFunctionsProvider.scala │ ├── udfexceptions │ │ └── evaluating │ │ │ └── StringFunctions │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ └── StringFunctionsProvider.scala │ ├── udfexceptions2 │ │ └── StringFunctions │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ └── StringFunctionsProvider.scala │ ├── udfpexceptions │ │ └── StringFunctions │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ │ └── StringFunctionsProvider.scala │ └── udfpexceptions2 │ │ └── StringFunctions │ │ ├── META-INF │ │ └── services │ │ │ └── org.apache.daffodil.udf.UserDefinedFunctionProvider │ │ └── StringFunctionsProvider.scala │ └── sgoodudfs │ └── example │ ├── IntegerFunctions │ └── IntegerFunctionsProvider.scala │ ├── StringFunctions │ └── StringFunctionsProvider.scala │ └── SupportedTypesFunctions │ └── SupportedTypesFunctionsProvider.scala ├── project ├── Dependencies.scala ├── ForkCaptureLogger.scala ├── OsgiCheck.scala ├── Rat.scala ├── build.properties └── plugins.sbt ├── scripts └── osgi-refactor │ ├── .gitignore │ ├── README.md │ ├── Rat.scala │ ├── add-imports.scala │ ├── fix-gen.sh │ ├── fix-imports.scala │ ├── gen-symbol-table.scala │ ├── git-restore.sh │ ├── refactor.sh │ └── rename-dirs.sh ├── test-stdLayout └── src │ ├── main │ └── resources │ │ ├── org1 │ │ └── xsd │ │ │ ├── innerEnvelope.dfdl.xsd │ │ │ └── outerEnvelope.dfdl.xsd │ │ └── org2 │ │ └── xsd │ │ ├── formats.dfdl.xsd │ │ ├── payload.dfdl.xsd │ │ └── types.dfdl.xsd │ └── test │ ├── resources │ ├── org1 │ │ ├── test-outer-data1.txt │ │ ├── testSchemaFilesUnderSrcTest.tdml │ │ ├── testStdLayout.tdml │ │ └── xsd │ │ │ └── testInner.dfdl.xsd │ └── org2 │ │ ├── test-data1.txt │ │ ├── testEmbeddedSchema.tdml │ │ ├── testPayloadAndTypes.tdml │ │ ├── testSchemaFilesUnderSrcTest2.tdml │ │ └── xsd │ │ └── testPayload.dfdl.xsd │ └── scala │ ├── org1 │ └── TestOrg1.scala │ └── org2 │ ├── TestOrg2.scala │ └── TestPayloadAndTypes.scala └── tutorials └── src ├── main └── resources │ ├── DFDLTutorialStylesheet.xsl │ ├── bitOrder.tutorial.drawing01.svg │ ├── bitorder.tutorial.tdml.xml │ ├── bugReportTemplate.tdml.xml │ └── tdmlTutorial.tdml.xml └── test ├── java └── org │ └── apache │ └── daffodil │ └── tutorials │ └── TestTDMLFromJava.java ├── resources └── testTDMLTutorialFile2.tutorial.tdml.xml └── scala └── org └── apache └── daffodil └── tutorials └── TestTutorials.scala /.asf.yaml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | github: 17 | description: "Apache Daffodil" 18 | homepage: https://daffodil.apache.org/ 19 | features: 20 | wiki: false 21 | issues: false 22 | projects: false 23 | enabled_merge_buttons: 24 | squash: false 25 | merge: false 26 | rebase: true 27 | autolink_jira: 28 | - DAFFODIL 29 | notifications: 30 | commits: commits@daffodil.apache.org 31 | issues: commits@daffodil.apache.org 32 | pullrequests: commits@daffodil.apache.org 33 | -------------------------------------------------------------------------------- /.codecov.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | coverage: 17 | status: 18 | project: off 19 | patch: 20 | default: 21 | target: auto 22 | 23 | comment: false 24 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Do not include KEYS in archived source releases 17 | /KEYS export-ignore 18 | -------------------------------------------------------------------------------- /.github/workflows/dependency-graph.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | name: Dependency Graph 17 | 18 | # Run after pushing a commit to the main branch. 19 | 20 | on: 21 | push: 22 | branches: 23 | - main 24 | 25 | jobs: 26 | dependency-graph: 27 | name: Dependency Graph 28 | runs-on: ubuntu-22.04 29 | 30 | steps: 31 | - name: Check out Repository 32 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 33 | 34 | - name: Submit Dependency Graph 35 | uses: scalacenter/sbt-dependency-submission@64084844d2b0a9b6c3765f33acde2fbe3f5ae7d3 # v3.1.0 36 | -------------------------------------------------------------------------------- /.sbtopts: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #-mem 4096 17 | -J-Xms4096m 18 | -J-Xmx4096m 19 | -J-Xss4M 20 | -J-XX:ReservedCodeCacheSize=512m 21 | -------------------------------------------------------------------------------- /.scala-steward.conf: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # https://github.com/scala-steward-org/scala-steward/blob/main/docs/repo-specific-configuration.md 17 | 18 | pullRequests.customLabels = [ "dependencies" ] 19 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | 12 | The following NOTICE information applies to components distributed with this project: 13 | 14 | This product includes derived works from Scala 15 | Scala 16 | Copyright (c) 2002-2024 EPFL 17 | Copyright (c) 2011-2024 Lightbend, Inc. 18 | 19 | Scala includes software developed at 20 | LAMP/EPFL (https://lamp.epfl.ch/) and 21 | Lightbend, Inc. (https://www.lightbend.com/). 22 | 23 | The derived work is adapted from scala/src/library/scala/Symbol.scala: 24 | https://github.com/scala/scala/blob/904e3a5d2b9616b9c533d77d0c51652b138e8659/src/library/scala/Symbol.scala 25 | and can be found in: 26 | daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/UniquenessCache.scala 27 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 3.11.0 2 | -------------------------------------------------------------------------------- /containers/release-candidate/src/plugins.sbt: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to You under the Apache License, Version 2.0 5 | // (the "License"); you may not use this file except in compliance with 6 | // the License. You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | 16 | // 17 | // The sbt-pgp plugin version should not be updated unless there is a compelling reason. 18 | // The release process scripts will likely break and need to be adapted if it is changed. 19 | addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") 20 | -------------------------------------------------------------------------------- /daffodil-cli/src/conf/.keep: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | -------------------------------------------------------------------------------- /daffodil-cli/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/META-INF/services/org.apache.daffodil.runtime1.layers.api.Layer: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | org.apache.daffodil.layers.BuggyLayer 17 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/debug.txt: -------------------------------------------------------------------------------- 1 | help display 2 | continue -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/global_element_import.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 22 | 23 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/hextest.txt: -------------------------------------------------------------------------------- 1 | t$ 2 | e -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input1.txt: -------------------------------------------------------------------------------- 1 | 0,1,2 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input1.txt.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 0 22 | 1 23 | 2 24 | 25 | 26 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input10.txt: -------------------------------------------------------------------------------- 1 | 0,1,2,3,4,5,6,7,8 2 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input11.txt: -------------------------------------------------------------------------------- 1 | 1,2,3 2 | 4,5,6 3 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input12.txt: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input13.txt: -------------------------------------------------------------------------------- 1 | 12 3 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input14.exi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input14.exi -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input14.exisa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input14.exisa -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input14.txt: -------------------------------------------------------------------------------- 1 | 2 | 1 3 | 2 4 | 5 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input15.txt: -------------------------------------------------------------------------------- 1 | 2 | 0 3 | 99 4 | -2 5 | 6 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input16.txt: -------------------------------------------------------------------------------- 1 | 2 | 0 3 | -9 4 | -2 5 | 6 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.exi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.exi -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.exisa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.exisa -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.json: -------------------------------------------------------------------------------- 1 | { 2 | "e1": "Hello" 3 | } 4 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input18.txt: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input19.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1 4 | 5 | 6 | 7 | 2 8 | 9 | 10 | 11 | 3 12 | 13 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input2.txt: -------------------------------------------------------------------------------- 1 | 0,1,2,3,4,5,6 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input3.txt: -------------------------------------------------------------------------------- 1 | 3,3,0,3,0,3,3,1,2,3,2,2,2,3,2,3,3 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input4.txt: -------------------------------------------------------------------------------- 1 | 1,2 2 | 1,2,3,4 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input5.txt: -------------------------------------------------------------------------------- 1 | HAT|400 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input6.txt: -------------------------------------------------------------------------------- 1 | 5/42,2 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input7.txt: -------------------------------------------------------------------------------- 1 | 118*Ridgewood Circle*Rochester*NY -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input8.txt: -------------------------------------------------------------------------------- 1 | 0,1,2,3,4 2 | 5,6,7,8 3 | 10,11,12,13,14 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/input9.txt: -------------------------------------------------------------------------------- 1 | Shirts,Sold on Monday,30,$17.99||Shoes,Sold on Tuesday,23,$89.99 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/prefix.txt: -------------------------------------------------------------------------------- 1 | 04abcd 2 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/test_DFDL-714.txt: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/input/uuid.txt: -------------------------------------------------------------------------------- 1 | 2f6481e6-542c-11eb-ae93-0242ac130002 -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/single_conf_bad.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | This is not an XML file. 17 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/xcatalog_import_failure.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /daffodil-cli/src/test/resources/org/apache/daffodil/cli/xcatalog_invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /daffodil-cli/src/windows/apache-daffodil.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/windows/apache-daffodil.ico -------------------------------------------------------------------------------- /daffodil-cli/src/windows/dialog.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-cli/src/windows/dialog.bmp -------------------------------------------------------------------------------- /daffodil-codegen-c/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/main/resources/org/apache/daffodil/codegen/c/files/.clang-format: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | AllowShortFunctionsOnASingleLine: None 17 | AllowShortIfStatementsOnASingleLine: WithoutElse 18 | AlwaysBreakAfterReturnType: TopLevelDefinitions 19 | BasedOnStyle: LLVM 20 | BreakBeforeBraces: Allman 21 | ColumnLimit: 110 22 | IndentWidth: 4 23 | KeepEmptyLinesAtTheStartOfBlocks: false 24 | SortIncludes: Never 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/main/resources/org/apache/daffodil/codegen/c/files/tests/extras.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | // auto-maintained by iwyu 19 | // clang-format off 20 | #include // for bool 21 | #include // for NULL 22 | #include "infoset.h" // for InfosetBase, UNUSED, get_infoset 23 | // clang-format on 24 | 25 | // Define `get_infoset' to avoid an undefined reference when linking. 26 | 27 | InfosetBase * 28 | get_infoset(bool clear_infoset) 29 | { 30 | UNUSED(clear_infoset); 31 | return NULL; 32 | } 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/main/scala/org/apache/daffodil/codegen/c/generators/package.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.codegen.c 19 | 20 | // Define constants to be used by all generators 21 | 22 | package object generators { 23 | val INDENT = " " 24 | val NO_INDENT = "" 25 | } 26 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/examples/padtest/generated_code.h: -------------------------------------------------------------------------------- 1 | #ifndef GENERATED_CODE_H 2 | #define GENERATED_CODE_H 3 | 4 | // auto-maintained by iwyu 5 | // clang-format off 6 | #include // for bool 7 | #include // for size_t 8 | #include // for uint8_t, int16_t, int32_t, int64_t, uint32_t, int8_t, uint16_t, uint64_t 9 | #include "infoset.h" // for InfosetBase, HexBinary 10 | // clang-format on 11 | 12 | // Define schema version (will be empty if schema did not define any version string) 13 | 14 | extern const char *schema_version; 15 | 16 | // Define infoset structures 17 | 18 | typedef struct padhexbinary_padtest_ 19 | { 20 | InfosetBase _base; 21 | HexBinary opaque; 22 | } padhexbinary_padtest_; 23 | 24 | typedef struct padtest_ 25 | { 26 | InfosetBase _base; 27 | padhexbinary_padtest_ padhexbinary; 28 | uint32_t after; 29 | } padtest_; 30 | 31 | #endif // GENERATED_CODE_H 32 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/examples/variablelen/generated_code.h: -------------------------------------------------------------------------------- 1 | #ifndef GENERATED_CODE_H 2 | #define GENERATED_CODE_H 3 | 4 | // auto-maintained by iwyu 5 | // clang-format off 6 | #include // for bool 7 | #include // for size_t 8 | #include // for uint8_t, int16_t, int32_t, int64_t, uint32_t, int8_t, uint16_t, uint64_t 9 | #include "infoset.h" // for InfosetBase, HexBinary 10 | // clang-format on 11 | 12 | // Define schema version (will be empty if schema did not define any version string) 13 | 14 | extern const char *schema_version; 15 | 16 | // Define infoset structures 17 | 18 | typedef struct expressionElement_ 19 | { 20 | InfosetBase _base; 21 | uint32_t before; 22 | uint32_t variablelen_size; 23 | uint32_t variablelen[16]; 24 | uint32_t after[2]; 25 | } expressionElement_; 26 | 27 | #endif // GENERATED_CODE_H 28 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/ex_nums.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/ex_nums.dat -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/ex_nums.error.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/ex_nums.error.dat -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.dat: -------------------------------------------------------------------------------- 1 | @@@ -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.diag1.dat: -------------------------------------------------------------------------------- 1 | @@@ -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.diag2.dat: -------------------------------------------------------------------------------- 1 | @@@ -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.err1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.err1.dat -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.err2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.struct.err2.dat -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.union.bar.dat: -------------------------------------------------------------------------------- 1 | @@@ -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/nested.union.foo.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/padtest.00.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/padtest.01.dat: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/padtest.16.dat: -------------------------------------------------------------------------------- 1 | 1234567890ABCDEF -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/padtest.17.dat: -------------------------------------------------------------------------------- 1 | 1234567890ABCDEFG -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.00.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.01.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.16.dat: -------------------------------------------------------------------------------- 1 |  2 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.17.dat: -------------------------------------------------------------------------------- 1 |  2 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.expression.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.fixed.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.implicit.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.parsed.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/data/variablelen.stopValue.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.struct.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 1 23 | 2 24 | 3 25 | 26 | 27 | 4.5 28 | 5.5 29 | 6.5 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.struct.diag1.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 0 23 | 2 24 | 3 25 | 26 | 27 | 4.5 28 | 5.5 29 | 6.5 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.struct.diag2.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 1 23 | 0 24 | 3 25 | 26 | 27 | 4.5 28 | 5.5 29 | 6.5 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.struct.err1.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 1 23 | 2 24 | 3 25 | 26 | 27 | 0.5 28 | 5.5 29 | 6.5 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.struct.err2.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 1 23 | 2 24 | 3 25 | 26 | 27 | 4.5 28 | 0.5 29 | 6.5 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.union.bar.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 4 21 | 22 | 23 | 4.5 24 | 5.5 25 | 6.5 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/nested.union.foo.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 2 21 | 22 | 23 | 1 24 | 2 25 | 3 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/padtest.00.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 1 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/padtest.01.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 31 22 | 23 | 2 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/padtest.16.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 31323334353637383930414243444546 22 | 23 | 17 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/padtest.17.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 3132333435363738393041424344454647 22 | 23 | 18 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.00.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 0 22 | 1 23 | 2 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.01.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 1 22 | 1 23 | 1 24 | 2 25 | 26 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.expression.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 2 22 | 1 23 | 2 24 | 1 25 | 2 26 | 27 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.fixed.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 2 22 | 1 23 | 2 24 | 1 25 | 2 26 | 27 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.implicit.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 2 22 | 1 23 | 2 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.parsed.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 2 22 | 1 23 | 2 24 | 25 | -------------------------------------------------------------------------------- /daffodil-codegen-c/src/test/resources/org/apache/daffodil/codegen/c/infosets/variablelen.stopValue.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0 21 | 2 22 | 1 23 | 2 24 | 1 25 | 2 26 | 27 | -------------------------------------------------------------------------------- /daffodil-core/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-core/src/main/scala/org/apache/daffodil/core/dsom/DFDLStatement.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.core.dsom 19 | 20 | import scala.xml.Node 21 | 22 | import org.apache.daffodil.core.grammar.Gram 23 | 24 | /** 25 | * Base class for assertions, variable assignments, etc 26 | */ 27 | abstract class DFDLStatement(node: Node, annotatedSCArg: AnnotatedSchemaComponent) 28 | extends DFDLAnnotation(node, annotatedSCArg) 29 | with NestingLexicalMixin 30 | with HasTermCheck { 31 | 32 | def gram(term: Term): Gram 33 | } 34 | -------------------------------------------------------------------------------- /daffodil-core/src/main/scala/org/apache/daffodil/core/grammar/LocalElementGrammarMixin.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.core.grammar 19 | import org.apache.daffodil.core.dsom.ElementBase 20 | 21 | trait LocalElementGrammarMixin extends GrammarMixin { self: ElementBase => 22 | 23 | override lazy val termContentBody = enclosedElement 24 | 25 | } 26 | -------------------------------------------------------------------------------- /daffodil-core/src/main/scala/org/apache/daffodil/core/runtime1/LocalElementDeclBaseRuntime1Mixin.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.core.runtime1 19 | 20 | import org.apache.daffodil.core.dsom.LocalElementDeclBase 21 | 22 | trait LocalElementDeclBaseRuntime1Mixin { self: LocalElementDeclBase => 23 | 24 | requiredEvaluationsIfActivated(elementRuntimeData.initialize) 25 | } 26 | -------------------------------------------------------------------------------- /daffodil-core/src/test/resources/test/external_vars_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 22 | 1 23 | 2 24 | -------------------------------------------------------------------------------- /daffodil-core/src/test/resources/test/xmlDocWithBadDTD.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 23 | 24 | 25 | bar 26 | 27 | -------------------------------------------------------------------------------- /daffodil-core/src/test/scala/org/apache/daffodil/core/general/TestDFDLReaders.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.core.general 19 | 20 | class TestDFDLReaders { 21 | 22 | // var dr : DFDLCharReader = null 23 | 24 | // @Test 25 | // def test1() { 26 | // val r : Reader[Char] = dr.drop(3) 27 | // } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /daffodil-io/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-io/src/main/scala/org/apache/daffodil/io/Utils.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.io 19 | 20 | import java.nio.ByteBuffer 21 | 22 | object Utils { 23 | def concatByteBuffers(bb1: ByteBuffer, bb2: ByteBuffer): ByteBuffer = { 24 | val bb = ByteBuffer.allocate(bb1.remaining + bb2.remaining) 25 | bb.put(bb1) 26 | bb.put(bb2) 27 | bb.flip 28 | bb 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /daffodil-io/src/test/resources/iso8859.doc.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-io/src/test/resources/iso8859.doc.dat -------------------------------------------------------------------------------- /daffodil-io/src/test/scala/org/apache/daffodil/io/TestExceptions.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.io 19 | 20 | import org.junit.Assert.assertTrue 21 | import org.junit.Test 22 | 23 | class TestExceptions { 24 | 25 | @Test def testBacktrackingException(): Unit = { 26 | val be = new BacktrackingException(123, 456) 27 | val msg = be.getMessage() 28 | assertTrue(msg.contains("123")) 29 | assertTrue(msg.contains("456")) 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /daffodil-japi/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/META-INF/services/org.apache.daffodil.lib.api.ValidatorFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | org.apache.daffodil.example.validation.PassingValidatorFactory 17 | org.apache.daffodil.example.validation.FailingValidatorFactory 18 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/01very_simple.txt: -------------------------------------------------------------------------------- 1 | Date: xsw, 15 Feb 2013 08:54:52 -0500 2 | From: john@doe.com 3 | To: jane@doe.com 4 | Message-ID: 5 | Subject: Hello World! 6 | Return-Path: 7 | Thread-Index: Ac3NbaI+1oo+ltP4SSqsh0WAhpIVagAAZVmwAALaigABACxfkAAPsjwAAA8SeAAABZb0A== 8 | User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120828 Thunderbird/16.0 Lightning/1.8b1 9 | Content-Type: multipart/mixed; boundary=gc0p4Jq0M2Yt08jU534c0p 10 | 11 | This is the body -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/external_vars_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 22 | externallySet 23 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData.dat: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData16.dat: -------------------------------------------------------------------------------- 1 | 9100000000000000 -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData19.dat: -------------------------------------------------------------------------------- 1 | 1234 2 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData2.dat: -------------------------------------------------------------------------------- 1 | dataleftover -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData3.dat: -------------------------------------------------------------------------------- 1 | data 2 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData4.dat: -------------------------------------------------------------------------------- 1 | hidden,53 2 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myData5.dat: -------------------------------------------------------------------------------- 1 | 12:345678 2 | -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myDataBroken.dat: -------------------------------------------------------------------------------- 1 | Not an int -------------------------------------------------------------------------------- /daffodil-japi/src/test/resources/test/japi/myInfosetBroken.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 42 19 | 20 | -------------------------------------------------------------------------------- /daffodil-lib/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | 12 | The following NOTICE information applies to components distributed with this project: 13 | 14 | This product includes derived works from Scala 15 | Scala 16 | Copyright (c) 2002-2024 EPFL 17 | Copyright (c) 2011-2024 Lightbend, Inc. 18 | 19 | Scala includes software developed at 20 | LAMP/EPFL (https://lamp.epfl.ch/) and 21 | Lightbend, Inc. (https://www.lightbend.com/). 22 | 23 | The derived work is adapted from scala/src/library/scala/Symbol.scala: 24 | https://github.com/scala/scala/blob/904e3a5d2b9616b9c533d77d0c51652b138e8659/src/library/scala/Symbol.scala 25 | and can be found in: 26 | daffodil-lib/src/main/scala/org/apache/daffodil/util/UniquenessCache.scala 27 | -------------------------------------------------------------------------------- /daffodil-lib/src/main/resources/META-INF/services/org.apache.daffodil.lib.api.ValidatorFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | org.apache.daffodil.lib.validation.XercesValidatorFactory 17 | -------------------------------------------------------------------------------- /daffodil-lib/src/main/scala/org/apache/daffodil/lib/calendar/TextCalendarConstants.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.calendar 19 | 20 | object TextCalendarConstants { 21 | final val maxFractionalSeconds = 9 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/IteratorWithPeekImpl.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.util 19 | 20 | trait IteratorWithPeek[+T] extends Iterator[T] { 21 | def peek: T 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/Math.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.util 19 | 20 | object Math { 21 | def gcd(a: Long, b: Long): Long = { 22 | if (b == 0) a else gcd(b, a % b) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /daffodil-lib/src/test/resources/META-INF/services/org.apache.daffodil.lib.api.ValidatorFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | org.apache.daffodil.lib.validation.PassingValidatorFactory 17 | org.apache.daffodil.lib.validation.FailingValidatorFactory 18 | -------------------------------------------------------------------------------- /daffodil-lib/src/test/resources/test/configBad.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | This is not an XML file. -------------------------------------------------------------------------------- /daffodil-lib/src/test/resources/test/validation/testData1Infoset.xml: -------------------------------------------------------------------------------- 1 |  17 | 18 | 19 | 20 | 12 21 | 345678 22 | 23 | 24 | -------------------------------------------------------------------------------- /daffodil-lib/src/test/scala/org/apache/daffodil/lib/api/StringSchemaSource.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.api 19 | 20 | import java.io.ByteArrayInputStream 21 | 22 | /** 23 | * Convenient for testing. Allows creating XML strings for loading that contain things 24 | * not supported by scala XML syntax like DOCTYPE decls. 25 | * 26 | * @param str - string that is loaded as XML. 27 | */ 28 | case class StringSchemaSource(str: String) 29 | extends InputStreamSchemaSource(new ByteArrayInputStream(str.getBytes()), None, "", "") 30 | -------------------------------------------------------------------------------- /daffodil-lib/src/test/scala/org/apache/daffodil/lib/exceptions/TestExceptions.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.exceptions 19 | 20 | import org.apache.daffodil.lib.Implicits._ 21 | 22 | import org.junit.Test 23 | 24 | class TestExceptions { 25 | 26 | @Test 27 | def testAssert(): Unit = { 28 | intercept[Abort] { 29 | Assert.abort("yadda") 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /daffodil-macro-lib/src/main/scala-3/org/apache/daffodil/io/IOMacros.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.io 19 | 20 | object IOMacros { 21 | // Macros not needed for scala 3; inlined the function instead 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-macro-lib/src/main/scala-3/org/apache/daffodil/lib/exceptions/SDEMacros.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.exceptions 19 | 20 | object SDEMacros { 21 | // Macros not needed for scala 3; inlined the function instead 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-macro-lib/src/main/scala-3/org/apache/daffodil/lib/util/TimerMacros.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.lib.util 19 | 20 | object TimerMacros { 21 | // Macros not needed for scala 3; inlined the function instead 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-macro-lib/src/main/scala-3/org/apache/daffodil/runtime1/processors/parsers/PointOfUncertaintyMacros.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.runtime1.processors.parsers 19 | 20 | object PointOfUncertaintyMacros { 21 | // Macros not needed for scala 3; inlined the function instead 22 | } 23 | -------------------------------------------------------------------------------- /daffodil-runtime1-layers/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-runtime1-layers/src/main/scala/org/apache/daffodil/layers/runtime1/LineFoldMode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.daffodil.layers.runtime1; 18 | 19 | public enum LineFoldMode { 20 | /** 21 | * IMF - Internet Mail Format 22 | */ 23 | IMF("lineFolded_IMF"), 24 | /** 25 | * iCalendar 26 | */ 27 | iCalendar("lineFolded_iCalendar"); 28 | 29 | public final String dfdlName; 30 | private LineFoldMode(final String dfdlName) { this.dfdlName = dfdlName; } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /daffodil-runtime1-unparser/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-runtime1-unparser/src/main/scala/org/apache/daffodil/unparsers/runtime1/SequenceUnparserBases.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.daffodil.unparsers.runtime1 18 | 19 | import org.apache.daffodil.runtime1.processors.SequenceRuntimeData 20 | import org.apache.daffodil.runtime1.processors.unparsers._ 21 | 22 | abstract class OrderedSequenceUnparserBase( 23 | srd: SequenceRuntimeData 24 | ) extends CombinatorUnparser(srd) { 25 | override def nom = "Sequence" 26 | } 27 | -------------------------------------------------------------------------------- /daffodil-runtime1/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-runtime1/src/main/scala/org/apache/daffodil/runtime1/debugger/Debugger.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.runtime1.debugger 19 | 20 | import org.apache.daffodil.runtime1.events.EventHandler 21 | 22 | trait Debugger extends EventHandler 23 | -------------------------------------------------------------------------------- /daffodil-runtime1/src/main/scala/org/apache/daffodil/runtime1/layers/LayerUnexpectedException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.daffodil.runtime1.layers; 18 | 19 | 20 | public class LayerUnexpectedException extends LayerProcessingException { 21 | 22 | public LayerUnexpectedException(Throwable cause) { super(cause); } 23 | } 24 | -------------------------------------------------------------------------------- /daffodil-runtime1/src/test/scala/org/apache/daffodil/runtime1/parser/TestCharsetDecoder2.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil.runtime1.parser 19 | 20 | import org.apache.daffodil.io.processors.charset.CharsetUtils 21 | 22 | import org.junit.Assert._ 23 | import org.junit.Test 24 | 25 | class TestCharsetDecoder2 { 26 | 27 | @Test def testIfHasJava7DecoderBug(): Unit = { 28 | if (CharsetUtils.hasJava7DecoderBug) 29 | fail("Java 7 Decoder bug detected. Daffodil requires Java 8 (or higher)") 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /daffodil-sapi/root-doc.txt: -------------------------------------------------------------------------------- 1 | This is the documentation for the Apache Daffodil Scala API. 2 | 3 | === Package structure === 4 | 5 | [[org.apache.daffodil.sapi]] - Provides the classes necessary to compile DFDL schemas, parse and unparse files using the compiled objects, and retrieve results and parsing diagnostics 6 | 7 | [[org.apache.daffodil.udf]] - Provides the classes necessary to create User Defined Functions to extend the DFDL expression language 8 | 9 | [[org.apache.daffodil.runtime1.layers.api]] - Provides the classes necessary to create custom Layer extensions to DFDL. 10 | -------------------------------------------------------------------------------- /daffodil-sapi/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/META-INF/services/org.apache.daffodil.lib.api.ValidatorFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | org.apache.daffodil.example.PassingValidatorFactory 17 | org.apache.daffodil.example.FailingValidatorFactory 18 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/01very_simple.txt: -------------------------------------------------------------------------------- 1 | Date: xsw, 15 Feb 2013 08:54:52 -0500 2 | From: john@doe.com 3 | To: jane@doe.com 4 | Message-ID: 5 | Subject: Hello World! 6 | Return-Path: 7 | Thread-Index: Ac3NbaI+1oo+ltP4SSqsh0WAhpIVagAAZVmwAALaigABACxfkAAPsjwAAA8SeAAABZb0A== 8 | User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120828 Thunderbird/16.0 Lightning/1.8b1 9 | Content-Type: multipart/mixed; boundary=gc0p4Jq0M2Yt08jU534c0p 10 | 11 | This is the body -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/external_vars_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 22 | externallySet 23 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData.dat: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData16.dat: -------------------------------------------------------------------------------- 1 | 9100000000000000 -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData19.dat: -------------------------------------------------------------------------------- 1 | 1234 2 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData2.dat: -------------------------------------------------------------------------------- 1 | dataleftover -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData3.dat: -------------------------------------------------------------------------------- 1 | data 2 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData4.dat: -------------------------------------------------------------------------------- 1 | hidden,53 2 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myData5.dat: -------------------------------------------------------------------------------- 1 | 12:345678 2 | -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myDataBroken.dat: -------------------------------------------------------------------------------- 1 | Not an int -------------------------------------------------------------------------------- /daffodil-sapi/src/test/resources/test/sapi/myInfosetBroken.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 42 19 | 20 | -------------------------------------------------------------------------------- /daffodil-schematron/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-schematron/src/main/resources/META-INF/services/org.apache.daffodil.lib.api.ValidatorFactory: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | org.apache.daffodil.validation.schematron.SchematronValidatorFactory 17 | -------------------------------------------------------------------------------- /daffodil-schematron/src/test/resources/custom-resolver/title-rules.sch: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | A title should be at least two characters 18 | 19 | -------------------------------------------------------------------------------- /daffodil-schematron/src/test/resources/xml/article-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | chapter title 23 | Chapter content 24 | 25 | 26 | chapter 2 title 27 | Content 28 | 29 | 30 | Title 31 | Chapter 3 content 32 | 33 | 34 | -------------------------------------------------------------------------------- /daffodil-schematron/src/test/resources/xml/article-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | Chapter content 23 | 24 | 25 | Content 26 | 27 | 28 | Title 29 | Title2 30 | Chapter 3 content 31 | 32 | -------------------------------------------------------------------------------- /daffodil-schematron/src/test/resources/xml/article-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | chapter title 23 | Chapter content 24 | 25 | 26 | chapter 2 title 27 | Content 28 | 29 | 30 | T 31 | Chapter 3 content 32 | 33 | -------------------------------------------------------------------------------- /daffodil-schematron/src/test/resources/xml/embedded-1.xml: -------------------------------------------------------------------------------- 1 |  17 | 18 | 7c50643e-2df3-11eb-adc1-0242ac120002 19 | 20 | -------------------------------------------------------------------------------- /daffodil-slf4j-logger/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-slf4j-logger/src/main/resources/META-INF/services/org.slf4j.spi.SLF4JServiceProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | org.apache.daffodil.slf4j.DaffodilSLF4JServiceProvider 17 | -------------------------------------------------------------------------------- /daffodil-tdml-lib/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-tdml-lib/src/test/resources/test-suite/ibm-contributed/dpaext1-2.tdml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 23 | 24 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /daffodil-tdml-lib/src/test/resources/test-suite/ibm-contributed/dpaspc121_01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 22 | -------------------------------------------------------------------------------- /daffodil-tdml-lib/src/test/resources/test/tdml/test.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-tdml-lib/src/test/resources/test/tdml/test.bin -------------------------------------------------------------------------------- /daffodil-tdml-lib/src/test/resources/test/tdml/test.txt: -------------------------------------------------------------------------------- 1 | test 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/test/resources/test/tdml/fake-precompiled-dfdl-schema.bin: -------------------------------------------------------------------------------- 1 | DAFFODIL 300.400.500 2 | 3 | This file is just pretending to be a pre-compiled DFDL schema 4 | for purposes of negative tests to see that they will detect this 5 | and give sensible diagnostic errors. 6 | 7 | -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/test/resources/test/tdml/test.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-tdml-processor/src/test/resources/test/tdml/test.bin -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/test/resources/test/tdml/test.txt: -------------------------------------------------------------------------------- 1 | test 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/test/resources/test/tdml/test.xml: -------------------------------------------------------------------------------- 1 | 17 | 123 18 | -------------------------------------------------------------------------------- /daffodil-tdml-processor/src/test/resources/testConfigFile.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | true 22 | 23 | 24 | -------------------------------------------------------------------------------- /daffodil-test-ibm1/src/main/.keep: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Sonarcloud requires that the src/main directory exist or it errors. This file 17 | # ensures this directory exists since git doesn't support empty directories. 18 | -------------------------------------------------------------------------------- /daffodil-test-ibm1/src/test/scala/org/apache/daffodil/TestNilled.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil 19 | 20 | import org.apache.daffodil.junit.tdml.TdmlSuite 21 | import org.apache.daffodil.junit.tdml.TdmlTests 22 | 23 | import org.junit.Test 24 | 25 | object TestNilled extends TdmlSuite { 26 | val tdmlResource = "/test-suite/tresys-contributed/nilled.tdml" 27 | } 28 | 29 | class TestNilled extends TdmlTests { 30 | val tdmlSuite = TestNilled 31 | 32 | @Test def nilled_ES_optional = test 33 | } 34 | -------------------------------------------------------------------------------- /daffodil-test-ibm1/src/test/scala/org/apache/daffodil/TestUnseparated.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org.apache.daffodil 19 | 20 | import org.apache.daffodil.junit.tdml.TdmlSuite 21 | import org.apache.daffodil.junit.tdml.TdmlTests 22 | 23 | import org.junit.Test 24 | 25 | object TestUnseparated extends TdmlSuite { 26 | val tdmlResource = "/test-suite/tresys-contributed/unseparated.tdml" 27 | } 28 | 29 | class TestUnseparated extends TdmlTests { 30 | val tdmlSuite = TestUnseparated 31 | 32 | @Test def unseparated_optionals1 = test 33 | } 34 | -------------------------------------------------------------------------------- /daffodil-test-integration/src/main/scala/.keep: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Sonarcloud requires that the src/main directory exist or it errors. This file 17 | # ensures this directory exists since git doesn't support empty directories. 18 | -------------------------------------------------------------------------------- /daffodil-test/src/main/.keep: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Sonarcloud requires that the src/main directory exist or it errors. This file 17 | # ensures this directory exists since git doesn't support empty directories. 18 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/META-INF/services/org.apache.daffodil.io.processors.charset.BitsCharsetDefinition: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | org.apache.daffodil.charsets.BitsCharset_ISO_8859_1_Reverse_Definition 18 | org.apache.daffodil.charsets.BitsCharsetTest_ISO_8859_13_Definition 19 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | org.sgoodudfs.example.StringFunctions.StringFunctionsProvider 16 | org.jgoodudfs.example.StringFunctions.StringFunctionsProvider 17 | org.sgoodudfs.example.IntegerFunctions.IntegerFunctionsProvider 18 | org.sgoodudfs.example.SupportedTypesFunctions.SupportedTypesFunctionsProvider -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/childDir/include01_01_01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/childDir/include02_01_01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/include01_01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/include02_01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ISRM_green_to_orange_60000.0.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ISRM_green_to_orange_60000.0.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ISRM_green_to_orange_60000.1.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ISRM_orange_to_green_60002.dat: -------------------------------------------------------------------------------- 1 |  2 |  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/MPU_green_to_orange_60004.dat: -------------------------------------------------------------------------------- 1 |  2 |  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEPQRSTUVWXY -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/MPU_orange_to_green_60006.0.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/MPU_orange_to_green_60006.0.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/MPU_orange_to_green_60006.1.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/collisions.dat: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.11.dat: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.12.dat: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.13.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.13.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.14.dat: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.15.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.15.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.16.dat: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.17.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.17.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.18.dat: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.19.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.19.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/egress_xdcc_bw.20.dat: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.111.dat: -------------------------------------------------------------------------------- 1 | o 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.112.dat: -------------------------------------------------------------------------------- 1 | p 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.113.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.113.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.114.dat: -------------------------------------------------------------------------------- 1 | r 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.115.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.115.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/ingress_xdcc_bw.116.dat: -------------------------------------------------------------------------------- 1 | t 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.aptina.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.aptina.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.camera.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.camera.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.command.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.command.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.limits.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.limits.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.video.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/data/orion.video.dat -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/ISRM_green_to_orange_60000.1.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 1 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/MPU_orange_to_green_60006.1.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 1 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/collisions.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 1 24 | 25 | 2 26 | 27 | 28 | 29 | 30 | 3 31 | 32 | 33 | 34 | 35 | 4 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/orion.camera.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 208 21 | 13 22 | 97 23 | 5 24 | 10 25 | 10 26 | 0 27 | 30149 28 | 29 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/orion.command.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 208 21 | 13 22 | 1 23 | 7 24 | -999 25 | -1231 26 | 80 27 | 0 28 | 0 29 | 30149 30 | 31 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/codegen/c/infosets/orion.limits.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 208 21 | 13 22 | 34 23 | 0 24 | 255 25 | 26 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_01.dat: -------------------------------------------------------------------------------- 1 | 1 2 | 710 3 | 4 | 5 | 7 | ]> 8 | 9 | 10 | 11 | 12 | with here is mixed content 13 | spaces spaces and more mixed content 14 | and more mixed content 15 | 16 | entity references: < > & " ' © 17 | CR LF CRLF end 18 | CR LF 19 | CRLF 20 | =invalid field 21 | 22 | 23 | 5 24 | 2 25 | 71 26 | 27 | second record 28 | 29 | 1 30 | 31 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_01.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | 9 | 10 | with here is mixed content 11 | spaces spaces and more mixed content 12 | and more mixed content 13 | 14 | entity references: < > & " ' © 15 | CR LF 16 | CRLF 17 | end 18 | CR 19 | LF 20 | CRLF 21 | =invalid field 22 | 23 | 24 | 25 | 5 26 | 27 | 28 | 2 29 | 30 | 31 | 32 | second record 33 | 34 | 35 | 36 | 1 37 | 38 | 39 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_01.dat.xml.dat: -------------------------------------------------------------------------------- 1 | 1 2 | 617 3 | 4 | 5 | 6 | 7 | with here is mixed content 8 | spaces spaces and more mixed content 9 | and more mixed content 10 | 11 | entity references: < > & " ' © 12 | CR LF 13 | CRLF 14 | end 15 | CR 16 | LF 17 | CRLF 18 | =invalid field 19 | 20 | 5 21 | 2 22 | 110 23 | 24 | 25 | second record 26 | 27 | 1 28 | 29 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_02.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | 9 | 10 | with 11 | spaces spaces 12 | 13 | 14 | entity references: < > & " ' © 15 | CR LF CRLF end 16 | CR LF 17 | CRLF 18 | =invalid field 19 | 20 | 21 | 22 | 5 23 | 24 | 25 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_03.dat: -------------------------------------------------------------------------------- 1 | 1 2 | 88 3 | 4 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | test 9 | 10 | 11 | 12 | 1 13 | 14 | 15 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_06.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | test 9 | 10 | 11 | 12 | 13 | 1 14 | 15 | 16 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_07.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | stringAsXml on wrong element 8 | 9 | 10 | 11 | 12 | 1 13 | 14 | 15 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/namespaced/binMessage_08.dat: -------------------------------------------------------------------------------- 1 | 1 2 | 110 3 | 5 | ]> 6 | 7 | &name; 8 | 9 | 5 10 | 11 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/nonamespace/binMessage_01.dat: -------------------------------------------------------------------------------- 1 | 1 2 | 46 3 | 4 | =invalid field 5 | 6 | 5 7 | 8 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/infoset/stringAsXml/nonamespace/binMessage_01.dat.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 6 | 7 | 8 | =invalid field 9 | 10 | 11 | 12 | 5 13 | 14 | 15 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/ext_file.txt: -------------------------------------------------------------------------------- 1 | 0,nil; 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/ext_file2.txt: -------------------------------------------------------------------------------- 1 | 0,nil, 2 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/hasDocType-infoset.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 21 | 23 | 24 | 25 | ]> 26 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/hasDocType-via-import.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/hasDocType-via-include.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 21 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/hasDocType.tdml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 21 | 23 | 24 | 25 | ]> 26 | 28 | 29 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/no_namespace_message.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/schemaWithoutDFDLNamespace.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section00/general/tunables.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | defaultNamespace 23 | 24 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_01.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_01.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_02.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_02.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_03.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_03.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_04.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_04.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_07.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_07.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13a.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13a.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13b.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13b.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13c.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13c.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13d.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/daffodil/50bd271a31a87bdeeeb565895539ed9640925a7d/daffodil-test/src/test/resources/org/apache/daffodil/section05/simple_types/blobs/blob_13d.bin -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section06/entities/02nine_headers.txt: -------------------------------------------------------------------------------- 1 | Date: Fri, 15 Feb 2013 08:54:52 -0500 2 | From: john@doe.com 3 | To: jane@doe.com 4 | Message-ID: 5 | Subject: Hello World! 6 | Return-Path: 7 | Thread-Index: Ac3NbaI+1oo+ltP4SSqsh0WAhpIVagAAZVmwAALaigABACxfkAAPsjwAAA8SeAAABZb0A== 8 | User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120828 Thunderbird/16.0 Lightning/1.8b1 9 | Content-Type: multipart/mixed; boundary=gc0p4Jq0M2Yt08jU534c0p 10 | 11 | This is the body 12 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/include01.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/include02.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section06/namespaces/multi_base_05_nons_with_A.dfdl.xsd: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section07/external_variables/daffodil_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 21 | 23 | 1 24 | 2 25 | 26 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/section07/external_variables/external_variables.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 22 | -9 23 | -8 24 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/usertests/Book2.csv: -------------------------------------------------------------------------------- 1 | name prefix,name last,name first,name middle,name suffix,nickname,professional title,political title,rank political,rank military,gender 2 | ,$B$2,,$D$2,$E$2,$F$2,$G$2,$H$2,$I$2,$J$2,$K$2 3 | $A$3,,$C$3,,$E$3,$F$3,$G$3,$H$3,$I$3,$J$3,$K$3 4 | $A$4,$B$4,,$D$4,,$F$4,$G$4,$H$4,$I$4,$J$4,$K$4 5 | $A$5,$B$5,$C$5,,$E$5,,$G$5,$H$5,$I$5,$J$5,$K$5 6 | $A$6,$B$6,$C$6,$D$6,,$F$6,,$H$6,$I$6,$J$6,$K$6 7 | $A$7,$B$7,$C$7,$D$7,$E$7,,$G$7,,$I$7,$J$7,$K$7 8 | $A$8,$B$8,$C$8,$D$8,$E$8,$F$8,,$H$8,,$J$8,$K$8 9 | $A$9,$B$9,$C$9,$D$9,$E$9,$F$9,$G$9,,$I$9,,$K$9 10 | $A$10,$B$10,$C$10,$D$10,$E$10,$F$10,$G$10,$H$10,,$J$10, 11 | ,$B$11,$C$11,$D$11,$E$11,$F$11,$G$11,$H$11,$I$11,,$K$11 12 | $A$12,,$C$12,$D$12,$E$12,$F$12,$G$12,$H$12,$I$12,$J$12, 13 | -------------------------------------------------------------------------------- /daffodil-test/src/test/resources/org/apache/daffodil/usertests/test_prefix_separator_as_variable: -------------------------------------------------------------------------------- 1 | --_000_1B0E0A42CBA5E943BA6175AE7FDD6B5B013F8A51IMCMBX03TESTSOR_ 2 | Content-Type: text/plain; charset="us-ascii" 3 | Content-Transfer-Encoding: quoted-printable 4 | 5 | http://web.archive.org/web/20030408023607/http://www.TESTS.org/sites/merp= 6 | pbem/index.html 7 | 8 | --_000_1B0E0A42CBA5E943BA6175AE7FDD6B5B013F8A51IMCMBX03TESTSOR_ 9 | Content-Type: text/html; charset="us-ascii" 10 | Content-ID: <0DBE34352EE4EB4F924BC40019F609CD@imc.TESTS.org> 11 | Content-Transfer-Encoding: quoted-printable 12 | 13 | 14 | 15 | 17 | 18 | 21 | 24 | 25 | 26 | 27 | --_000_1B0E0A42CBA5E943BA6175AE7FDD6B5B013F8A51IMCMBX03TESTSOR_-- 28 | -------------------------------------------------------------------------------- /daffodil-udf/src/main/resources/META-INF/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Daffodil 2 | Copyright 2025 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | Based on source code originally developed by 8 | - The Univerisity of Illinois National Center for Supercomputing Applications (http://www.ncsa.illinois.edu/) 9 | - Tresys Technology (http://www.tresys.com/) 10 | - International Business Machines Corporation (http://www.ibm.com) 11 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/annotations/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.badudfs.annotations.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/evaluate/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.badudfs.evaluate.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/functionclasses1/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.badudfs.functionclasses1.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/functionclasses1/StringFunctions/StringFunctionsProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.badudfs.functionclasses1.StringFunctions; 18 | 19 | import org.apache.daffodil.udf.UserDefinedFunctionProvider; 20 | 21 | /** 22 | * UDF Provider for Negative Unit test 23 | * 24 | * userDefinedFunctionClasses array isn't initialized 25 | */ 26 | public class StringFunctionsProvider extends UserDefinedFunctionProvider { 27 | 28 | @Override 29 | public Class[] getUserDefinedFunctionClasses() { 30 | return null; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/functionclasses2/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.badudfs.functionclasses2.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/functionclasses2/StringFunctions/StringFunctionsProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.badudfs.functionclasses2.StringFunctions; 18 | 19 | import org.apache.daffodil.udf.UserDefinedFunctionProvider; 20 | 21 | /** 22 | * UDF Provider for Negative Unit test 23 | * 24 | * userDefinedFunctionClasses array is empty 25 | */ 26 | public class StringFunctionsProvider extends UserDefinedFunctionProvider { 27 | @Override 28 | public Class[] getUserDefinedFunctionClasses() { 29 | return new Class[] {}; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/badudfs/nonUDF/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.badudfs.nonUDF.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/java/org/jgoodudfs/example/StringFunctions/StringFunctionsProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.jgoodudfs.example.StringFunctions; 18 | 19 | import org.apache.daffodil.udf.UserDefinedFunctionProvider; 20 | 21 | /** 22 | * Example User Defined Function Provider in Java 23 | * 24 | */ 25 | public class StringFunctionsProvider extends UserDefinedFunctionProvider { 26 | 27 | @Override 28 | public Class[] getUserDefinedFunctionClasses() { 29 | return new Class[] { Replace.class, Compare.class }; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/resources/org/badmetainf/nonexistentclass/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF for Negative Unit Test, non existent class 17 | org.nonexistentclass.example.StringFunctions.StringFunctionsProvider 18 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/resources/org/goodmetainf/IntegerFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF for Unit Test 17 | org.sgoodudfs.example.IntegerFunctions.IntegerFunctionsProvider 18 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/resources/org/goodmetainf/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF for Unit Test 17 | org.sgoodudfs.example.StringFunctions.StringFunctionsProvider 18 | -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/functionclasses/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.functionclasses.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/functionclasses2/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.functionclasses2.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/udfexceptions/evaluating/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.udfexceptions.evaluating.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/udfexceptions2/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.udfexceptions2.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/udfpexceptions/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.udfpexceptions.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /daffodil-udf/src/test/scala/org/sbadudfs/udfpexceptions2/StringFunctions/META-INF/services/org.apache.daffodil.udf.UserDefinedFunctionProvider: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | # META-INF/services file for Negative Unit test 17 | org.sbadudfs.udfpexceptions2.StringFunctions.StringFunctionsProvider -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | sbt.version=1.10.11 19 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | addSbtPlugin("com.github.tnakamot" % "sbt-cc" % "0.0.3") 19 | 20 | addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1") 21 | 22 | addSbtPlugin("org.musigma" % "sbt-rat" % "0.7.0") 23 | 24 | addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1") 25 | 26 | addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") 27 | 28 | addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4") 29 | -------------------------------------------------------------------------------- /scripts/osgi-refactor/.gitignore: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | symbols.txt 17 | -------------------------------------------------------------------------------- /scripts/osgi-refactor/README.md: -------------------------------------------------------------------------------- 1 | 17 | # refactor 18 | 19 | Run with: 20 | 21 | ./refactor.sh 22 | 23 | Undo with: 24 | 25 | ./git-restore.sh 26 | -------------------------------------------------------------------------------- /scripts/osgi-refactor/refactor.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | cd $(dirname $0)/../.. 19 | REFACTOR_DIR=scripts/osgi-refactor 20 | 21 | $REFACTOR_DIR/git-restore.sh 22 | scala $REFACTOR_DIR/gen-symbol-table.scala daffodil-* > $REFACTOR_DIR/symbols.txt 23 | $REFACTOR_DIR/rename-dirs.sh 24 | $REFACTOR_DIR/fix-gen.sh 25 | scala $REFACTOR_DIR/fix-imports.scala $REFACTOR_DIR/symbols.txt daffodil-* 26 | scala $REFACTOR_DIR/add-imports.scala . 27 | sbt genProps 28 | rm -f $REFACTOR_DIR/symbols.txt 29 | -------------------------------------------------------------------------------- /test-stdLayout/src/test/resources/org1/test-outer-data1.txt: -------------------------------------------------------------------------------- 1 | foobar -------------------------------------------------------------------------------- /test-stdLayout/src/test/resources/org2/test-data1.txt: -------------------------------------------------------------------------------- 1 | foobar -------------------------------------------------------------------------------- /test-stdLayout/src/test/scala/org2/TestPayloadAndTypes.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package org2 19 | 20 | import org.apache.daffodil.junit.tdml.TdmlSuite 21 | import org.apache.daffodil.junit.tdml.TdmlTests 22 | 23 | import org.junit.Test 24 | 25 | object TestPayloadAndTypes extends TdmlSuite { 26 | val tdmlResource = "/org2/testPayloadAndTypes.tdml" 27 | } 28 | 29 | class TestPayloadAndTypes extends TdmlTests { 30 | val tdmlSuite = TestPayloadAndTypes 31 | 32 | @Test def data_01 = test 33 | } 34 | --------------------------------------------------------------------------------