[DFDL-WG] Can I ignore data I don't want in DFDL?
Garriss Jr., James P.
jgarriss at mitre.org
Fri Mar 1 08:09:16 EST 2013
Suppose I am using DFDL to parse email headers. Suppose the RFC only allows 3 headers: To, From, Subject. DFDL can handle this, no problem.
But suppose I get an email that includes a 4th header, one I have not planned for (i.e., have not included in the DFDL schema), don't care about, and don't want in the infoset. Like so:
From: <john at doe.com>
To: <jane at doe.com>
Keywords: sales <-- this line should be ignored!
Subject: Latest sales figures
Can DFDL handle this? Does it have a mechanism for allowing me to ignore (and thus drop) data I haven't planned for and don't care about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130301/35c3b57a/attachment.html>
More information about the dfdl-wg
mailing list