[DFDL-WG] Alternate Initiators?
Garriss Jr., James P.
jgarriss at mitre.org
Wed Feb 27 13:06:03 EST 2013
Elegant. Thank you.
From: Mike Beckerle [mailto:mbeckerle.dfdl at gmail.com]
Sent: Wednesday, February 27, 2013 1:04 PM
To: Garriss Jr., James P.
Cc: dfdl-wg at ogf.org
Subject: Re: [DFDL-WG] Alternate Initiators?
dfdl:initiator="Message-ID Message-Id"
i.e., it's a whitespace separated list of alternatives.
There's also a property called dfdl:ignoreCase="yes", but that would allow "mEssAge-iD" as well, which you probably don't want.
On Wed, Feb 27, 2013 at 12:48 PM, Garriss Jr., James P. <jgarriss at mitre.org<mailto:jgarriss at mitre.org>> wrote:
Consider the following IMF headers:
Message-ID: <CACQ76nh2VDypuwm1aHc1-s8ZmmyXg8XEosS6af6yurkVdT+8QQ at mail.gmail.com<mailto:CACQ76nh2VDypuwm1aHc1-s8ZmmyXg8XEosS6af6yurkVdT%2B8QQ at mail.gmail.com>>
Message-Id: <208E8372-A9D9-468A-9B4B-BD97ED28F64C at garriss.org<mailto:208E8372-A9D9-468A-9B4B-BD97ED28F64C at garriss.org>>
Notice the difference:
Message-ID:
vs
Message-Id:
Per the RFC, only the first is legal, but both are used in practice, and we'd like to allow either. In our DFDL schema, "Message-ID" is an initiator, but suddenly we have two alternate initiators for the same element.
How we model this in DFDL?
TIA
--
dfdl-wg mailing list
dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>
https://www.ogf.org/mailman/listinfo/dfdl-wg
--
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com<http://www.tresys.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130227/29557ed4/attachment.html>
More information about the dfdl-wg
mailing list