From 7db65d41386768a5081c34c16db17e82b96a5b7a Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 7 Feb 2013 08:26:39 -0500 Subject: made XInlcude and Encryption support more consistent --- doc/server/xml-common.txt | 99 ++++++++++++++++++++++++++++------------------- 1 file changed, 59 insertions(+), 40 deletions(-) (limited to 'doc') diff --git a/doc/server/xml-common.txt b/doc/server/xml-common.txt index 44205ed42..cdecf9210 100644 --- a/doc/server/xml-common.txt +++ b/doc/server/xml-common.txt @@ -140,58 +140,77 @@ pieces. For instance, in the :ref:`server-plugins-grouping-metadata` To enable XInclude on a file, you need only add the XInclude namespace to the top-level tag. -XInclude can only include whole, well-formed XML files. In many -cases, if a file type does not support XInclude it is because the XML -schema lacks support. +XInclude can only include complete, well-formed XML files. In some +cases, it may not be entirely obvious or intuitive how to structure +such an included file to conform to the schema, although in general +the included files should be structure exactly like the parent file. Feature Matrix ============== -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| File | Group/Client | Genshi | Encryption | XInclude | -+==============================================================+==============+========+============+==========+ -| :ref:`Bundles ` | Yes | Yes | Yes | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`info.xml ` | Yes [#f1]_ | Yes | No | No | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`authorizedkeys.xml, privkey.xml, and pubkey.xml | Yes | Yes | Yes | No | -| ` | | | | | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Decisions ` | Yes | Yes | Yes | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Defaults ` | Yes | Yes | Yes | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`FileProbes ` | Yes | Yes | No | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`GroupPatterns ` | No | No | No | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Metadata clients.xml | No | No | No | Yes | -| ` | | | | | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Metadata clients.xml | Yes [#f2]_ | No | No | Yes | -| ` | | | | | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`NagiosGen ` | Yes | Yes | No | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Pkgmgr ` | Yes | No | No | No | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Properties ` | Yes [#f3]_ | Yes | Yes | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`Rules ` | Yes | Yes | Yes | Yes | -+--------------------------------------------------------------+--------------+--------+------------+----------+ -| :ref:`SSLCA cert.xml and key.xml | Yes | Yes | Yes | No | -| ` | | | | | -+--------------------------------------------------------------+--------------+--------+------------+----------+ ++-------------------------------------------------+--------------+--------+------------+------------+ +| File | Group/Client | Genshi | Encryption | XInclude | ++=================================================+==============+========+============+============+ +| :ref:`Bundler | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`info.xml ` | Yes [#f1]_ | Yes | Yes | Yes | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`privkey.xml and pubkey.xml | Yes | Yes | Yes | Yes [#f2]_ | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`authorizedkeys.xml | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Decisions | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Defaults | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`FileProbes | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`GroupPatterns | No | No | No | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Metadata clients.xml | No | No | No | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Metadata groups.xml | Yes [#f3]_ | No | No | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`NagiosGen | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Packages | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Pkgmgr | Yes | No | No | No | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Properties | Yes [#f4]_ | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`Rules ` | Yes | Yes | Yes | Yes | ++-------------------------------------------------+--------------+--------+------------+------------+ +| :ref:`SSLCA cert.xml and key.xml | Yes | Yes | Yes | Yes | +| ` | | | | | ++-------------------------------------------------+--------------+--------+------------+------------+ .. rubric:: Footnotes .. [#f1] ``info.xml`` also supports conditional Path tags; see :ref:`server-info` for more. -.. [#f2] The semantics of Group tags in ``groups.xml`` is slightly +.. [#f2] XInclude is supported, but the schema has not been modified + to allow including files that are structured exactly like the + parent. You may need to read the schema to understand how to + use XInclude properly. +.. [#f3] The semantics of Group tags in ``groups.xml`` is slightly different; see :ref:`server-plugins-grouping-metadata-groups-xml` for details. -.. [#f3] Group and Client tags in XML Properties are not automatic by +.. [#f4] Group and Client tags in XML Properties are not automatic by default; they can be resolved by use of either the ``Match()`` or ``XMLMatch()`` methods, or by use of the :ref:`server-plugins-connectors-properties-automatch` -- cgit v1.2.3-1-g7c22