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


Help: OASIS Mailing Lists Help | MarkMail Help

office message

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

Subject: Re: [office] Proposal: document event listeners


while integrating this proposal into the specification document, I've 
noticed that the <script:script> element is included in a <oneOrMore>. 
Obviously, this now has to be <zeroOrMore>. I will change this is the 


Michael Brauer wrote:
> Hi all,
> Some time ago, I've proposed to replace the <office:script> element with 
> a new <office:scripts> element, see
> http://lists.oasis-open.org/archives/office/200311/msg00007.html
> We agreed to this proposal with a few modifications. I now noticed that 
> the former <office:script> element did not only contain script code 
> (that's what I have assumed in my proposal), but also event (listener) 
> specifications for document related events like "on-load" or "on-close".
> That is, the former <office:script> element did not only contain 
> elements for script code, but optionally could also contain a 
> <office:events> element, for event (listener) specifications. The new 
> <office:scripts> element can only contain elements for script code, but 
> no event specifications. So there is no place existing for document 
> related event listerners now.
> To solve this issue, I suggest to add the <office:event-listners> 
> element as an option child to the <office:scripts> element. The 
> <office:scripts> element then looks like this:
> <define name="office-scripts">
>     <optional>
>         <element name="office:scripts">
>             <oneOrMore>
>                 <ref name="office-script"/>
>             </oneOrMore>
>             <optional>
>                 <ref name="office-event-listeners"/>
>             </optional>
>         </element>
>     </optional>
> </define>
> Best regards
> Michael
> To unsubscribe from this mailing list (and be removed from the roster of 
> the OASIS TC), go to 
> http://www.oasis-open.org/apps/org/workgroup/office/members/leave_workgroup.php. 

Michael Brauer                                Phone:  +49 40 23646 500
Technical Architect Software Engineering      Fax:    +49 40 23646 550
StarOffice Development
Sun Microsystems GmbH
Sachsenfeld 4
D-20097 Hamburg, Germany                e-mail: michael.brauer@sun.com

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