ࡱ>  @ 0(1bjbj{{ .(s H  4 <7<7<7<77 4 %dV99999:V <do<4Zc\c\c\c\c\c\c${fRhXc <::<< c 99cH???< 9 9Zc?<Zc??Y [99 0*KQ<7=TZnbcH%dZ%i?p%i4[4 4 %i $[t<<?<<<<<cc4 4 8!u?4 4 8!Representation Property Scoping Rules This section describes the rules that govern the scope over which DFDL format annotations apply The scope of the representational properties on each of the component format annotations is give in  REF _Ref243814390 \h Table 1 DFDL annotation scoping Annotation PointProperty ScopeSchema declarationdfdl:format properties apply lexically over all components in the schema Element declarationdfdl:element properties apply locally Element referencedfdl:element properties apply locallySimple type definitiondfdl:simpleType properties apply locallySequence declarationdfdl:sequence properties apply locallyChoice declarationDfdl:choice properties apply locallyGroup referenceDfdl:group properties apply locallydfdl named defineFormatApply locally on the referencing componentTable  SEQ Table \* ARABIC 1 DFDL annotation scoping Representational properties explicitly defined on annotations other than a dfdl:format on an xs:schema declaration apply locally to that component only. The explicitly defined properties are the combination of any defined locally on the annotation and any defined on the dfdl:defineFormat annotation reference by a local dfdl:ref property. The dfdl:format annotation on the xs:schema declaration provides defaults for the dfdl properties at every DFDL-annotatable component in the schema document. They do not apply to any components in any included or imported schema document (these may have their own defaults) Providing Defaults for DFDL properties A dfdl:format annotation on the top level xs:schema declaration may provide defaults for some or all the dfdl properties at every annotation point within the schema document. DFDL properties defined explicitly on a component apply only to that component and override the default value of that property provided by a xs:schema dfdl:format annotation. The example below demonstrates the overriding of a format encoding property. The 'ASCII' dfdl:format encoding is the default value for the title element, but then it is overridden by the locally defined utf-8 format encoding, which takes precedence. Figure  SEQ Figure \* ARABIC 1 Setting defaults for DFDL propeties Multiple Annotations at the same point When multiple DFDL annotations occur at the same annotation point then the properties they contain are combined with the later format annotations overriding earlier ones, (later meaning textually later in the schema document) and short-form annotations are interpreted as if they appeared in a long-form annotation that is first before any other long-form annotations. It is a schema definition error if the same property is defined in long and short form. Combining DFDL Properties from a dfdl:defineFormat The DFDL properties contained in a referenced dfd:defineFormat are combined with any DFDL properties defined locally on a construct as if they had been defined locally. before any short form annotations. If the same property is defined locally in short or long form and in the referenced dfdl:defineFormat then the local property takes precedence. The combined set of explicit DFDL properties has precedence over any defaults set by a dfdl:format on the xs:schema. Figure  SEQ Figure \* ARABIC 2 DFDL properties from dfdl:DefineFormat The example above demonstrates the overriding of an encoding property. The 'ASCII' format encoding from the 'myFormat' is overridden by the UTF-8 format encoding, which as a locally defined property takes precedence. Combining DFDL Properties from References The dfdl properties from the following types of reference are combined using the rules below. an xs:element and its referenced xs:simpleType restriction, an xs:element reference and its referenced global xs:element an xs:group reference and an xs:sequence or xs:choice in its referenced global xs:group an xs:simpleType restriction and its base xs:simpleType restriction Rules Create an empty working set of "explicit" properties. Create an empty working set of "default" properties. Start with the simple type. Assemble its directly relevant "explicit" properties from its local dfdl:ref (if present) and its local properties (if present), the latter overriding the former (that is local wins). Combine these with the current working set of "explicit" properties. It is a schema definition error if there is a property clash. Result is a new working set of "explicit" properties. Obtain directly relevant "default" properties from in-scope unnamed dfdl:format block (if present). Combine these with the current working set of "default" properties, the latter overriding the former (ie, inner wins). Result is a new working set of "default" properties. Move to the global element. Repeat step 2. Move to the element reference. Repeat step 2. Validate the resultant set of properties. The "explicit" properties take priority, "defaults" only used when no "explicit" is present. It is a schema definition error if a required property is in neither the "explicit" nor the "default" working sets. "Directly relevant" properties are all the DFDL properties that apply to that type of schema construct. For example all the DFDL properties that apply to an xs:simpleType. Figure  SEQ Figure \* ARABIC 3 Merging properties from and xs:element and xs:simpleType The locally defined dfdl:alignment property with value '16' from the xs:simpleType 'newType' is combined with the locally defined dfdl:representation property with value 'binary' and applied to element 'testElement1', along with any defaults set by a dfdl:format on the xs:schema. Figure  SEQ Figure \* ARABIC 4 Merging DFDL properties from a base xs:simpleType The locally defined dfdl:representation property with value 'binary' is combined with the locally defined dfdl:alignment property with value '64' from the xs:simpleType restriction 'otherNewType'  Figure  SEQ Figure \* ARABIC 5 DFDL properties on group reference to xs:group in another schema The DFDL properties applied to the xs;sequence in xs:group "ggrp1" in SCHEM2 when referenced from the group reference in SCHEMA1 are dfdl:separator="," from the group reference in SCHEMA1 dfdl:lengthKind="implicit" from the group declaration in SCHEMA2 dfdl:encoding="UTF_8", dfdl:linputValueCalc="", dfdl:outputValueCalc="" , dfdl:initiator=''", dfdl:terminator="" from the default dfdl:format block in SCHEMA2 Nothing from the default dfdl:format block in SCHEMA1 Glossary Local properties Local properties are the properties defined on an annotation in either short or long form Explicit properties - The explicit properties are the combination of any defined locally on the annotation and any defined on the dfdl:defineFormat annotation reference by a local dfdl:ref property. "Directly relevant" properties - All the DFDL properties that apply to that type of schema construct. For example all the DFDL properties that apply to an xs:simpleType. Need example of element ref -> element -> simple type. Need example of dfdl:ref. AWP>> see first example above %&'inu   # $ % E F X Y v w ɿ{uiuc{W{Hhě&h/0J! h9q0J!Hhr|چh0J! h}PA0J! h?0J!hdhg|0J""HhģFhomHnHsH uHhģFhomHnHujhoUjhoUHhģFhojHhģFhoUhuHhě&h/ hhg| hdhg|hg|h[h~ &'% 6 E r$$Ifa$gdg|l'$Ifgdg|l' dd[$\$gdogd/gdg|M & FkEƀq|چ.^kgdL0'1E F Y q[$$Ifa$gdN~l$IfgdN~lzkd}$$Ifl0 t"D  t0"644 la     0 P X Y Z o        F G H I O ˹{HhģFho hdh}CHhƛ&h/0J!Hhś&h/0J!hdh}C0J! hU0J! h}C0J! h) q0J!Hhr|چh/0J! hdhg| h}PA0J!Hhr|چh0J!hdhg|0J! hdh?hdh?h U0J!, q[$$Ifa$gdg|lT$Ifgdg|lTzkd$$Ifl0 t"D  t0"644 la  q[$$Ifa$gdg|l$Ifgdg|lzkd;$$Ifl0 t"D  t0"644 la  0 Y q[$$Ifa$gdg|l$Ifgdg|lzkd$$Ifl0 t"D  t0"644 laY Z o q[$$Ifa$gdg|lT$Ifgdg|lTzkd$$Ifl0 t"D  t0"644 la q[$$Ifa$gdg|l$Ifgdg|lzkdX$$Ifl0 t"D  t0"644 la  q[$$Ifa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kFhoO`0J mHnHsH hdh;0J mHnHsH h;mHnHsH hdh;mHnHsH   "5KNhlmtuŻ磜瘔|rh^hHhڦhDHh̓ڦhrHh̃ڦhrhg|HhڦhDHhȃڦhrh+Mhd h;hG'hG'HhڦhycHh͛&h/Hhڦhych |HhFhxHhkFhoO`HhfFhoO`h; h;h;Hhڦh;h8#%&FGT`bcp{"/;<=>DEF׹ï}si[HhFhqmH sH HhFhDHhڦhrHhσڦhrHh&h.5NHhڦhpHh&hpHhڦhHh&ht?Hh΃ڦhrHhڦhDHh&h.5NHhڦhDHh̓ڦhrHhڦhDHhڦhD&cm#I & FEƀڦgdDI & FEƀڦgdt?GC$Eƀ̃ڦgdD>?k#GC$EƀڦgdDI & FEƀڦgdpI & FEƀFgdt??EFo%I & F EƀF.gdqGC$EƀFgdqGC$EƀڦgdDFRpxFXP ʦʅdʦZPFPFO> g| XML Reference CJOJQJROR g|XML Excerpt Emphasis5CJOJQJ\8O8 g| Table Font CJOJQJ6O!6 g| Table Heading5H@2H g| Balloon Text#CJOJ QJ ^J aJRY@BR g| Document Map$-D M OJ QJ ^J ROR V Heading 31 %$ h5OJQJ\^JaJ@T@b@ s Block Text&]^@j@AB@ G'Comment Subject'5\8"@8 oO`Caption(x 5\aJ6U@6 x Hyperlink >*B*ph Steve Hanson()SMH1SMH]&F8ru()&'%6EFY0YZoHIoijv H  . * iv&c>?EF|STX\{ ,?PQ i5Tgxy 0Pctu @!p!!!!!!!!!s""3#### $D$X$n$~$$$t%%%&&&&&&<'((((((((())&))) 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0000000000000(000 0 00 0 0 0 0 0 (0 0 0 0 00 0 0 0 0000 0 0 0 0000000000000000000000000(00000000000000000000000000(000000000000000000000000000000(00 0 0 0 00000000000000@0@0@0@0 08[&'%6EFY0YZoHIoijv H  . * iv&c>?EF|STX\{ ,?PQ i5Tgxy 0Pctu @!p!!!!!!!!!s""3#### $D$X$n$~$$$t%%%&&&&&&<'((((((((())&))) 0000000000000000000000000000000(0000000000000(000 0 00 0 0 0 0 0 (0 0 0 0 00 0 0 0 0000 0 0 0 0000000000000000000000000(00000000000000000000000000(000000000000000000000000000000(00 0 0 0 00000&0&0&0&0&0&0&0&0&0&}@00}@00}@00}@000$ O Ov F h#%''()*s*},-.(1&'()+,-.258:<>?AEFIKNE  Y  H v? X! #$&'()))3+D,~,t-..0&1(1 !"#$%*/0134679;=@BCDGHJLMOPQ'1#Oeg },.|  "-"9"H"c"o"$$$()     XXXX 8@0(  B S  ? _Toc199516289 _Toc234993932 _Ref243814390 _Toc151286658 _Toc177399068 _Toc175057355 _Toc199516293 _Toc194983958 _Toc234993936 _Toc151286659 _Toc138694352 _Ref114885203I ()) %%(()) 1]((0?  }4B%%&&&0&K&Z&''(()))NU  ) [ h N[FQNV$$%%''((())))333333333333333333333333333$I$$$$((((()%)))()) D(a;XT.$DC3d1)ij-j^2D!gdtKlFT\PHhS+bZ |z=_ 2qh hh^h`hH.h)P^`PGOJQJsH tH ^JaJ_HhH..h ^`hH...h xp^`xhH.... h  ^`hH ..... h  X ^ `XhH ...... h  x^ `hH....... h 8^`8hH........ h `^``hH.........h^`OJQJo(hHh^`OJQJ^Jo(hHohpp^p`OJQJo(hHh@ @ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohPP^P`OJQJo(hHh ^`hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h^`OJQJo(hHh ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h ^`hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h^`OJQJo(hHh^`OJQJ^Jo(hHohpp^p`OJQJo(hHh@ @ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohPP^P`OJQJo(hHh dPd^d`PhHh)^`GOJQJsH tH ^JaJ_HhH.h 0^`0hH..h ``^``hH... h ^`hH .... h ^`hH ..... h ^`hH ...... h `^``hH....... h 00^0`hH........h ^`hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h ^`hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.A0^`0.A0^`0.Ap0^p`0.A@ 0^@ `0)A0^`0()A0^`0()A0^`0()A0^`0()AP0^P`0() ^2Da;dtK+bZj-d1)0|z=_.$T\P                                                                Jo1aLs|Iwg|J>JA | j -O = 5 @< Kv xJd dWg01[s$1g;^uG-LZp%"h'T $!t")$$;$(|$%l&~#(&&)$8)# *o:*~*S+Eq+6, 6-h01P123:3e;45g5Q5{g5yt56x-616r7258O88929L9SP92:t:;<#;#d;7<=E*=>>O>R@@@p@@A}PA;BOQBC{C}CrDEwqE|FN GGGOG H~ HaH#;I_I-K>KL<M%M+MnuM.5NcNdO8P>QPQ\Q,^QeiQwQyQ/Rv7RNTS|^ST`T U-UKUNVTWfmXYlnY)[4\ V\e]=]^b1^`8`oO`a`g`q`b>HbtcJccyc}ddeeeeC+g}rhuixi{ijIjwjk[-m!nbgn p 8p/>p) qr6rJ9sdRtu0#v[\v&xy]6y+zwz${-]|~N~?R~a~z}~=MO}zY>Impcxz-M[p>IwwgI`BG')h_g:r U'is :?mN0(*5|T:_ PT\UG/g!~MZsbyR*/cod3^O=S,4>{[fp |\Y+5;\L g: U$K5cB$/'01I7x# nt1ZmD[yD/`cQDq$1 H.\#h-15kuGr,z!2F@t?MI]Z`f.uhRl9q<-Vdql93vO@]&_Vq)<?@ABCDEFGHIJKLMNOPQRTUVWXYZ\]^_`abcdefghijklmnopqrstuvwxyz{|}~Root Entry FOKQData S1Table[YiWordDocument.SummaryInformation(DocumentSummaryInformation8CompObjj  FMicrosoft Word Document MSWordDocWord.Document.89q