Examples of import of named DFDL format definitions

Michele, Attached find a zip file containing two examples. One imports a named format definition in a namespace. This is using a reusable format donated to OGF by IBM named "GeneralPurposeFormat". This is probably the way you would want to do things for DFDL4S. The other example is FYI, just illustrating another way we do this which includes a named schema that is in a no-namespace file, so that the named format ends up in the target namespace of whatever it is being included into. Honestly at this point I'm not sure why we did it this way for our testing stuff, but it's there as an example for completeness sake, or perhaps so as to show how this might work in an implementation that doesn't support XML namespaces at all. The schemaLocation attributes give paths relative to the classpath. At least that's how it works in Daffodil. I hope this is helpful and saves you some time. ...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> On Tue, Feb 16, 2016 at 10:07 AM, Michele Zundo <michele.zundo@esa.int> wrote:
Dear Steve/Mike,
we eventually discussed with our contractor the points raised last summer on the use of DFDL schema included in S2G tool (and now in our underlying parser DLDL4S.
The disposition we agreed is recorded for information in the attached pdf.
It relates to one of the point of latest minutes.
Regards
This message and any attachments are intended for the use of the addressee or addressees only. The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its content is not permitted. If you received this message in error, please notify the sender and delete it from your system. Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.
On 16 Feb 2016, at 13:58 , Steve Hanson <smh@uk.ibm.com> wrote:
Please find agenda for call on Redmine at https://redmine.ogf.org/dmsf_files/13517?download=
Regards
Steve Hanson Architect, IBM Data Format Description Language (DFDL) Co-Chair, *OGF DFDL Working Group* <http://www.ogf.org/dfdl/> IBM SWG, Hursley, UK *smh@uk.ibm.com* <smh@uk.ibm.com> tel:+44-1962-815848
----------------------------------------- Michele Zundo
Head of Ground System Definition and Verification Office EOP-PEP European Space Agency, ESTEC e-mail: michele.zundo@esa.int
-- dfdl-wg mailing list dfdl-wg@ogf.org https://www.ogf.org/mailman/listinfo/dfdl-wg
participants (1)
-
Mike Beckerle