You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2023/06/09 17:35:00 UTC

[jira] [Created] (DAFFODIL-2820) GeneralFormatPortable isn't actually portable due to emptyElementParsePolicy

Steve Lawrence created DAFFODIL-2820:
----------------------------------------

             Summary: GeneralFormatPortable isn't actually portable due to emptyElementParsePolicy
                 Key: DAFFODIL-2820
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2820
             Project: Daffodil
          Issue Type: Bug
          Components: Compatibility
            Reporter: Steve Lawrence
            Assignee: Steve Lawrence


The DFDLGeneralFormat.dfdl.xsd file defines two formats: GeneralFormat and GeneralFormatPortable. The idea being that GeneralFormatPortable can be used for schemas that want to work in both Daffodil and IBM DFDL.

However, GeneralFormat defines the extension property emptyElementParsePolicy that IBM DFDL does not allow. Even if a schema only uses GeneralFormatPortable, IBM still sees this invalid property in GeneralFormat and creates an SDE. This means anything using tthe DFDLGeneralFormat.dfdl.xsd file cannot be portable.

For his to work, the GeneralFormat and GeneralFormatPortable types need to be defined in completely separate files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)