[
https://issues.apache.org/jira/browse/DAFFODIL-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635032#comment-17635032
]
Mike Beckerle commented on DAFFODIL-2750:
-----------------------------------------
In the absense of a way to pre-compile the schemas so that this XML
encode/decode doesn't need to convert schema to exi-grammar, we may need some
sort of a server mode here.
I've been thinking for a while that the CLI should have a sub-prompt sort of
like sbt. A way to start it, then issue numerous commands like parse/unparse,
convert to EXI, etc. which would not have to recompile things.
> Add option to encode/decode EXI files
> -------------------------------------
>
> Key: DAFFODIL-2750
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2750
> Project: Daffodil
> Issue Type: New Feature
> Components: CLI
> Affects Versions: 3.4.0
> Reporter: Josh Adams
> Assignee: Josh Adams
> Priority: Major
> Fix For: 3.5.0
>
>
> It is rather cumbersome to encode/decode schema aware EXI files as they need
> access to the Daffodil XML resolver in order to import/include schemas
> correctly. Having a simple:
> "daffodil encodeEXI -s /path/to/schema /path/to/file.xml"
> to convert an XML file to an EXI file will be very helpful for testing. A
> decodeEXI command would also be added.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)