[DFDL-WG] Specify field based on the beggining of the binary file

Miguel Vieira carlos.vieira at gmv.com
Mon Sep 17 13:04:48 EDT 2012


Hi Steve!

I need them both.

From: Steve Hanson [mailto:smh at uk.ibm.com]
Sent: segunda-feira, 17 de Setembro de 2012 18:00
To: Miguel Vieira
Cc: dfdl-wg at ogf.org
Subject: RE: [DFDL-WG] Specify field based on the beggining of the binary file

Is Field4 the only part of the Header that is of interest?
Do you want the full Header (as a 512 byte BLOB) and Field4 in the infoset?

Regards

Steve Hanson
Architect, Data Format Description Language (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



From:        Miguel Vieira <carlos.vieira at gmv.com<mailto:carlos.vieira at gmv.com>>
To:        Steve Hanson/UK/IBM at IBMGB
Cc:        "dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>" <dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>>
Date:        17/09/2012 16:06
Subject:        RE: [DFDL-WG] Specify field based on the beggining of the binary file
________________________________



First of all: Thanks! ☺

My binary data specification is:
Header: 512Bytes;
Field1: 21504 bytes (21KB);
Field2: 5Bytes;
Field3: 1Byte;
Field4: 3 Bytes  <--Stating at byte 316 counting from the beginning of the file.

This means that Field4 is placed inside the Header field.

“leadingSkipBytes” or  “alignment” would do, but can you specify the place you start counting?

Thanks.
Miguel

From: Steve Hanson [mailto:smh at uk.ibm.com]
Sent: segunda-feira, 17 de Setembro de 2012 15:41
To: Miguel Vieira
Cc: dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>
Subject: Re: [DFDL-WG] Specify field based on the beggining of the binary file

Miguel, please can you send us a graphic of the data in question, I want to make sure I have understood your data correctly.

Regards

Steve Hanson
Architect, Data Format Description Language (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



From:        Miguel Vieira <carlos.vieira at gmv.com<mailto:carlos.vieira at gmv.com>>
To:        "dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>" <dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>>
Date:        17/09/2012 15:03
Subject:        [DFDL-WG] Specify field based on the beggining of the binary file
Sent by:        dfdl-wg-bounces at ogf.org<mailto:dfdl-wg-bounces at ogf.org>

________________________________




Hi!

I have a binary file specification that specifies some fields referenced by the beginning of the binary info.
For instance imagine that there is a field with 1024Bytes and the next one starts at byte 512 counting from the beginning of the info.

Is it possible to do that using dfdl?
I’ve seen dfdl:floating, but I can’t find much info on that.

Thanks.




P Please consider the environment before printing this e-mail.

________________________________

This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.

________________________________

Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información clasificada por su emisor como confidencial en el marco de su Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboración.

________________________________

Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação confidencial, de acordo com nosso Sistema de Gestão de Segurança da Informação, sendo para uso exclusivo do destinatário e estando proibida a sua divulgação, cópia ou distribuição a terceiros sem autorização expressa do remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o remetente e apague-a. Obrigado pela sua colaboração.

________________________________

--
dfdl-wg mailing list
dfdl-wg at ogf.org<mailto:dfdl-wg at ogf.org>
https://www.ogf.org/mailman/listinfo/dfdl-wg

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

P Please consider the environment before printing this e-mail.

________________________________
This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
________________________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacin clasificada por su emisor como confidencial en el marco de su Sistema de Gestin de Seguridad de la Informacin siendo para uso exclusivo del destinatario, quedando prohibida su divulgacin copia o distribucin a terceros sin la autorizacin expresa del remitente. Si Vd. ha recibido este mensaje errneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracin.
________________________________
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informao confidencial, de acordo com nosso Sistema de Gesto de Segurana da Informao, sendo para uso exclusivo do destinatrio e estando proibida a sua divulgao, cpia ou distribuio a terceiros sem autorizao expressa do remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o remetente e apague-a. Obrigado pela sua colaborao.
________________________________


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

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20120917/b2b38d8f/attachment-0001.html>


More information about the dfdl-wg mailing list