<br><font size=2 face="sans-serif">Mike</font>
<br>
<br><font size=2 face="sans-serif">I think I prefer that the element overrides
the type even though it will look odd for in-line types.</font>
<br>
<br><font size=2 face="sans-serif">However I don't agree with your semantics
for complexTypes. Wouldn't &nbsp;'<i>Override before scoping</i>' be simpler
and more consistent. That is, the element overrides the complexType but
not the content. Otherwise you cannot have a 'local' override for an in-scope
property.</font>
<br>
<br><font size=2 face="sans-serif">For your example</font>
<br>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &lt;complexType dfdl:encoding=&quot;ebcdic&quot;&gt;</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;element
name=&quot;x&quot; dfdl:encoding=&quot;ascii&quot;&gt;</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;complexType&gt; </font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;&lt;sequence dfdl:separator=&quot;,&quot; dfdl:encoding=&quot;ebcdic&quot;&gt;</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;...</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;sequence dfdl:separator=&quot;|&quot;&gt;</font></tt>
<br><tt><font size=1>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;... </font></tt>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">The &quot;,&quot; would be ebcdic and
the &quot;|&quot; &nbsp;would be ascii</font>
<br>
<br><font size=2 face="sans-serif">Alan Powell<br>
<br>
 MP 211, IBM UK Labs, Hursley, &nbsp;Winchester, SO21 2JN, England<br>
 Notes Id: Alan Powell/UK/IBM &nbsp; &nbsp; email: alan_powell@uk.ibm.com
&nbsp;<br>
 Tel: +44 (0)1962 815073 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;Fax: +44 (0)1962 816898<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">&quot;Mike Beckerle&quot; &lt;mbeckerle.dfdl@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">&lt;dfdl-wg@ogf.org&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">13/05/2009 22:25</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[DFDL-WG] elements and combining properties
with their types</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">I spent some real time thinking about this
issue today.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Attached is a memo on the subject which is
big enough that I didn't want to just make it an email body.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Summary: I think current 034 semantics are
broken and should be fixed along the lines of the element</font><font size=2 color=blue face="Arial">
- </font><font size=2 face="Arial">overrides</font><font size=2 color=blue face="Arial">
- </font><font size=2 face="Arial">type principle. The example in the scoping
section is not right. </font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">But the issue has some depth to it. E.g.,
I think the grammar productions are broken currently and we need to fix
those also.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">See attached.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">...mike</font>
<br><font size=3>&nbsp;</font>
<p><font size=2 color=#000080 face="Arial"><b>Mike Beckerle | OGF DFDL
WG Co-Chair | CTO | Oco, Inc.</b></font><font size=2 color=#808080 face="Arial"><br>
Tel: &nbsp;781-810-2125 &nbsp;| 100 Fifth Ave., 4th Floor, Waltham MA 02451
|</font><font size=1 face="Arial"> </font><a href=mailto:mbeckerle.dfdl@gmail.com><font size=2 color=#808080 face="Arial"><u>mbeckerle.dfdl@gmail.com</u></font></a><font size=2 color=#808080 face="Arial">
[attachment &quot;elements-and-types.doc&quot; deleted by Alan Powell/UK/IBM]
</font><tt><font size=2>--<br>
 &nbsp;dfdl-wg mailing list<br>
 &nbsp;dfdl-wg@ogf.org<br>
 &nbsp;</font></tt><a href="http://www.ogf.org/mailman/listinfo/dfdl-wg"><tt><font size=2>http://www.ogf.org/mailman/listinfo/dfdl-wg</font></tt></a>
<p>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
<br>
</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>