ࡱ>  @ 0n6bjbj{{ .n.  <<<<tZ= k$>>>>>?V@d;A4RkTkTkTkTkTkTk$nRmpXxk oA??oAoAxk >>k.DDDoA > >RkDoARkDD6a c>> ̡:W<BZjb~jk<kb<poCp8c p coAoADoAoAoAoAoAxkxk $#$D #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 locallyTable  SEQ Table \* ARABIC 1 DFDL annotation scoping Note: This table lists DFDL annotations on schema components. DFDL annotations can also be placed on other DFDL annotations, such as a dfdl:format on a dfdl:defineFormat, to provide a named reusable resource, In this case the annotation applies only where the named resource is referenced. 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. When a property is defined both locally and on the dfdl:defineFormat, the locally defined property takes precedence. The dfdl:format annotation on the xs:schema declaration provides defaults for the dfdl properties at every DFDL-annotatable component contained 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 more that one format annotation occurs at the same annotation point, except when selectors are used, or 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 dfdl: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. Move to the innermost schema component in the chain of references. Assemble its applicable "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 the same property appears twice. Result is a new working set of "explicit" properties. Obtain applicable "default" properties from dfdl:format block on the xs:schema that contains the component (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 schema component that references the current component, and repeat step 3. If there is no referencing component, move to step 5. Combine the resultant sets 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. "Applicable" properties are all the DFDL properties that apply to that type of schema component. 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', 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 5 Merging DFDL properties from xs:element reference, xs:element declaration 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 locally defined dfdl:binaryNumberRepresentation with a value of 'binary' 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:separatorPosition="infix" 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 dfdl:sequenceKind="ordered" 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. %&'inu   # $ % E F X Y v w     Ҿypppphdhg|0J! hdh?hdh?h U0J! h/0J! h9q0J! h0J! h}PA0J! h?0J!hdhg|0J"homHnHsH uhomHnHujhoUhojhoUhuh/ hhg| hdhg|hg|h[h~,&'% 6 E r$$Ifa$gdg|l'$Ifgdg|l' dd[$\$gdogd/gdg|M & FkEƀf.^kgdLn6E F Y q[$$Ifa$gdN~l$IfgdN~lzkd}$$Ifl0 t"D  t0"644 la 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 la 0 P X Y Z o    ! " # $ < = N S    0 1 b }   3 4 ҾhP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SOgddgd;m  kffagdqgdDI & FEƀfgdpI & FEƀfgdt?e!k!I & F Eƀf.gd8I & F Eƀf.gd8I & F Eƀf.gd8= > E O { !! """"""" ##(#E#N#########$$$$$$$$$$%%%%O%V%W%m%n%o%p%%%ÿøèôôÿÿähH.hoO`mH sH h2:mHnHujhoO`UhoO`hdhd5hN~hd hdhdhS hdhdhwhG'h258hhqh8hKU hPhqh8mH sH hPhPmH sH 5e!!"####kfa\WgdwgdgdDgd8I & F Eƀf.gd8I & F Eƀf.gd8####$$)$M$m$$$$$$$%-%@%N%O%gdSgddFEƀ;&gddO%%&&&&&&''7'V'i'z'{'''''`gdgdFEƀ;&gdt?gdKU(gdoO`%%%%%&#&,&1&&&&&&&&&z'{'''''''''''''u(v(w(~((((((((()!)))))))))ǾǶ׉hdh5 hdhhSO ht?5 hH.hphKU hKU5 h+M5heemH sH h2:mHnHujheeUheehN~h hdh hShS hdht?ht?hhph4''(2(R(e(v(w(()))))))3*F*Y*g*h*****+gdSOgdg|gdKU(gdeegd+M`gdgd)))))))* *&*)*/*g*h*z**********$+%+T+U+,,,",@,q,,,7-L---------.キ{hPhxmHnHsH hPhoO`mHnHsH  jhPhbmHnHsH hPhbmHnHsH  h{C5 h1gaJh1g hSO5hmH sH hSOmH sH hSO hdhhdh5 haJh hdh h5.++$+%+D+V+e++++++,,,,----J.../4/gdeiQgdoO`gdbgdg|gd1g(gdgdSOgd./.Z.i.l.|.~...........//!/#/4/t/v/w/y/z/////////////͵׵׵ר׵׊zsisb hPhx jhbhb hPhbh1gheiQ5h1ghx5 hPhoO`hxmHnHsH hdhoO`mHnHsH hxhxmHnHsH hPhoO`mHnHsH hSO hdhSOhSOmHnHsH hPhxmHnHsH hPheiQmHnHsH hPhoO`0J mHnHsH &4/v////////000%1@1s111122+223(gd2:gdSOgdeiQgd2:gd1ggdbgdg|gdoO`gdx/////00 0 0 0W0m0~00%1&1C1D1W1h1k1o11111111122ἵ~qgq]q]qgqgqgqgqShbmHnHsH hSOmHnHsH heiQmHnHsH heiQheiQmHnHsH hwheiQmHnHsHhwh2:5\mHnHsHhwh2:mHnHsHhwhxmHnHsH hPhxjhxUh1ghx0J)>*B*phjuh1ghxU h1ghxjh1ghxUhPhxmHnHsH 2+22232I2J2K2L2222222230353K3P3a3d3h3j333333041464B4N4~4444555g6h6i6ü򪡪ø򒎊}uh~~h+M5 h+M5hKUh/hqh{Chbh2:\ hdhSOhdh2:0J h2:h2: heiQhSOhSO heiQhbhb hb\hbhb\ hx5h2:mH sH h2:mHnHujh2:Uh2:hxmHnHsH +3K3314k!I & F Eƀf.gd2:I & F Eƀf.gdSOI & F Eƀf.gd2:14}4~444445g6i6j6k6l6m6n6gdg|gdKUgdqgd{Cgd2:I & F Eƀf.gd2:i6l6m6n6h!~ hUwhg| hdhg|,1h. A!"#$% }DyK _Ref243814390]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5]$$If!vh5D 5#vD #v:Vl t"65D 5DyK  http://tns2yK 2http://tns2/yX;H,]ą'c*L@L 2:Normalx OJPJQJ_HaJmH sH tH b@b V Heading 1#$$ hkx<@&^k5KH \^JaJ N@N V Heading 2$ h@&5\]^JaJR@R wz Heading 3$ h@&5OJQJ\^JaJDA@D Default Paragraph FontRi@R  Table Normal4 l4a (k@(No List.O. g|nobreak$LOL g| nobreak CharOJQJ_HaJmH sH tH NON V Char2*5KH OJQJ\^J_HaJ mH sH tH NO!N V Char1)5OJQJ\]^J_HaJmH sH tH HO1H wz Char&5OJQJ\^J_HaJmH sH tH 8@B8 g| Comment TextaJTOQT g|normal Char CharOJQJ_HaJmH sH tH \Ob\g| CodeBlock$h*$^hCJOJQJaJmHnHu\Oq\g|CodeBlock Char'CJOJQJ_HaJmHnHsH tH uB'@B g|Comment ReferenceCJaJn@n g| Table Grid7:V0PJ@O@ g|Code CJOJQJ^JaJNON g| Code Char$CJOJQJ^J_HaJmH sH tH HOH g|Code (Character)CJOJQJaJOg| XML ExcerptW$d%d&d'd-DM NOPQ+OJPJQJ^J_HaJmHnHsH tH u`O`g|XML Excerpt Char'OJQJ^J_HaJmHnHsH tH u>O> g| XML Reference CJOJQJROR g|XML Excerpt Emphasis5CJOJQJ\8O8 g| Table Font CJOJQJ6O!6 g| Table Heading5H@2H g| Balloon Text#CJOJQJ^JaJRY@BR g| Document Map$-D M OJQJ^JROR 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*phn.&'%6EFY0YZo=b,Ip  }  ! h 7Dfjk0m  e)Mm-@NO7Viz{ 2 R e v w !!!!!!!3"F"Y"g"h"""""##$#%#D#V#e######$$$$%%%%J&&&'4'v''''''''(((%)@)s))))**+**+K++1,},~,,,,,-g.i.j.k.l.m.p. 00000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (000000I0I0I0I0I0I0I0I0I(0I00h 0h 0h 0000000(000000k 0k 0k 0k 0k0k0k0k 0k 0k 0k 0k 0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k 0k 0k 0k 0k0k0k00,0,0,0,0,0,0,0,0,0,&'%6EFY0YZo=b,Ip  }  ! h 7Dfjk0m  e)Mm-@NO7Viz{ 2 R e v w !!!!!!!3"F"Y"g"h"""""##$#%#D#V#e######$$$$%%%%J&&&'4'v''''''''(((%)@)s))))**+**+K++1,},~,,,,,-g.i.j.k.l.m.p. 0000000000000000000000000000(000000I0I0I0I0I0I0I0I0I(0I00h 0h 0h 0000000(000000k 0k 0k 0k 0k0k0k0k 0k 0k 0k 0k 0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k0k(0k0k 0k 0k 0k 0k0k0k00,0,0,0,0,0,0,0,0,0, 4 ~%)./2i6n6#()+,-1579;<?E  Y  fme!#O%'+4/314n6 !"$%&'*./023468:=>n6# !#( ? A KbdVmo~ '' (2*I*K*n.     X 8@0(  B S  ? _Toc199516289 _Toc234993932 _Ref243814390 _Toc151286658 _Toc177399068 _Toc175057355 _Toc199516293 _Toc194983958 _Toc234993936 _Toc151286659 _Toc138694352 _Ref114885203! ! ! ! ! ! i.p. %%<i.j.p.0?{ **K+a+++++++1,B,--p.u4;v}- 4 C T )6)nu((((($)u*{***|--Z.e.p.3333333333333333333333333$ $( B f%%KeVpv ~ !!!!!!!" "'"$$@$K$T$q$$%2*L*J+J+j.p.p. D(a;XT.$DC3d1)ij-j^2D!gdtKlFT\PHhSzQIS D+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.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\PzQIS                                                                         Jo1a1gLs|Iwg|J>JA | j -O = 5 @< Kv xJd dWg01 :[s$1g;^uG-LZp%"Xh'T $!t")$$;$(|$%l&~#(&&)$8)# *o:*~*S+Eq+6, 6-h01P1}123: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.5NcNSOdOP8P>QPQ\Q,^QeiQwQyQ/Rv7RNTS|^ST`T U-UKUNVTWfmXYlnY)[4\ V\e]=]^b1^`8`oO`a`g`q`q`hab>HbtcJccyc}ddeeeeC+g}rhuixi{ijIjwjk[-m!nbgn p 8p/>p) qr6rJ9sdRtu0#v[\v&xy]6y z+zwz${-]|~N~?R~a~z}~0=MO}zY>Impcxz-M[8p>IwwwgI`BG')h_g:r U'ist :?mN0(*5|T:_ PT\UG/g!~MZsbyR*/cod3^O=S,4>{[fp |\Y+5;\L g: U$K5cB$/'01I7x# nt1ZmaD[yD/`cQDq$1 H.\#h-15F_kuGr,z!2F@t?MI]Z`f.uhRl9q<-Vdql93vO@]c&_Vq)<?@BCDEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Root Entry Fpn:WData A1TableIpWordDocument.SummaryInformation(DocumentSummaryInformation8CompObjj  FMicrosoft Word Document MSWordDocWord.Document.89q