<div dir="ltr"><div dir="ltr"><div><a href="https://github.com/ddialliance/DDI-TC-162-Discussion">https://github.com/ddialliance/DDI-TC-162-Discussion</a></div><div><b><br></b></div><div><b>XML style in DDI (cross-version)</b><br></div><div><b><br></b></div><div><b>GOAL:</b><br>The goal is to have a standard set of style rules for XML schema to be used across versions when possible. Exceptions could still be made but should be documented as a variance from the general rules.</div><div><b><br></b></div><div><b>BACKGROUND:</b><br>As we move from hand-crafted to automated production of XML schema we have the opportunity to address issues regarding the style and production rules of the XML used in DDI XML schemas. The issue was originally raised in the context of DDI4 and the need to have clear rules to support the generation of output in multiple bindings. In addition, the rules we currently work under reflect decisions made when we were generally handcrafting XML instances using XML or text editors rather than DDI specific tools. A number of decisions were made to facilitate the ease of creation by reducing entry content (use of attributes rather than elements in many cases).</div><div><br></div><div>Clear rules for the generation of XML schemas from the COGS storage and UML are the minimum. Tools that can handle multiple encodings of the model (e.g. XML and RDF) should not have to have special cases rules built in (like the &quot;foo&quot; property is always an attribute).</div><div>A secondary consideration is whether parsing is simpler if just elements (a parser doesn&#39;t have to deal with both elements and attributes.)</div><div><br></div><div><b>SPECIFIC ISSUES:</b><br>Should attributes and elements be used or just elements?</div><ul><li>If both are used what is the appropriate balance between their use?</li><li>Is verbosity a valid reason for the attributes?</li><li>If attributes are used how should they be limited?</li><ul><li>use of xml:lang attribute<br></li></ul><li>Backwards compatibility issues: </li><ul><li>CodeValue/ExternalContolledVocabularyEntry</li><li>International String or Structured International String</li><li>Attributes associated with identification<br clear="all"><br>-- <br></li></ul></ul><div class="gmail_signature" dir="ltr">Wendy L. Thomas                              Phone: +1 612.624.4389</div><div class="gmail_signature" dir="ltr">Data Access Core Director                 Fax:   +1 612.626.8375</div><div class="gmail_signature" dir="ltr">Minnesota Population Center             Email: <a href="mailto:wlt@umn.edu" target="_blank">wlt@umn.edu</a></div><div class="gmail_signature" dir="ltr">University of Minnesota</div><div class="gmail_signature" dir="ltr">50 Willey Hall</div><div class="gmail_signature" dir="ltr">225 19th Avenue South</div><div class="gmail_signature" dir="ltr">Minneapolis, MN 55455</div></div></div>