
Steve I have made some minor changes to you proposal - Move lengthKind pattern out separately to avoid having to implement regular expressions when only want delimited. - moved hidden to expression as you cannot really set a hidden field without an expression. - removed duplicate calendars I note that the core cannot implement simple use cases like COBOL occurs depending on or non-adjacent length fields. Perhaps we should have occursCountKind and lentghKind 'embeded' and allow paths. Regards Alan Powell Development - MQSeries, Message Broker, ESB IBM Software Group, Application and Integration Middleware Software ------------------------------------------------------------------------------------------------------------------------------------------- IBM MP211, Hursley Park Hursley, SO21 2JN United Kingdom Phone: +44-1962-815073 e-mail: alan_powell@uk.ibm.com From: Steve Hanson/UK/IBM@IBMGB To: dfdl-wg@ogf.org Date: 07/07/2010 14:47 Subject: [DFDL-WG] Subsetting the DFDL spec Some thoughts about subsetting the DFDL spec to make it more consumable for readers and implementors. We need to decide how the use of a subset is indicated in a DFDL xsd. It can be implicit by the properties referenced, or explicit up front. The difference is best illustrated by an example. Let's say Bidi support is a subset and I don't want to use Bidi. If using the implicit method, then I still need the dfdl:textBidi property to be set to 'no' even when in subset mode because the same xsd could be used by a full DFDL processor and it will expect a value. If using explicit, then I don't need to set the dfdl:textBidi property at all, because the DFDL processor will never look for it unless the xsd is switched to include that subset. Here's a straw man for some subsets. Regards Steve Hanson Strategy, Common Transformation & DFDL Co-Chair, OGF DFDL WG IBM SWG, Hursley, UK, smh@uk.ibm.com, tel +44-(0)1962-815848 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 [attachment "Subset_proposal_v1.ppt" deleted by Alan Powell/UK/IBM] -- dfdl-wg mailing list dfdl-wg@ogf.org http://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