source: josm/trunk/nodist/dtd/JNLP-6.0-OWS-ext.dtd@ 18448

Last change on this file since 18448 was 18158, checked in by Don-vip, 3 years ago

see #17858 - add custom WebStart DTD with OpenWebStart vendor extension, as it is not (yet?) provided

  • Property svn:mime-type set to application/xml-dtd
File size: 15.8 KB
Line 
1<!--
2
3<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0 with OWS extensions//EN" "https://josm.openstreetmap.de/dtd/JNLP-6.0-OWS-ext.dtd">
4
5-->
6
7<!--
8The root element for the JNLP file.
9-->
10
11<!ELEMENT jnlp (information+, security?, update?, resources*,
12 (application-desc | applet-desc | component-desc | installer-desc))>
13
14<!--
15The spec attribute of the jnlp element specifies what versions of the JNLP
16specification a particular JNLP file works with. The default value is "1.0+".
17-->
18
19<!ATTLIST jnlp spec CDATA #IMPLIED>
20
21<!--
22The version attribute of the jnlp element specifies the version of the
23application being launched, as well as the version of the JNLP file itself.
24-->
25
26<!ATTLIST jnlp version CDATA #IMPLIED>
27
28<!--
29The codebase attribute of the jnlp element specifies the codebase for the
30application. This is also used as the base URL for all relative URLs in
31href attributes.
32-->
33
34<!ATTLIST jnlp codebase CDATA #IMPLIED>
35
36<!--
37The href attribute of the jnlp element contains the location of the JNLP
38file as a URL.
39-->
40
41<!ATTLIST jnlp href CDATA #IMPLIED>
42
43<!--
44The information element contains various descriptive information about the
45application being launched.
46-->
47
48<!ELEMENT information (title, vendor, homepage?, description*, icon*,
49 offline-allowed?, shortcut?, association*, related-content*)>
50
51<!--
52The os attribute of the information element specifies for which operating
53system this element should be considered.
54-->
55
56<!ATTLIST information os CDATA #IMPLIED>
57
58<!--
59The arch attribute of the information element specifies for what architecure
60this element should be considered.
61-->
62
63<!ATTLIST information arch CDATA #IMPLIED>
64
65<!--
66The platform attribute of the information element specifies for what
67platform this element should be considered.
68-->
69
70<!ATTLIST information platform CDATA #IMPLIED>
71
72<!--
73The locale attribute of the information element specifies the locale for
74which this information element should be used.
75-->
76
77<!ATTLIST information locale CDATA #IMPLIED>
78
79<!--
80The title element contains the name of the application.
81-->
82
83<!ELEMENT title (#PCDATA)>
84
85<!--
86The vendor element contains the name of the vendor.
87-->
88
89<!ELEMENT vendor (#PCDATA)>
90
91<!--
92The homepage element contains a href to the homepage for the application.
93-->
94
95<!ELEMENT homepage EMPTY>
96
97<!--
98The href attribute of the homepage element specifies the URL for the homepage.
99-->
100
101<!ATTLIST homepage href CDATA #REQUIRED>
102
103<!--
104The description element contains a description of the application.
105-->
106
107<!ELEMENT description (#PCDATA)>
108
109<!--
110The kind attribute for the description element indicates the use of a
111description element. The values are: i) one-line, for a one-line
112description, ii) short, for a one paragraph description, and iii) tooltip,
113for a tool-tip description. Longer descriptions should be put on a separate
114web page and referred to using the homepage element.
115-->
116
117<!ATTLIST description kind (one-line | short | tooltip) #IMPLIED>
118
119<!--
120The icon element describes an image for an application.
121-->
122
123<!ELEMENT icon EMPTY>
124
125<!--
126The href attribute of an icon contains a URL to a location on the web
127containing an image file for an icon.
128-->
129
130<!ATTLIST icon href CDATA #REQUIRED>
131
132<!--
133The version attribute of an icon contains a string describing the version of
134the image that is requested.
135-->
136
137<!ATTLIST icon version CDATA #IMPLIED>
138
139<!--
140The width attribute of the icon element describes the width of the icon
141in pixels.
142-->
143
144<!ATTLIST icon width CDATA #IMPLIED>
145
146<!--
147The height attribute of the icon element describes the height of the icon
148in pixels.
149-->
150
151<!ATTLIST icon height CDATA #IMPLIED>
152
153<!--
154The kind attribute of the icon element describes the use of the icon.
155-->
156
157<!ATTLIST icon kind CDATA #IMPLIED>
158
159<!--
160The depth attribute of the icon element describes the color depth of the image
161in bits-per-pixel. Common values will be 8, 16, or 24.
162-->
163
164<!ATTLIST icon depth CDATA #IMPLIED>
165
166<!--
167The size attribute of an icon element indicates the size of an icon file
168in bytes.
169-->
170
171<!ATTLIST icon size CDATA #IMPLIED>
172
173<!--
174The offline-allowed element indicates if the application can be launched
175offline. Default value (i.e., if the element is not specified) is online.
176-->
177
178<!ELEMENT offline-allowed EMPTY>
179
180<!--
181The security element describes the security requirements of the application.
182-->
183
184<!ELEMENT security (all-permissions?, j2ee-application-client-permissions?)>
185
186<!--
187The all-permissions element indicates that the application needs full access
188the the local system and network.
189-->
190
191<!ELEMENT all-permissions EMPTY>
192
193<!--
194The j2ee-application-client-permissions element indicates that the application
195needs the set of permissions defined for a J2EE application client.
196-->
197
198<!ELEMENT j2ee-application-client-permissions EMPTY>
199
200<!--
201The update element contains the applications preference for application update.
202-->
203
204<!ELEMENT update EMPTY>
205
206<!--
207The check attribute of the update element indicates the applications
208preference for when to check for updates.
209-->
210
211<!ATTLIST update check (always | timeout | background) "timeout">
212
213<!--
214The policy attribute of the update element indicates the applications
215preference for what to do when updates are available.
216-->
217
218<!ATTLIST update policy (always | prompt-update | prompt-run) "always">
219
220<!--
221The resources element contains an ordered set of resources that
222constitutes an application.
223-->
224
225<!ELEMENT resources (java | j2se | jar | nativelib | extension |
226 property | package)*>
227
228<!--
229The os attribute of the resources element specifies for which operating
230system this element should be considered.
231-->
232
233<!ATTLIST resources os CDATA #IMPLIED>
234
235<!--
236The arch attribute of the resources element specifies for what platform this
237element should be considered.
238-->
239
240<!ATTLIST resources arch CDATA #IMPLIED>
241
242<!--
243The locale attribute of the resources element specifies for which locales
244this element should be considered.
245-->
246
247<!ATTLIST resources locale CDATA #IMPLIED>
248
249<!--
250The java element describes a supported JRE version and an optional resources
251element to be used by the particular JRE.
252-->
253
254<!ELEMENT java (resources*)>
255
256<!--
257The version attribute of the java element describes the versions of the JRE
258that this application is supported on.
259-->
260
261<!ATTLIST java version CDATA #REQUIRED>
262
263<!--
264The href attribute of the java element specifies the location where the JRE
265should be downloaded from.
266-->
267
268<!ATTLIST java href CDATA #IMPLIED>
269
270<!--
271The initial-heap-size attribute of the java element specifies the initial
272size of the object heap.
273-->
274
275<!ATTLIST java initial-heap-size CDATA #IMPLIED>
276
277<!--
278The max-heap-size attribute of the java element specifies the preferred
279maximum size of the object heap.
280-->
281
282<!ATTLIST java max-heap-size CDATA #IMPLIED>
283
284<!--
285The java-vm-args attribute of the java element specifies a preferred set of
286virtual machine arguments to use when launching java.
287-->
288
289<!ATTLIST java java-vm-args CDATA #IMPLIED>
290
291<!--
292OWS extension: The vendor attribute of the java element specifies the vendor that
293should be taken into consideration for selecting the JVM that launches your JNLP application.
294See https://openwebstart.com/docs/OWSGuide.html#_specify_a_specific_vendor_in_the_jnlp_file
295-->
296
297<!ATTLIST java vendor CDATA #IMPLIED>
298
299<!--
300The j2se element describes a supported JRE version and an optional resources
301element to be used by the particular JRE.
302-->
303
304<!ELEMENT j2se (resources*)>
305
306<!--
307The version attribute of the j2se element describes the versions of the JRE
308that this application is supported on.
309-->
310
311<!ATTLIST j2se version CDATA #REQUIRED>
312
313<!--
314The href attribute of the j2se element specifies the location where the JRE
315should be downloaded from.
316-->
317
318<!ATTLIST j2se href CDATA #IMPLIED>
319
320<!--
321The initial-heap-size attribute of the j2se element specifies the initial
322size of the object heap.
323-->
324
325<!ATTLIST j2se initial-heap-size CDATA #IMPLIED>
326
327<!--
328The max-heap-size attribute of the j2se element specifies the preferred
329maximum size of the object heap.
330-->
331
332<!ATTLIST j2se max-heap-size CDATA #IMPLIED>
333
334<!--
335The java-vm-args attribute of the j2se element specifies a preferred set of
336virtual machine arguments to use when launching java.
337-->
338
339<!ATTLIST j2se java-vm-args CDATA #IMPLIED>
340
341<!--
342The jar element describes a jar file resource.
343-->
344
345<!ELEMENT jar EMPTY>
346
347<!--
348The href attribute of the jar element contains the location of a jar file
349as a URL.
350-->
351
352<!ATTLIST jar href CDATA #REQUIRED>
353
354<!--
355The version attribute of a jar element describes the version of a particular
356JAR file that is requested.
357-->
358
359<!ATTLIST jar version CDATA #IMPLIED>
360
361<!--
362The main attribute of a jar element indicates whether this element contains
363the main class.
364-->
365
366<!ATTLIST jar main (true|false) "false">
367
368<!--
369The download attribute of a jar element indicates if this element must be
370downloaded before an application is launched (eager), or not (lazy).
371-->
372
373<!ATTLIST jar download (eager | lazy) "eager">
374
375<!--
376The size attribute of a jar element indicates the size of a JAR file in bytes.
377-->
378
379<!ATTLIST jar size CDATA #IMPLIED>
380
381<!--
382The part attribute of a jar element describes the name of the group it
383belongs too.
384-->
385
386<!ATTLIST jar part CDATA #IMPLIED>
387
388<!--
389The nativelib element describes a resource containing native files.
390-->
391
392<!ELEMENT nativelib EMPTY>
393
394<!--
395The href attribute of a nativelib element contains the location of a
396nativelib file as a URL.
397-->
398
399<!ATTLIST nativelib href CDATA #REQUIRED>
400
401<!--
402The version attribute of a nativelib element describes the version of a
403particular nativelib file that is requested.
404-->
405
406<!ATTLIST nativelib version CDATA #IMPLIED>
407
408<!--
409The download attribute of a nativelib element indicates if this element
410must be downloaded before an application is launched (eager), or not (lazy).
411-->
412
413<!ATTLIST nativelib download (eager | lazy) "eager">
414
415<!--
416The size attribute of a nativelib element indicates the size of a nativelib
417file in bytes.
418-->
419
420<!ATTLIST nativelib size CDATA #IMPLIED>
421
422<!--
423The part attribute of a nativelib element describes the name of the part it
424belongs to.
425-->
426
427<!ATTLIST nativelib part CDATA #IMPLIED>
428
429<!--
430The extension element describes an extension that is required in order to
431run the application.
432-->
433
434<!ELEMENT extension (ext-download*)>
435
436<!--
437The version attribute of an extension element specifies the version of the
438extension requested.
439-->
440
441<!ATTLIST extension version CDATA #IMPLIED>
442
443<!--
444The name attribute of an extension element specifies the name of the extension.
445-->
446
447<!ATTLIST extension name CDATA #IMPLIED>
448
449<!--
450The href attribute of an extension element specifies the location of the
451extension.
452-->
453
454<!ATTLIST extension href CDATA #REQUIRED>
455
456<!--
457The ext-download element defines how parts of the extension are downloaded.
458-->
459
460<!ELEMENT ext-download EMPTY>
461
462<!--
463The ext-part attribute of an ext-download element describes the name of a
464part in the extension.
465-->
466
467<!ATTLIST ext-download ext-part CDATA #REQUIRED>
468
469<!--
470The download attribute of an ext-download element describes if the resource
471may be lazily downloaded.
472-->
473
474<!ATTLIST ext-download download (lazy|eager) "eager">
475
476<!--
477The part attribute of an ext-download element describes the name of the
478part it belongs to in the current JNLP file.
479-->
480
481<!ATTLIST ext-download part CDATA #IMPLIED>
482
483<!--
484The property element describes a name/value pair that is available to the
485launched application as a system property.
486-->
487
488<!ELEMENT property EMPTY>
489
490<!--
491The name attribute of the property element describes the name of a system
492property.
493-->
494
495<!ATTLIST property name CDATA #REQUIRED>
496
497<!--
498The value element describes the value of a system property.
499-->
500
501<!ATTLIST property value CDATA #REQUIRED>
502
503<!--
504The package element defines a relationship between a Java package or
505class name and a part.
506-->
507
508<!ELEMENT package EMPTY>
509
510<!--
511The name attribute of the package element describes the name of a package
512or class.
513-->
514
515<!ATTLIST package name CDATA #REQUIRED>
516
517<!--
518The part attribute of the package element describes the part that contains
519the specified package or class.
520-->
521
522<!ATTLIST package part CDATA #REQUIRED>
523
524<!--
525The recursive attribute of the package element indicates if all sub-packages
526of this particular package is also included.
527-->
528
529<!ATTLIST package recursive (true|false) "false">
530
531<!--
532The application-desc element describes how to launch a Java-based application.
533It contains information about the main class and arguments.
534-->
535
536<!ELEMENT application-desc (argument*)>
537
538<!--
539The main-class attribute of the application-desc element describes the
540main class of an application.
541-->
542
543<!ATTLIST application-desc main-class CDATA #IMPLIED>
544
545<!--
546The argument elements describe the ordered set of arguments to an application.
547These arguments will be passed into the main method of the application's
548main class.
549-->
550
551<!ELEMENT argument (#PCDATA)>
552
553<!--
554The applet-desc element describes how to launch a Java Technology-based Applet. It contains information about, e.g., the main class, size, and parameters.
555-->
556
557<!ELEMENT applet-desc (param*)>
558
559<!--
560The documentbase attribute of the applet-desc element describes the
561documentbase for the applet as a URL.
562-->
563
564<!ATTLIST applet-desc documentbase CDATA #IMPLIED>
565
566<!--
567The main-class attribute of the applet-desc element describes the name of the
568main Applet class.
569
570-->
571
572<!ATTLIST applet-desc main-class CDATA #REQUIRED>
573
574<!--
575The name attribute of the applet-desc element describes the name of the Applet.
576-->
577
578<!ATTLIST applet-desc name CDATA #REQUIRED>
579
580<!--
581The width attribute of the applet-desc element describes the width of the
582Applet in pixels.
583-->
584
585<!ATTLIST applet-desc width CDATA #REQUIRED>
586
587<!--
588The height attribute of the applet-desc element describes the height of the
589Applet in pixels.
590-->
591
592<!ATTLIST applet-desc height CDATA #REQUIRED>
593
594<!--
595The param element describes a parameter to an Applet.
596-->
597
598<!ELEMENT param EMPTY>
599
600<!--
601The name attribute of the param element describes the name of a parameter.
602-->
603
604<!ATTLIST param name CDATA #REQUIRED>
605
606<!--
607The value attribute of the param element describes the value of a parameter.
608
609-->
610
611<!ATTLIST param value CDATA #REQUIRED>
612
613<!--
614The component-desc element specifies a component extension.
615-->
616
617<!ELEMENT component-desc EMPTY>
618
619<!--
620The installer-desc element specifies an installer extension.
621-->
622
623<!ELEMENT installer-desc EMPTY>
624
625<!--
626The main-class attribute of the installer-desc element describes the
627main class for the installer/uninstaller.
628-->
629
630<!ATTLIST installer-desc main-class CDATA #IMPLIED>
631
632<!--
633The shortcut element describes an application's preferences for desktop
634integration.
635-->
636
637<!ELEMENT shortcut (desktop?, menu?)>
638
639<!--
640The online attribute of the shortcut element describes an application's
641preferences launching shortcuts online or offline
642-->
643
644<!ATTLIST shortcut online (true | false) "true">
645
646<!--
647The desktop element indicates that a shortcut on the desktop is desired.
648-->
649
650<!ELEMENT desktop EMPTY>
651
652<!--
653The menu element indicates that a shortcut in a menu is desired.
654-->
655
656<!ELEMENT menu EMPTY>
657
658<!--
659The submenu attribute of the menu element indicates where in the menu a
660shortcut is desired.
661-->
662
663<!ATTLIST menu submenu CDATA #IMPLIED>
664
665<!--
666The association element describes an application's preferences for desktop
667associations.
668-->
669
670<!ELEMENT association (description?, icon?)>
671
672<!--
673The extensions attribute of the association element indicates a list of
674extensions to associate.
675-->
676
677<!ATTLIST association extensions CDATA #REQUIRED>
678
679<!--
680The mime-type attribute of the association element indicates a mime-types
681to associate.
682-->
683
684<!ATTLIST association mime-type CDATA #REQUIRED>
685
686<!--
687The related-content element described additional content that may be
688integrated with the application.
689-->
690
691<!ELEMENT related-content (title?, description?, icon?)>
692
693<!--
694The href attribute of the related-content element contains a URL to a
695location on the web containing additional related content for the application.
696-->
697
698<!ATTLIST related-content href CDATA #REQUIRED>
699
700
701
Note: See TracBrowser for help on using the repository browser.