Remove <emphasis> to work around DocBook bug
It was determined (through painful trial and error) that after the upgrade to DocBook 5 and the gradle-docbook-reference plugin, that <emphasis> elements embedded within <programlisting> elements causes NullPointerExceptions during processing. This change eliminates these <emphasis> elements to work around the problem. This means a slight degradation in presentation for the affected areas of the reference documentation. After some research, it is not clear what other workarounds may be possible that leave the text actually emphasized.
This commit is contained in:
@@ -2572,7 +2572,8 @@ public @interface Idempotent {
|
||||
the value of the <literal>proxy-target-class</literal> attribute of the
|
||||
<literal><aop:config></literal> element to true:</para>
|
||||
|
||||
<programlisting language="xml"><aop:config <emphasis role="bold">proxy-target-class="true"</emphasis>>
|
||||
<!-- removed <emphasis> below to solve NPE problem -->
|
||||
<programlisting language="xml"><aop:config proxy-target-class="true">
|
||||
<lineannotation><!-- other beans defined here... --></lineannotation>
|
||||
</aop:config></programlisting>
|
||||
|
||||
@@ -2581,7 +2582,8 @@ public @interface Idempotent {
|
||||
<literal><aop:aspectj-autoproxy></literal> element to
|
||||
<literal>true</literal>:</para>
|
||||
|
||||
<programlisting language="xml"><aop:aspectj-autoproxy <emphasis role="bold">proxy-target-class="true"</emphasis>/></programlisting>
|
||||
<!-- removed <emphasis> below to solve NPE problem -->
|
||||
<programlisting language="xml"><aop:aspectj-autoproxy proxy-target-class="true"/></programlisting>
|
||||
|
||||
<note>
|
||||
<para>Multiple <literal><aop:config/></literal> sections are
|
||||
@@ -3596,6 +3598,7 @@ http://www.springframework.org/schema/context
|
||||
<literal><context:load-time-weaver/></literal> element. Find
|
||||
below an example of doing just that:</para>
|
||||
|
||||
<!-- removed <emphasis> below to solve NPE problem -->
|
||||
<programlisting language="xml"><?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
@@ -3607,7 +3610,7 @@ http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
||||
|
||||
<context:load-time-weaver
|
||||
<emphasis role="bold">weaver-class="org.springframework.instrument.classloading.ReflectiveLoadTimeWeaver"</emphasis>/>
|
||||
weaver-class="org.springframework.instrument.classloading.ReflectiveLoadTimeWeaver"/>
|
||||
|
||||
</beans></programlisting>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user