Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Include Page
FELIX:apache-felix-ipojo-headerFELIX:
apache-felix-ipojo-header

Wiki Markup
{html
}
<div class="content">
{html}

Using XML Schemas

iPOJO provides XML schemas to check iPOJO descriptors (i.e. metadata.xml). Several schemas are provided in order to describe the core syntax, compositions and external handlers.

Wiki Markup
{center}
|| Schema || URL || 
| iPOJO Core | [http://felix.apache.org/ipojo/schemas/CURRENT/core.xsd] |
| iPOJO Composite | [http://felix.apache.org/ipojo/schemas/CURRENT/composite.xsd] |
| Temporal Dependency Handler | [http://felix.apache.org/ipojo/schemas/CURRENT/temporal.xsd] |
| Whiteboard pattern handler | [http://felix.apache.org/ipojo/schemas/CURRENT/whiteboard-pattern.xsd] |
| Extender pattern handler | [http://felix.apache.org/ipojo/schemas/CURRENT/extender-pattern.xsd] |
| Event Admin handlers | [http://felix.apache.org/ipojo/schemas/CURRENT/event-admin.xsd] |
| JMX handler | [http://felix.apache.org/ipojo/schemas/CURRENT/jmx.xsd] |
{center}

Note: the schemas are also provided inside implicated bundles.
Note: to use the 'dev' schemas, replace CURRENT by SNAPSHOT in the URL.
To use those schemas you have to declares those schemas in your metadata.xml file such as in the next snippet using the iPOJO core XML-schema:

...

The manipulator embeds the iPOJO XML Schemas to avoid using a network connection to download them during the validation process. Keep the same url, the manipulator will just resolve the URL differently to use embedded schemas. You can also skipped this shortcut thanks the the ignoreEmbeddedSchemas parameter (refer to the ant task guide and to the maven plugin guide for further information about configuration).

Include Page
FELIX:apache-felix-ipojo-footerFELIX:
apache-felix-ipojo-footer