The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Wed, 8 Dec 2004 1:45 PM
       Body:
ok for me, but it must be documented.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPXDOC-118?page=comments#action_27655

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPXDOC-118

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-118
    Summary: [PATCH] Allow xdoc templates to escape XML
       Type: Improvement

     Status: Open
   Priority: Trivial

 Original Estimate: 10 minutes
 Time Spent: Unknown
  Remaining: 10 minutes

    Project: maven-xdoc-plugin
   Versions:
             1.9

   Assignee: Arnaud HERITIER
   Reporter: Felipe Leme

    Created: Tue, 3 Aug 2004 11:31 PM
    Updated: Wed, 8 Dec 2004 1:45 PM

Description:
It would be very useful if site.jsl offered a tag we could use to escape XML 
text. This is particularly useful when you need to include the contents of 
another XML file into your xdoc, as described below:

1.The way it is now, the code included inside the <source> tags won't be 
escaped and hence won't be rendered (as the browser will ignore the unknown XML 
tags)
<source>
&xmlBeingIncluded;
</source>

2.With the patch I'm including, we would use:
<source>
<escapeXml>
&xmlBeingIncluded;
</escapeXml>
</source>

Besides the patch, I'm providing a simple test case ilustrating the issue.




in the test case provided with the patch.



---------------------------------------------------------------------
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]

Reply via email to