[DFDL-WG] Clarification: attributes in DFDL schema that are used not for data, but for other non-DFDL annotation elements.

Mike Beckerle mbeckerle.dfdl at gmail.com
Tue Feb 20 11:44:15 EST 2018


Interesting issue.

DFDL doesn't allow use of attributes.

But we have a user that has a DFDL schema to which they also want to add
other non-DFDL annotations.

Like DFDL itself, this other annotation language has a variety of
annotation elements that appear inside xs:appinfo blocks with specific
source attribute specified. A DFDL processor should be ignoring these.

Those other annotation elements have attributes (as do DFDL's annotation
elements.)

But Daffodil issues a schema definition error on the attribute declarations
of this other annotation-language schema. This because it has no way of
telling if these attribute declarations are for use *only* in annotations
that it will ignore, or if they are used for modeling data.

Question is: Is it acceptable for a DFDL annotation to just say "Nowhere in
the extended schema - all files - can there be any attribute
declarations.", or do we need to accommodate attributes and in fact every
XSD construct that DFDL disallows, so long as they're not being used to
model data?

Really there's two questions here. First, does the DFDL specification take
(or need to take) a position on this. Second, what's a practical choice for
a DFDL implementation like Daffodil to take here.

...mikeb

Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
Please note: Contributions to the DFDL Workgroup's email discussions are
subject to the OGF Intellectual Property Policy
<http://www.ogf.org/About/abt_policies.php>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20180220/d416f88a/attachment.html>


More information about the dfdl-wg mailing list