[ 
https://issues.apache.org/jira/browse/DAFFODIL-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933434#comment-17933434
 ] 

Mike Beckerle commented on DAFFODIL-2716:
-----------------------------------------

Fixed in 
[e75e627|https://github.com/apache/daffodil-schema.g8/commit/e75e6271f8ee586f1f4ec69538ea688cd8a0ecf0]

> 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
>
> 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)

Reply via email to