diff --git a/xdoc/src/plugin-resources/site.jsl b/xdoc/src/plugin-resources/site.jsl index 61a49c80..e7f96104 100644 --- a/xdoc/src/plugin-resources/site.jsl +++ b/xdoc/src/plugin-resources/site.jsl @@ -976,10 +976,11 @@ - - - - + + + + + diff --git a/xdoc/src/plugin-test/test01/xdocs-replacement/test.xml b/xdoc/src/plugin-test/test01/xdocs-replacement/test.xml index f0b81aea..f3fbe029 100644 --- a/xdoc/src/plugin-test/test01/xdocs-replacement/test.xml +++ b/xdoc/src/plugin-test/test01/xdocs-replacement/test.xml @@ -40,44 +40,44 @@ _module <module> - &_module; + &_module; module - module - &module; + <module> + &module; apache.a Apache - &apache.a; + &apache.a; apache.b <Apache> - &apache.b; + &apache.b; apache.c [Apache] - &apache.c; + &apache.c; apache.d - <a href="http://www.apache.org/">&apache.b;</a> + <a href="http://www.apache.org/"><Apache></a> - &apache.d; + &apache.d; apache.e - &apache.b; - &apache.e; + <Apache> + &apache.e; apache.f - &apache.a; - &apache.f; + Apache + &apache.f; diff --git a/xdoc/xdocs/reference/xdocs.xml b/xdoc/xdocs/reference/xdocs.xml index ad3a6b82..21369f4b 100644 --- a/xdoc/xdocs/reference/xdocs.xml +++ b/xdoc/xdocs/reference/xdocs.xml @@ -134,6 +134,37 @@

+ +

+ Due to a bug in Jelly, it is not possible to use custom entities directly in xdoc documents. + A workaround has been implemented such that you need to embed your entities + in <entity> tags. First you should declare the resource file + for your entities: +

+ + + %my-entities; +]> + +...]]> +

+ where the file entities.ent contains, eg: +

+ ]]> +

+ which can then be used in your xdoc like: +

+ + This information only applies to version &version;. +

]]> +

+ Note that xdoc files using entities in this way + cannot be validated with the xdoc:validate goal + (see below). +

+
+