jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x XDoc Plugin
  • MPXDOC-100

XML entities do not render out

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None
  • 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.

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1244 plugin issues to fix for RC3

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 07/May/04 7:09 PM

duplicate of MPXDOC-17

Show
Brett Porter added a comment - 07/May/04 7:09 PM duplicate of MPXDOC-17

People

  • Assignee:
    Jason van Zyl
    Reporter:
    Howard M. Lewis Ship
Vote (0)
Watch (0)

Dates

  • Created:
    28/Apr/04 4:01 PM
    Updated:
    07/May/04 7:09 PM
    Resolved:
    07/May/04 7:09 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.