<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=156032415-12112008><FONT face=Arial 
color=#0000ff size=2>(revised)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156032415-12112008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV></DIV>
<DIV><SPAN class=203584313-22102008><SPAN class=578054913-22102008><SPAN 
class=328001515-05112008><FONT face=Arial size=2>In the DFDL spec., the problem 
exists of how to express the behavior of a construct in the situation where 
there are properties in scope surrounding </FONT></SPAN></SPAN></SPAN><SPAN 
class=203584313-22102008><SPAN class=578054913-22102008><SPAN 
class=328001515-05112008><FONT face=Arial size=2>the&nbsp;construct. 
</FONT></SPAN></SPAN></SPAN></DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><SPAN class=328001515-05112008><FONT face=Arial 
size=2></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><SPAN class=328001515-05112008><FONT face=Arial 
size=2>I believe this kind of syntax can be used in the spec. to make clear the 
implications of scope:</FONT></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><FONT face="Courier New"><SPAN 
class=156032415-12112008><FONT face=Arial color=#0000ff size=2>&nbsp;<FONT 
color=#000000><EM>Properties in 
scope:</EM></FONT>&nbsp;</FONT></SPAN>lengthKind="implicit"</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;representation="text" 
</FONT></SPAN></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face="Courier New">&lt;sequence dfdl:separator=&#8221;,&#8221; 
  dfdl:terminator=&#8221;;&#8221;<SPAN class=578054913-22102008> </SPAN></FONT></DIV>
  <DIV><FONT face="Courier New"><SPAN 
  class=578054913-22102008>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dfdl:lengthKind="delimited"</SPAN>&gt;&nbsp;<SPAN 
  class=328001515-05112008>&nbsp;&nbsp;// these are 
  local</SPAN><BR>&nbsp;&nbsp;&nbsp; &lt;element name=&#8221;f1&#8221; 
  type=&#8221;string&#8221;&nbsp;<SPAN class=578054913-22102008>/</SPAN>&gt; <BR>&nbsp; 
  &nbsp; &lt;element name=&#8221;f2&#8221; type=&#8221;string&#8221; /&gt; <BR>&lt;/sequence&gt; 
  </FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><SPAN class=328001515-05112008><FONT face=Arial><FONT 
size=2><SPAN class=156032415-12112008>I would suggest the above syntax 
for&nbsp;the DFDL spec as a way to discuss property semantics. The only way 
properties can get in scope is by way of an enclosing complexType definition; 
but using that syntax explicitly begs the question of whether one means true 
lexical enclosure, can there be other enclosing complexTypes also, etc. The 
above style eliminates these 
issues.</SPAN></FONT></FONT></SPAN></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><SPAN class=328001515-05112008><FONT face=Arial 
size=2></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=203584313-22102008><SPAN 
class=578054913-22102008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN style="FONT-SIZE: 7pt; FONT-FAMILY: Arial"><A 
name=""></A><st1:PersonName w:st="on"><SPAN style="mso-bookmark: ''"><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></B></SPAN></st1:PersonName><SPAN 
style="mso-bookmark: ''"><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mike Beckerle&nbsp;| 
OGF DFDL WG Co-Chair | CTO | Oco, Inc.</SPAN></B></SPAN><BR><SPAN 
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Arial">Tel:&nbsp; 
781-810-2100&nbsp; | <st1:address w:st="on"><st1:Street w:st="on">504 Totten 
Pond Road</st1:Street>, <st1:City w:st="on">Waltham</st1:City> <st1:State 
w:st="on">MA</st1:State> <st1:PostalCode 
w:st="on">02451</st1:PostalCode></st1:address> |</SPAN> <A 
href="mailto:mbeckerle.dfdl@gmail.com"><SPAN 
style="FONT-SIZE: 10pt; COLOR: gray">mbeckerle.dfdl@gmail.com</SPAN></A><SPAN 
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Arial">&nbsp;</SPAN></DIV></DIV></SPAN>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>