[
https://issues.apache.org/jira/browse/DAFFODIL-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875069#comment-16875069
]
Michael Beckerle commented on DAFFODIL-2170:
--------------------------------------------
Good point.
Using a property is problematic because if the property is in the dfdlx
namespace, then well we're sharing a namespace. So we'd need to choose a
property name that is specific to daffodil like
dfdlx:daffodilCompatibilityMode, or dfdlx:daffodilModeFlags="extensionsEnabled"
or something like that.
It is supposed to be clear looking at a schema if it uses extension features.
Some enablement on the top level dfdl:format annotation is supposed to be
required.
(I'm supposed to write up this whole extensions feature as a DFDL Workgroup
document.)
This is supposed ot require more than just seeing the dfdlx prefix and
namespace defined on the xsd:schema element. Just the presence of that isn't
enough.
I think a clearly daffodil named property on the dfdl:format annotation should
be needed to turn on extensions - eventually that will be required. Initially
to avoid breaking things we'll have the usual default from tunable provides
setting of this, and warnings - currently suppressed if extensions are found,
but the property is being defaulted because it is missing.
> hexBinary with lengthUnits 'bits' needs experimental property to
> enable/disable.
> --------------------------------------------------------------------------------
>
> Key: DAFFODIL-2170
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2170
> Project: Daffodil
> Issue Type: Improvement
> Components: Front End
> Affects Versions: 2.4.0
> Reporter: Michael Beckerle
> Priority: Major
> Fix For: 2.4.0
>
>
> The DFDL Workgroup has concluded that this feature is on the list for DFDL
> v2.0. (Few things that don't have multiple implementations are going to be
> added to DFDL v1.0 any more.)
> That means this has to become an experimental feature which means it has to
> have a property for enabling/disabling it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)