Changes for page XAR Format Specifications
Last modified by Thomas Mortagne on 2023/04/11 13:05
From version 34.1
edited by Thomas Mortagne
on 2018/04/18 18:18
on 2018/04/18 18:18
Change comment:
There is no comment for this version
To version 36.1
edited by Thomas Mortagne
on 2018/04/18 18:22
on 2018/04/18 18:22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,12 +33,12 @@ 33 33 * ##backupPack##: if true it means that the XAR is a backup pack. It's up to the import to decide whether to import it as a backup pack or not but this provides the information that it is a backup pack. 34 34 * ##files## 35 35 ** ##language##: the language of the page. The default page content should use an empty string. 36 -** ##type##: the type of the document, it's possible to set any type since extensions can contribute new type. The standard types are the following: 36 +** ##type## {{info}}since [[1.1>>||anchor="H1.1"]]{{/info}}: the type of the document, it's possible to set any type since extensions can contribute new type. The standard types are the following: 37 37 *** ##default##: used to force the default. Edit and delete and not allowed and a 3 ways merge is applied to the document during upgrades. 38 38 *** ##configuration##: a document containing configuration. Edit is allowed and the document is never upraded. 39 39 *** ##home##: a wiki home page. Edit is allowed and the document is upgraded only if it's not customized. 40 40 *** ##demo##: a document which purpose is to provide demo data. Edit and delete are allowed and the document is upgrade only if it's not customized. 41 -** ##defaultAction## ({{warning}}deprecated{{/warning}}): when applied (which is not very often) this is the default action to apply on the document41 +** ##defaultAction## {{warning}}deprecated{{/warning}}: when applied (which is not very often) this is the default action to apply on the document 42 42 *** ##-1##: undefined, its exact interpretation depends on what is reading it 43 43 *** ##0##: overwrite, whatever is in the database should be overwritten. This is what Maven XAR plugin set by default when generating the XAR. 44 44 *** ##1##: skip, skip this document ... ... @@ -177,12 +177,12 @@ 177 177 {{/code}} 178 178 179 179 * ##xwikidoc##: the root XML element 180 -** //version// :{{warning}}since 1.1(XWiki 5.2){{/warning}} the version of the XML format, if no specified then it's ##1.0##181 -** //reference// :{{warning}}since 1.2(XWiki 7.2){{/warning}} the reference of the document182 -** //locale// :{{warning}}since 1.2(XWiki 7.2){{/warning}} the locale (as defined in [[Java Locale specifications>>http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html]]) of the document183 -** ##web##: {{warning}}deprecated since 1.2 (XWiki 7.2){{/warning}} property containing the unique space of the document, not taken into account when //reference// attribute is set in ##xwikidoc##184 -** ##name##: {{warning}}deprecated since 1.2 (XWiki 7.2){{/warning}} the name of the document, not taken into account when //reference// attribute is set in ##xwikidoc##185 -** ##language##: {{warning}}deprecated since 1.2 (XWiki 7.2){{/warning}} the locale (as defined in [[Java Locale specifications>>http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html]]) of the document, not taken into account when //reference// attribute is set in ##xwikidoc##180 +** //version// {{info}}since [[1.1>>||anchor="H1.1-1"]]{{/info}}: the version of the XML format, if no specified then it's ##1.0## 181 +** //reference// {{info}}since [[1.2>>||anchor="H1.2"]]{{/info}}: the reference of the document 182 +** //locale// {{info}}since [[1.2>>||anchor="H1.2"]]{{/info}}: the locale (as defined in [[Java Locale specifications>>http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html]]) of the document 183 +** ##web##: {{warning}}deprecated since [[1.2>>||anchor="H1.2"]]{{/warning}} property containing the unique space of the document, not taken into account when //reference// attribute is set in ##xwikidoc## 184 +** ##name##: {{warning}}deprecated since [[1.2>>||anchor="H1.2"]]{{/warning}} the name of the document, not taken into account when //reference// attribute is set in ##xwikidoc## 185 +** ##language##: {{warning}}deprecated since [[1.2>>||anchor="H1.2"]]{{/warning}} the locale (as defined in [[Java Locale specifications>>http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html]]) of the document, not taken into account when //reference// attribute is set in ##xwikidoc## 186 186 187 187 * ##attachment## 188 188 ** //filename//: the name of the file