Hi there,

two short remarks on <http://codesnippets.services.openoffice.org/snippet.dtd>
  • ATTLIST for ELEMENT "snippet":
    • Starting with OOo 2.0 there are two officially supported scripting languages missing from the valid values for the "language" attribute: "BeanShell" and "_javascript_". Due to the availablity of the scripting framework additional scripting languages are possible, like "ooRexx" (in beta). Also, "XSL" is now listed as a language on the snippet site and would be missing from this DTD.
      As additional scripting languages can be made available for which nutshell examples could be supplied, the values for the "language" attribute should be maintained accordingly. To be able to supply snippets until the language attribute is updated a value of "Other" may be helpful together with maybe a new CDATA attribute "otherLanguage" (or the like) to allow naming the new/unsupported language.
  • ATTLIST for ELEMENT "operating-systems"
    • Same reasoning as with "snippet": there are operating systems with OOo ported to them that are unlisted, e.g. "OS/2" and "eComStation", possibly "AIX" and the like. Hence the attribute "name" should allow for "Other" and possibly add a new CDATA attribute "other-operating-system" to be able to denote the operating system.
      [BTW, shouldn't the ATTLIST denote "operating-systems" (with a trailing "s" to match the element's name for which the attributre list gets defined)?]
Regards,

---rony




Reply via email to