Skip to content

Fix comment syntax in xml examples #25537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/docs/asciidoc/core/core-appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ The following example shows a path being used against another bean, by name:

[source,xml,indent=0,subs="verbatim,quotes"]
----
// target bean to be referenced by name
<!-- target bean to be referenced by name -->
<bean id="person" class="org.springframework.beans.TestBean" scope="prototype">
<property name="age" value="10"/>
<property name="spouse">
Expand All @@ -252,7 +252,7 @@ The following example shows a path being used against another bean, by name:
</property>
</bean>

// results in 11, which is the value of property 'spouse.age' of bean 'person'
<!-- results in 11, which is the value of property 'spouse.age' of bean 'person' -->
<bean id="theAge"
class="org.springframework.beans.factory.config.PropertyPathFactoryBean">
<property name="targetBeanName" value="person"/>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/languages/dynamic-languages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ The following bean definition uses the calculator defined in Groovy:
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
<-- from the file 'beans.xml' -->
<!-- from the file 'beans.xml' -->
<beans>
<lang:groovy id="calculator" script-source="classpath:calculator.groovy"/>
</beans>
Expand Down