[DFDL-WG] DFDL4S use of wildcard/regex in length path expression

Michele Zundo michele.zundo at esa.int
Tue Sep 13 10:18:07 EDT 2016


Dear Steve,

sorry for the delay due to Summer break and other projects.

Here is the .zip.

Please note that we realised that one of our previous replies date 25 July 2016 at 17:45:05 GMT+2
was a misunderstanding from our part and not applicable.

Regarding your questions please find answers interleaved below

Michele



Regards


> 
> 
> 
> 
> From: Steve Hanson [smh at uk.ibm.com <mailto:smh at uk.ibm.com>] 
> Sent: Tuesday, July 26, 2016 3:20 AM 
> To: Michele Zundo 
> Cc: Mike Beckerle; rui.mestre at deimos.com.pt <mailto:rui.mestre at deimos.com.pt> 
> Subject: Re: Fwd: OGF DFDL WG Call Minutes 2016-07-05 
> 
> 
….snip
> 
> dfdl:length="{/Packet_Primary_Header/Packet_Data_Length + 1 - 
>                    contentLength(/Packet_Data_Field/(.*)Packet_Secondary_Header, 'bytes') - 2}" 
> 
> Firstly, contentLength is a DFDL function so it needs to be in the DFDL namespace, eg, dfdl:contentLength(). 
> 

Yes agree with you. We will add the dfdl:  it in future releases and modify the applications accordingly.


> Secondly, the first argument to dfdl:contentLength() is a path, so you are effectively still using regular expressions in path steps. 
> 

Yes. For now we are using it and expect this to become part of the standard.


> Regards 
>   
> Steve Hanson 
> IBM Integration Bus <http://www-03.ibm.com/software/products/en/ibm-integration-bus>, Hursley, UK 
> Architect, IBM DFDL <http://www.ibm.com/developerworks/library/se-dfdl/index.html> 
> Co-Chair, OGF DFDL Working Group <http://www.ogf.org/dfdl/> 
> smh at uk.ibm.com <mailto:smh at uk.ibm.com> 
> tel:+44-1962-815848 <tel:%2B44-1962-815848> 
> mob:+44-7717-378890 <tel:%2B44-7717-378890> 
> 
> 
> 
> From:        Michele Zundo <michele.zundo at esa.int <mailto:michele.zundo at esa.int>> 
> To:        Steve Hanson/UK/IBM at IBMGB 
> Cc:        Mike Beckerle <mbeckerle at tresys.com <mailto:mbeckerle at tresys.com>> 
> Date:        25/07/2016 17:10 
> Subject:        Fwd: OGF DFDL WG Call Minutes 2016-07-05 
> 
> 
> 
> 
> Dear Steve, 
> 
> Please find below the answer from our developers and example. 
> 
> Note that we have updated our implementation of DFDL to be as compliant as we 
> can at this point in time with the exception noted below. 
> 
> Michele 
> 
> Begin forwarded message: 
> 
> From: "Rui Mestre (DME)" <rui.mestre at deimos.com.pt <mailto:rui.mestre at deimos.com.pt>> 
> Subject: Re: Fwd: OGF DFDL WG Call Minutes 2016-07-05 
> Date: 25 July 2016 at 17:45:05 GMT+2 
> 
> Dear Michele, 
> 
>  I believe that after our DFDL compliance effort the mentioned "use of a regex in the path step of a DFDL expression" is no longer in place. 
> 
>  Currently the only extension implemented in DFDL4S regarding the use of regular expressions is that implementation of dfdl:contentLength is extended to support also regular expressions when specifying the node. 
> 
>  Please find attached a schema file example containing such extension in the use of dfdl:contentLength. 
> 
> Best regards, 
> Rui 
> 
> 
> Begin forwarded message: 
> 
> From: Steve Hanson < <mailto:smh at uk.ibm.com>smh at uk.ibm.com <mailto:smh at uk.ibm.com>> 
> Subject: OGF DFDL WG Call Minutes 2016-07-05 
> Date: 5 July 2016 at 17:49:13 GMT+2 
> To:  <mailto:dfdl-wg at ogf.org>dfdl-wg at ogf.org <mailto:dfdl-wg at ogf.org> 
> Cc: "Mike Beckerle" < <mailto:mbeckerle at tresys.com>mbeckerle at tresys.com <mailto:mbeckerle at tresys.com>>, "Michele Zundo" <michele.zundo at esa.int <mailto:michele.zundo at esa.int>> 
> 
> Please find minutes from the above call at  <https://redmine.ogf.org/dmsf_files/13537?download=>https://redmine.ogf.org/dmsf_files/13537?download= <https://redmine.ogf.org/dmsf_files/13537?download=> 
> 
> @Michele - please can you send to the WG a schema that shows your use of a regex in the path step of a DFDL expression ? 
> 
> Next call Aug 2nd 
> 
> Regards 
> 
> Steve Hanson 
> Architect, IBM DFDL, 
> Co-Chair, OGF DFDL Working Group <http://www.ogf.org/dfdl/> 
> IBM SWG, Hursley, UK 
> smh at uk.ibm.com <mailto:smh at uk.ibm.com> 
> tel:+44-1962-815848 <tel:+44-1962-815848> 
> 
> ----------------------------------------- 
> Michele Zundo 
> 
> Head of Ground System Definition and Verification Office 
> EOP-PEP   
> European Space Agency, ESTEC 
> e-mail:  <mailto:michele.zundo at esa.int>michele.zundo at esa.int <mailto:michele.zundo at esa.int> 
> 
> 
> 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. 
> 
> ----------------------------------------- 
> Michele Zundo 
> 
> Head of Ground System Definition and Verification Office 
> EOP-PEP 
> European Space Agency, ESTEC 
> e-mail: michele.zundo at esa.int <mailto:michele.zundo at esa.int> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Unless stated otherwise above: 
> IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU 
> 
> 
> #### Sentinel2X-bandTMISPData.xsd moved to MyAttachments Repository V3.8 (Link <notes:///802575AF0030E827/5DE5236E5AD1645685256EE0001BBADF/ABC83CA7B3700B0380258018002AE581>) on 23 August 2016 by Steve Hanson. 
> 
> 
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

-----------------------------------------
Michele Zundo

Head of Ground System Definition and Verification Office
EOP-PEP
European Space Agency, ESTEC
e-mail: michele.zundo at esa.int









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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20160913/b54a34df/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sentinel2X-bandTM.zip
Type: application/zip
Size: 14375 bytes
Desc: not available
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20160913/b54a34df/attachment-0001.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20160913/b54a34df/attachment-0003.html>


More information about the dfdl-wg mailing list