In dfdl, is it possible to define the Value of an element equal to the length of string of another element? Thanks

Sent from Yahoo Mail on Android

On Wed, Jul 19, 2017 at 3:53 AM, Steve Hanson
<smh@uk.ibm.com> wrote:
Open the Problems view - that should list all the errors. If there are any that you are unable to resolve, or there are no errors, then let me know...

...but ...

... please note that for IIB / DFDL issues you will get a quicker response from posting to https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000281&tags=dfdl or to the IIB forum on mqseries.net.

Regards
 
Steve Hanson

IBM Hybrid Integration, Hursley, UK
Architect,
IBM DFDL
Co-Chair,
OGF DFDL Working Group
smh@uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890




From:        Bing Lu <mfcplus@yahoo.com>
To:        Steve Hanson <smh@uk.ibm.com>, "dfdl-wg@ogf.org" <dfdl-wg@ogf.org>
Cc:        Michele Zundo <michele.zundo@esa.int>, Mike Beckerle <mbeckerle@tresys.com>
Date:        18/07/2017 21:56
Subject:        cobol copybook xsd generation error




I generated a xsd for cobol copybook format through IIB 10.0.0.3, but after the schema was generated, it had a red X on the schema and when I tried to create a logical instance, it just says there are some errors with the schema, but doesn't say what error. Some of the xsd I generated were fine but some had this error.

And when ran the thing through serialization I got the following error, any ideas what's going on here?

ErrorHandler: processingError() CTDU4001E: Root element 'RTW23' in namespace '' does not exist.
Writing output data




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