<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 '<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> <complexType dfdl:encoding="ebcdic"></font></tt>
<br><tt><font size=1> ...</font></tt>
<br><tt><font size=1> <element
name="x" dfdl:encoding="ascii"></font></tt>
<br><tt><font size=1>
<complexType> </font></tt>
<br><tt><font size=1>
<sequence dfdl:separator="," dfdl:encoding="ebcdic"></font></tt>
<br><tt><font size=1>
...</font></tt>
<br><tt><font size=1>
<sequence dfdl:separator="|"></font></tt>
<br><tt><font size=1>
... </font></tt>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">The "," would be ebcdic and
the "|" would be ascii</font>
<br>
<br><font size=2 face="sans-serif">Alan Powell<br>
<br>
MP 211, IBM UK Labs, Hursley, Winchester, SO21 2JN, England<br>
Notes Id: Alan Powell/UK/IBM email: alan_powell@uk.ibm.com
<br>
Tel: +44 (0)1962 815073
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">"Mike Beckerle" <mbeckerle.dfdl@gmail.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif"><dfdl-wg@ogf.org></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> </font>
<br><font size=2 face="Arial">I spent some real time thinking about this
issue today.</font>
<br><font size=3> </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> </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> </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> </font>
<br><font size=2 face="Arial">See attached.</font>
<br><font size=3> </font>
<br><font size=2 face="Arial">...mike</font>
<br><font size=3> </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: 781-810-2125 | 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 "elements-and-types.doc" deleted by Alan Powell/UK/IBM]
</font><tt><font size=2>--<br>
dfdl-wg mailing list<br>
dfdl-wg@ogf.org<br>
</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>