Usually an initiator acts as an identifier for the data. In your case, it sounds as if you simply want to skip over some leading/trailing data.

Possible solutions:
- define hidden elements of the required lengths. You will need to put each element into a global group and refer to the group via a hiddenGroupRef annotation. That may sound awkward, but it ensures that the parsed infoset can be validated against the xsd.
- if the initiators and terminators have a known length in bytes then you could use ( misuse? ) leadingSkip and trailingSkip to ignore them.

regards,

Tim Kimber, DFDL Team,
Hursley, UK
Internet:  kimbert@uk.ibm.com
Tel. 01962-816742  
Internal tel. 37246742




From:        Miguel Vieira <carlos.vieira@gmv.com>
To:        "dfdl-wg@ogf.org" <dfdl-wg@ogf.org>
Date:        30/08/2012 14:14
Subject:        [DFDL-WG] defining dfdl:terminator and dfdl: initiator using length
Sent by:        dfdl-wg-bounces@ogf.org




Hello!
 
Is it possible to define the initiator and terminator using their length? I know my data will have an initiator and a terminator, but not what they will be, only that they will exist and their length.
If it’s not possible, what is the best way to accomplish this?
 
R,
Miguel
 
 


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@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