In my xml file of Spring MVC application for using tiles, I have written the following -
<definition name="dashboard" extends="base.definition">
<put-attribute name="title" value="Dashboard - CMS ♦ ® Galactic NetOne" />
<put-attribute name="body" value="/WEB-INF/views/dashboard.jsp" />
</definition>
However, ♦ and ®
give the error that they are referenced but not declared. Please help.
You either need to declare those entities, or replace them with a hex or decimal equivalent. I'm assuming what the characters are supposed to be for diams
and reg
; you may need to change them.
Example of declaring the entities:
<!DOCTYPE definition [
<!ENTITY reg "®">
<!ENTITY diams "♦">
]>
<definition name="dashboard" extends="base.definition">
<put-attribute name="title" value="Dashboard - CMS ♦ ® Galactic NetOne" />
<put-attribute name="body" value="/WEB-INF/views/dashboard.jsp" />
</definition>
Example of replacing the entities:
<definition name="dashboard" extends="base.definition">
<put-attribute name="title" value="Dashboard - CMS ♦ ® Galactic NetOne" />
<put-attribute name="body" value="/WEB-INF/views/dashboard.jsp" />
</definition>
You can use the XHTML DTDs as a reference for entities: http://www.w3.org/TR/xhtml1/dtds.html#h-A2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With