Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Fri, 7 May 2004 7:09 PM
duplicate of MPXDOC-17
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-100
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPXDOC-100
Summary: XML entities do not render out
Type: Bug
Status: Closed
Priority: Major
Resolution: DUPLICATE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-xdoc-plugin
Assignee: Jason van Zyl
Reporter: Howard M. Lewis Ship
Created: Wed, 28 Apr 2004 4:01 PM
Updated: Fri, 7 May 2004 7:09 PM
Environment: Maven 1.0 rc2, Win XP, JDK 1.4
Description:
I've reported this before ... still broken, months later.
I have a lot of common links stored in an external entity, i.e.:
<!DOCTYPE document [
<!ENTITY % common-links SYSTEM "../common/links.xml">
%common-links;
]>
<document>
links.xml contains a bunch of stuff like this:
<!ENTITY _module '<code>module</code>'>
<!ENTITY module '<a href="&projectroot;descriptor.html#module">&_module;</a>'>
<!ENTITY _implementation 'implementation'>
<!ENTITY implementation '<a
href="&projectroot;descriptor.html#implementation">&_implementation;</a>'>
My source .xml file looks like:
The root element of the descriptor is the &module; element.
But renders out like:
The root element of the descriptor is the <A
href="descriptor.html#module"></A>element.
I've tried a number of things such as removing the <code> and </code> from &_module;
or changing the &_module; reference itself to just module. Same result.
However,
<!ENTITY module '<a href="&projectroot;descriptor.html#module"><module></a>'>
renders as:
The root element of the descriptor is the <A
href="descriptor.html#module"><module></A> element.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]