Hi all,

after searching the mailing lists for some time I couldn't get an answer concerning the use of xml entities in xdoc documentation. I constantly get errors that the entity isn't defined in the document.

Say I have in my document the following text:
<td>&nbsp;</td>
Jelly starts giving me error messages.
If I change this to:
<td>&amp;nbsp;</td>
Jelly doesn't give me an error, but generates literally:
<td>&amp;nbsp;</td>
resulting in a table cell with the content: &nbsp; (instead of an empty table cell as one would expect).


Using a maven post goal to change &amp;nbsp; to &nbsp; with an ant:replace also doesn't work because:
<ant:replace dir="target/docs" token="&amp;nbsp;" value="&nbsp;"/>
gives a jelly error on:
Fatal Error [line 10, row 67]: The entity "nbsp" was referenced, but not declared.
org.apache.maven.MavenException: Error parsing plugin script
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:165)
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:479)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:551)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)


What can I do to use &nbsp; (or &euml;, &copy;, etc) in my xdoc documents?

Martijn


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to