[DFDL-WG] DFDL: Minutes from OGF WG call, 08 October 2008

Alan Powell alan_powell at uk.ibm.com
Mon Oct 13 04:11:28 CDT 2008


Weekly Working Group Conference Call
13:00 GMT, 08 October 2008


Attendees
Steve Hanson (IBM)
Alan Powell (IBM)

Apologies
Mike Beckerle (Oco)


1. Decimal Supplement
 
Previous decimal discussions had not covered syntax for 
defineTextNumberFormat and textNumberformat.

Based on defineFormat/Format pattern

defineTextNumberFormat annotation defines a named reusable number format

     <dfdl:defineTextNumberFormat name=?myNumFormat?> 
            <dfdl:textNumberFormat decimalseparator="." />
     </dfdl:defineTextNumberFormat>

Note: does not have baseFormat=  as nesting not required.

textNumberFormat annotation contains the properties that define the 
numberformat.

          <dfdl:textNumberFormat decimalseparator="." />

textNumberFomatRef  references a defineTextNumberFormat from an element 
declaration.


    <xs:element name="foo" type="xs:int" >
      <xs:annotation><xs:appinfo source=?http://www.ogf.org/dfdl/?>
        <dfdl:format representation="text" 
                     numberFormat=?text" 
                     textNumberFormatRef="myNumFormat"/> 
      </xs:appinfo></xs:annotation>
    </xs:element>

and has normal short and long form
   dfdl:textNumberFormatReference="myNumFormat"
   <dfdl:property name=textNumberFormatRef> "myNumFormat" </dfdl:property>

Note: we decide not to follow the defineFormat/Format pattern of having 
the reference on the textNumberFormat 
as this wouldn't have allowed a short form and the normal form would be 
verbose.
        <dfdl:format representation="text" 
                     numberFormat=?text" > 
                <dfdl:textNumberFormat ref="myNumFormat" /> 
     </dfdl:format> 


Possible extension:
As an extension textNumberFormat can also be in-line

    <xs:element name="foo" type="xs:int" >
      <xs:annotation><xs:appinfo source=?http://www.ogf.org/dfdl/?>
        <dfdl:format representation="text" 
                     numberFormat=?text" > 
                <dfdl:textNumberFormat 
                           pattern='####'
                           decimalseparator="."    /> 
     </dfdl:format> 
      </xs:appinfo></xs:annotation>
    </xs:element>

Scoping:

In-line numberFormats override any textNumberFormatRefernce on the element 
or in scope.
The textNumberFormat is considered as a single scheme and is overriden as 
a whole. Properties within
textNumberFormat cannot be overridden separately


2. packedDecimalSignCodes

packedDecimalSignCodes behaviour depends on NumberCheckPolicy but 
NumberCheckPolicy is defined in textNumberFormat which isn't applicable to 
binary numbers
Not resolved.

3. NumberFormat

Decided to split NumberFormat into textNumberRepresentation (text, zoned) 
and binaryNumberRepresentation(binary, bcd, packed) so there is a simple 
property decision tree based off representation

4. AOB

Will discuss End of Data next week

Next call  15st Oct 

Meeting closed, 14:05 GMT

Actions raised at this meeting

No
Action 
018
SH: Resolve packedDecimalSignCodes use of NumberCheckPolicy
019
MB: review defineTextNumberFormat  as above






Current Actions:
No
Action 
003
AP: Update spec from WTX document 
13/8:  All resolved issues have been added to spec. Remaining unresolved 
items need discussion 
10/9: Alan will pull out the remaining unresolved items and circulate for 
discussion next week 
17/9: Doc distributed and partially discussed 
8/10: All issued resolved and added to spec except padding variable 
length. 
004
MB: Mike will also author a new section in response to comments from Sandy 
Gao and Suman Kalia, explicitly connecting syntax with DFDL semantics 
16/7: no progress 
10/9: Mike not convinced this is necessary. Steve to talk to Sandy to see 
if it is needed for any IBM implementation that extends the existing XML 
parsing framework 
006
SH: Distribute hidden proposal 
16/7: Done. MB to review 
13/8: MB to review 
10/9: Mike has located this and will review 
17/9: Proposal agreed 
007
AP: enum + expression wording 
13/8: no progress 
10/9: No update 
17/9: No update 
011
SH: Update decimal supplement 
13/8: Editorial changes needed. 
10/9: Alan to incorporate into main spec 
17/9: No update
8/10: added but problems with defineNumeberFormat identified and discussed
012
??: Update decimalCalendarScheme 
10/9: Not allocated yet 
17/9: No update 
24/9: add calendar binary formats to actions 
013
MB: Description and use cases for EndofData syntax 
10/9: Steve didn't receive this mail, he now has and will review 
014
SH: Use cases for lengthKind pattern on binary fields. 
10/9: Not done 
17/9: No update 
015
AP: removed extended floats 
10/9: No update 
17/9: No update 
016
AP: add hidden changes to spec 
017
All: Review EndOfData changes


Actions closed at this meeting: 
No
Action 





033 Work items:
No
Item
001
String XML type (Ian P) - Apr 30, 2008 
002
Escape schemes (Ian P) - Apr 30, 2008 
003
Variables - ??, 2008 (Mike) 
004
Selectors (Suman) - Apr 30, 2008
005
Improvements on property descriptions - ??, 2008 (All - split TBD) 
006
Envelopes and Payloads (Steve) - Apr 30, 2008
007
(from draft 32) valueCalc (Mike) - ??, 2008 *Mostly complete*
008
(from draft 32) Property precedence for writing (Steve) - *complete but 
under review*
009
(from draft 32) Variable markup (Steve) - Mar 31, 2008 *proposal needs 
writing up*
010
(from draft 32) Assertions, discriminators and choice, including 
discussion of timing option (Suman) - Mar 31, 2008 * in progress *
011
(from draft 32) How speculative parsing works (combining choice and 
variable-occurence - currently these are separate) ??, 2008 (IBM) * in 
progress *
012
(from draft 32) Reordering the properties discussion: move representation 
earlier, improve flow of topics ??, 2008 (Alan) * not started *
013
(from F2F) New scoping rules
014
(from F2F) Occurs, OccurSeparator changes
015
(from F2F) choices and Output (Mike)
016
(from F2F) xpath forward references (Alan) *complete*
017
(IBM WTX review) Minor agreed updates (Alan) *complete*
018
(IBM WTX review) Review generateNewLine (Alan) *complete*
020
(IBM WTX review) Special value for zero seen eg 'zero'. (Steve) 
021
(IBM WTX review) 'EndOfData' changes (Alan)
022
(IBM WTX review) Unresolvable choices - infoset changes *complete*
023
(IBM WTX review) separatorKind=?prefix? ?infix? or ?postfix? (Alan) 
024
(IBM WTX review)  StopValue clarification (Alan) 
025
Augmented infoset and unparsing (Alan) 




Alan Powell

 MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
 Notes Id: Alan Powell/UK/IBM     email: alan_powell at uk.ibm.com 
 Tel: +44 (0)1962 815073                  Fax: +44 (0)1962 816898






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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20081013/e906e485/attachment-0001.html 


More information about the dfdl-wg mailing list