You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by GitBox <gi...@apache.org> on 2019/08/19 16:45:48 UTC
[GitHub] [incubator-daffodil] stevedlawrence opened a new pull request #265:
Add blob support
stevedlawrence opened a new pull request #265: Add blob support
URL: https://github.com/apache/incubator-daffodil/pull/265
- Adds support for xs:anyURI primitive type. Elements with this type
must specifiy the new property dfdl:largeObjectKind, which can be
"bytes" or "characters". Support for "characters" is not added in this
patch.
- On parse elements with largeObjectKind="bytes" will have the data read
and written out to a file with a randomly generated name, with a URI
to that file being put in the infoset. On unparse, the data is read
from the URI and written to the data stream. Behavior is very similar
to xs:hexBinary.
- Large objects must have lengths set with dfdl:lengthKind="explicit".
- New API functions are added to set where to write blob files to and to
a get list of all blob files that were written.
- TDML Runner is updated to be aware of xsi:type="xs:anyURI" and compare
the contents of the blob files. It will also delete blob files after a
test passes.
- The CLI will write blob files to $PWD/daffodil-blobs/" directory.
DAFFODIL-1735
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services