OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xmile message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: model url / event poster


Hi,

I'm working through some more details this weekend on the model schema.  More questions.

(1) <model url="">

In <model> I see you can use a URL for model contents.  

I note that the include tag provides the same capability (ability to include models from an external model) and it's more specific (includes the ability to version, etc)..     I propose we drop the "url" attribute from model and instead encourage use of <include>.

The spec reads:

Optional reference to a separate model file for the model contents:  url="" with a URL path. Since the <module> tag can also specify the model file URL, this is only needed for models that do not use modules. However, when the same module is shared in multiple parts of the file, it is better to create one URL reference in a model block, rather than specifying it in the module block.

Comments?

(2) <event_poster>

There is not a complete example for event_poster in the spec.  Is this how it works?  

<event_poster min="0" max="1000000">
  <threshold value="1000" direction="decreasing" repeat="each">
    <event sim_action="message">Your profit is dropping</event>
  </threshold>
  <threshold value="100" direction="decreasing" repeat="once">
    <event sim_action="stop">You are fired!</event>
  </threshold>
</event_poster>


Cheers, WILL
--
William Glass-Husain   /forio  |  +1 (415) 440 7500 x89  |  forio.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]