|
|
![]() |
|
|||||
|
|||||||
|
|
|||||||
Proposal for Multiple <interface> and <peers> ElementsSend comments to
Eric Shell (eric@g3.com) MotivationThe Document Type Definition (DTD) Appendix A of UIML2.0a specification (in www.uiml.org/specs/docs/uiml20-17Jan00.pdf) permits a document to have multiple <structure> elements. The utility of permitting multiple <structure> elements is that several alternatives can be provided in one UIML document, for example for several families of devices requiring different layouts of user interface components. The language semantics require that one of the <structure> elements are chosen when the UIML document is rendererd.Similarly, the DTD permits a UIML document to have multiple <style>, <behavior>, and <content> elements. However, the DTD permits
a UIML document to contain at most one <interface> and <peers>
element. This restriction appears unnecessary. For example, multiple Also, using a value of "append" for the how attribute when dealing with sources can be confusing. For example it doesn't make sense to have an element source a file using how="append" and where="first". So a more meaningful and accurate word to use would be "union". ProposalChange the UIML DTD in the following way. Changes have been highlighted in yellow.
<!ELEMENT uiml (head?, template*, interface*, peers*)>
Also, everywhere there
is a how attribute, change the "append" value to "union".
© 1999-2001 UIML.org (all rights reserved) |