Filter XML module
Filter stream extension to read and write any filter event as XML |
Type | JAR |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Bundled With | XWiki Standard |
Table of contents
Description
This module introduce a generic XML based syntax to write (and read) and filter event as XML. The first need was unit test for other syntaxes but it can be used internally as a serialization format for filter events.
The syntax identifier is filter+xml. It does not contain any version because its structure is not meant to be stable over time which mean it should be written and read with the same version of the module.
Here is an example:
<wiki name="wiki">
<wikiSpace name="space">
<wikiDocument name="page">
<wikiDocumentLocale>
<wikiDocumentRevision>
<wikiObject name="wiki:space.page[0]">
<wikiClass>
<wikiClassProperty name="prop1" type="com.xpn.xwiki.objects.classes.NumberClass">
<wikiClassPropertyField name="disabled" value="0"></wikiClassPropertyField>
<wikiClassPropertyField name="name" value="prop1"></wikiClassPropertyField>
<wikiClassPropertyField name="number" value="1"></wikiClassPropertyField>
<wikiClassPropertyField name="numberType" value="long"></wikiClassPropertyField>
<wikiClassPropertyField name="prettyName" value="Prop1"></wikiClassPropertyField>
<wikiClassPropertyField name="size" value="30"></wikiClassPropertyField>
<wikiClassPropertyField name="unmodifiable" value="0"></wikiClassPropertyField>
</wikiClassProperty>
</wikiClass>
<wikiObjectProperty name="prop1" value="1"/>
<wikiObjectProperty name="unexisting" value="value"/>
</wikiObject>
</wikiDocumentRevision>
</wikiDocumentLocale>
</wikiDocument>
</wikiSpace>
</wiki>
</farm>
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
Dependencies
Dependencies for this extension (org.xwiki.commons:xwiki-commons-filter-stream-xml 16.8.0):
- org.xwiki.commons:xwiki-commons-filter-xml 16.8.0