You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/28 22:02:11 UTC
[jira] Created: (MPXDOC-100) XML entities do not render out
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Open
Priority: Major
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: Wed, 28 Apr 2004 4:01 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org