[
https://issues.apache.org/jira/browse/DAFFODIL-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Beckerle resolved DAFFODIL-2716.
-------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> giter8 schema project generator should create types file.
> ----------------------------------------------------------
>
> Key: DAFFODIL-2716
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2716
> Project: Daffodil
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: 3.3.0
> Reporter: Mike Beckerle
> Priority: Major
> Fix For: 4.0.0
>
>
> The daffodil-schema giter8 should create a slightly better schema.
>
> There should be two schema files in a "namespaced" schema, named:
> * main.dfdl.xsd
> * types.dfdl.xsd
> The types file should include DFDLGeneralFormat.dfdl.xsd, and define a
> baseFormat type that references Daffodil's GeneralFormat.
> The types file should also use the baseFormat, as the types file is where we
> expect users to define types used by the main schema.
> The main file should include types.dfdl.xsd, and use the baseFormat also.
> This would allow users to get started without the logistics of how to break
> their schema into files.
> Some XML comments explaining what the files are for (e.g., types.dfdl.xsd is
> for format definitions and reusable type definitions - to reduce the clutter
> and repetitiveness of the main schema) and also comments about what
> baseFormat is for, and that users should add the basic properties of their
> format that apply to everything in the definition of the base format, with
> some examples of what some of the properties might be (e.g.,
> representation='binary' for a binary format).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)