Daffodil
  1. Daffodil

daffodil

Public
AuthorCommitMessageCommit dateIssues
Elizabeth FinneganElizabeth Finnegan
eabc3694839Adding tests for tunables and fixing typo in setTunableDFDL-1143DFDL-1143
Taylor WiseTaylor Wise
767cb7a6111DaffodilTunables is no longer a globally accessed class.SSRD/ERD, PState/UState, Compiler, DataProcessor receive an immutable instance of DaffodilTunables. DFDL-1143DFDL-1143
Joshua AdamsJoshua Adams
6430d57d356Fix xs:hexBinary equality checkBefore any sort of equality check on a xs:hexBinary element would need to be converted to a string. I have now added an equality checker for byte arrays that allows direct comparison of xs:hexBinary elements without the need for conversion. DFDL-1618DFDL-1618
Mike BeckerleMike Beckerle
1c35b8fff09Fix eclipse classpath errors.
Steve LawrenceSteve Lawrence
9311c70d22eEnsure Bit/ByteOrderChange parsers always exist at rootIf the dfdl:byteOrder or dfdl:bitOrder properties were not provided, Daffodil did not complain, and it would not insert a Bit/ByteOrderChange parser at root. This meant that Daffodil would use a default value, which in some cases caused incorrect behavior. It also meant that the check for valid bit and byte orders (e.g. not bigEndian & leastSignificantBitFirst) never occurred since that only ha...DFDL-1835
Steve LawrenceSteve Lawrence
5a335fbe656Calculate the approximate length of delimited and pattern lengthKinds for alignmentBy assuming the length of delimited and pattern lengthKinds was 1, Daffodil was unable to optimize out some alignment unparsers, which could lead to deadlocks. This changes that so the length of delimited or pattern lengthKinds is a multiple of the length of the encoding. This allows Daffodil to optimize out some alignment unparsers and prevent deadlocks. DFDL-1836DFDL-1836
Steve LawrenceSteve Lawrence
873fae40a59Fix Xerces resource resolution for includes/importsAfter we found a resource (like from an include/import), we reported the location to Xerces incorrectly. For example, say we resolved the systemID at org1/xsd/payload.xsd to the absolute URI at file:/foo/bar/baz/org1/xsd/payload.xsd When we created the new Input to return where we found payload.xsd to Xerces, we set the systemID to the original relative systemID (org/xsd/payload.xsd), a...2 Jira issues
Mike BeckerleSteve LawrenceMike Beckerle
c9e9441cdddAdded new test-stdLayout project for testing include/import.This new project (within daffodil) is for testing the standard project layout. In particular, there are include/import bugs associated with it. There is a test in scala-debug which fails with a path containing .../org2/xsd/org2/xsd.... Which is clearly wrong given that the directory is src/main/resources/org2/xsd Tests cover cases where a schema file in src/main/resources/org1/xsd tries to ...DFDL-1832
Mike BeckerleSteve LawrenceMike Beckerle
eb669700881Fixed test embedded-with-include so it actually includes.Had cut/paste error and the test case was requesting the wrong schema.
Elizabeth FinneganElizabeth Finnegan
440e9d40d47Adding test for bit order without byte order specifiedDFDL-1468DFDL-1468
Steve LawrenceSteve Lawrence
2637a7337b4Ensure the infoset exists before trying to display it in the debuggerIf you run 'info infoset' before stepping at least once, there will be no infoset to visit. This checks to make sure that an infoset exists before trying to print it in the debugger. DFDL-1834DFDL-1834
Steve LawrenceSteve Lawrence
f9f92a8e2b2SDE when arrays or optional elements contain dfdl:outputValueCalc propertyDFDL-1546DFDL-1546
Steve LawrenceSteve Lawrence
8c13432ceacModify test to verify that dfdl:inputValueCalc and dfdl:outputValueCalc cannot be on the same elementDFDL-1027DFDL-1027
Joshua AdamsJoshua Adams
6e08a054edbAdded some tests for fixed length stringsTesting situations with fixed length strings with a default value and fixed length string with a length of 0
Steve LawrenceSteve Lawrence
bfdd78bb18aAdd license information for ICUThe ICU package does contain license information, but the link it points to is dead. Manually override it to a link in the svn repo that works. DFDL-1825DFDL-1825
Steve LawrenceSteve Lawrence
4dd53aea640Throw an Not Yet Implmemented SDE for encodingErrorPolicy="error"It isn't supported and can result in weird behavior and mark pool leaks. Best to just not allow it. DFDL-1828DFDL-1828
Steve LawrenceSteve Lawrence
e5b0c3203ceImprove nil checking for infoset outputtersThe InfosetOutputters use _.isNilled to determine if an infoset element is nil. However, _.isNilled can throw an exception if the nilled flag has not been set (e.g. while debugging). This could lead to thrown exceptions during the 'info infoset' debugger command. This patch adds a new isNilled helper function to the InfosetOutputter trait that performs the correct logic to check if the nilled f...DFDL-1829
Elizabeth FinneganElizabeth Finnegan
c9025f65eb8Updating copyright date in LICENSE
Elizabeth FinneganElizabeth Finnegan
c3ec258c989Updating input for automated CLI test
Mike BeckerleMike Beckerle
6204d2a140cUpdated line counter to match current file structure.Also includes NiFi and Spark, all new DFDL schemas, etc.
Steve LawrenceSteve Lawrence
51236ac8f3aModify isError API logic to support validation errors- isError now returns true if either there are processing errors OR validation errors - New methods, isProcessingError and isValidationError, are added to give the ability to differentiate why isError is true - Remove the canProceed() method and deprecate it in the java/scala API. This is just a wrapper around !isError - Rename status to processorStatus to clearly differentiate between th...DFDL-1821
Joshua AdamsJoshua Adams
8e40307f5f4Added simple test to verify division expressionsThis has already been fixed in commit 3153e271dab64b029bbdde627bba14c42f370357 but no tests were added to cover the example given in the bug report, dealing with number types getting mixed up, ending in a divide by zero. DFDL-1688DFDL-1688
Elizabeth FinneganElizabeth Finnegan
0d7a22ea74fAdding tests for outputValueCalc in hidden groups.DFDL-1546DFDL-1546
Steve LawrenceSteve Lawrence
b6da46dac99Move TestOutputValueCalcAndAlignment from scala-new to scalaVerifies DFDL-1518DFDL-1518
Steve LawrenceSteve Lawrence
1d3be7c6cc7Add CLI delimiterStack testDFDL-1283DFDL-1283
Steve LawrenceSteve Lawrence
5517f68c55aComment out unused imports in scala-new
Taylor WiseTaylor Wise
5540d9fdb31Closing Ticket: Added test to add coverage for case when value is false. Moved existing test and new test to scala from scala-new.DFDL-437DFDL-437
Steve LawrenceSteve Lawrence
3811458641eIgnore all *.sbt files in the root directory except for build.sbtThis is useful for automated build systems to add custom *.sbt files to add customizations to the build. For example, adding custom sbt configurations to publish to a local repository. Note that this is necessary since our sbt configurations makes a release a SNAPSHOT if there are any untracked files (e.g. custom sbt file) or files with changes. If we don't ignore this *.sbt files, then it will...DFDL-1666
Steve LawrenceSteve Lawrence
809e9a90cedFix test to have correct value and move out of debugF7FF came frome the specification, but it is wrong. It should be F7DC. Fix the tests and moved it out of debug. DFDL-1455DFDL-1455
Mike BeckerleMike Beckerle
f3690c6369dMoved scala-new to scala tests to close out Boolean impl tickets.DFDL-177, DFDL-178, DFDL-243, DFDL-461, DFDL-4625 Jira issues
Joshua AdamsJoshua Adams
1d3c835689aMoved union tests out of scala-new
Mike BeckerleMike Beckerle
fed9f77c5c0Fix TestSchemaCache.scala, which got corrupted....not sure how.
Mike BeckerleMike Beckerle
d26790cc7e5Closing DFDL-1521.Moving test scala-new to scala.DFDL-1521
Mike BeckerleMike Beckerle
7cf3c4d0434Closing DFDL-1576, move tests to scala from scala-newDFDL-1576
Mike BeckerleMike Beckerle
1ed068abda5Closing DFDL-1577.Moved tests scala-new to scala.DFDL-1577
Mike BeckerleMike Beckerle
287692eea64Close out DFDL-1648.Move tests scala-new to scala.DFDL-1648
Mike BeckerleMike Beckerle
00d8500216eMoving tests from scala-new to scala to close out multiple tickets. DFDL-1233 DFDL-1669 DFDL-1657 DFDL-1706 DFDL-1691 DFDL-1617 DFDL-1719 7 Jira issues
Mike BeckerleMike Beckerle
c0a0854c168Closing DFDL-1650. Moving tests to scala from scala-new. test_alignmentPaddingOVC1 test_alignmentPaddingOVC2 test_alignmentPaddingOVC3DFDL-1650
Mike BeckerleMike Beckerle
c986bf77caeSupply encoding so default isn't used. Fixes DFDL-1684 for windows "for real", i.e., no longer need to specify options like -Dfile.encoding=utf-8 DFDL-1684DFDL-1684
Mike BeckerleMike Beckerle
2db1f3f34b2Removed AO tests and mention thereof (recursion - not yet a feature)DFDL-149DFDL-149
Mike BeckerleMike Beckerle
cda2728cd0cRemove Tests AExxx and related code. DFDL-152DFDL-152
Steve LawrenceSteve Lawrence
0a156d9210fUse a ThreadLocal for w3c dom infoset inputters in CLIw3c Documents are not thread-safe, even for reading. This is because the implementation lazily evaluates parts of the tree and creates/destroys various caches while reading. It is still safe to read the same tree multiple times, just not at the same time. This patch adds a ThreadLocal variable when creating w3c documents in the CLI, so that each thread has a unique copy that it can use. This pr...DFDL-1795
Steve LawrenceSteve Lawrence
249ee22f45fFix reference to README file, which is now README.me
Steve LawrenceSteve Lawrence
7cffb2e46c2Add missing copyright headers in source files
Steve LawrenceSteve Lawrence
732dd7e2c11Simplify README, BUILD, LICENSE- Update README to use Markdown and be more concise. Reference the wiki where it makes sense so there is only one place we need to update when things change - Delete BUILD--this file was basically 'how to use sbt', and involved sbt commands we never even really need to use. Commonly use commands are put in the README - Delete RELEASE, it does not belong in this repo - Rename COPYRIGHT t...DFDL-1806
Mike BeckerleMike Beckerle
d309eae5f50Fix daf:trace so you can trace a complex element.E.g. useful to trace in this context: fn:exists(daf:trace(/foo/bar, "bar is complex type")) I needed this fixed to debug jpeg's dfdl:assert expressions. DFDL-1804DFDL-1804
Taylor WiseTaylor Wise
115728dc3c0Correct tutorials that were showing the wrong schema in the examples.Corrects XSL to print the entire 'document' element for the Datastream as to not be misleading regarding bitOrder and byteOrder. DFDL-1802DFDL-1802
Steve LawrenceSteve Lawrence
561fa12a94cUpdate the performance CLI command to use less memory when unparsingWhen unparsing, the performance command currently creates N copies of the input infoset. For large infosets, this can require a lot of memory, causing trouble for the garbage collector and limiting how much memory is available to perform the actual unparse. This patch modifies the performance command so that it only creates a single infoset (e.g. scala node, jdom tree, etc.) that is shared amo...DFDL-1790
Taylor WiseTaylor Wise
151e9db29f9Remove daffodil-examples project. Contents have been placed into the DFDLSchemas repo on GitHub.DFDL-1694DFDL-1694
Steve LawrenceSteve Lawrence
87517851045Improve diagnostics about left over data in the CLINow displays how many bits were consumed and how many bits remain, rather than displaying the byte position and limit, which loses bit information and isn't very clear. Also avoids any confusion with bit position being 0- or 1-based. DFDL-1798DFDL-1798