Bug 472500 - java annotations in sample code causes problems for <programlisting>
Summary: java annotations in sample code causes problems for <programlisting>
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Content Services Development
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-21 07:12 UTC by Dana Mison
Modified: 2010-11-24 03:57 UTC (History)
2 users (show)

Fixed In Version: 0.39
Clone Of:
Environment:
Last Closed: 2008-11-24 00:02:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Dana Mison 2008-11-21 07:12:30 UTC
Description of problem:
The syntax-highlighting seems to know what annotations in java source code are but doesn't know how to mark them up & leaves <xslthl> tags around them.

Version-Release number of selected component (if applicable):
0.38

How reproducible:
every time

Steps to Reproduce:
1 - specify language="java" for a programlisting containing annotations.  Doesn't matter if it is inline code or included via xi:include 

<programlisting language="java">@Publish(WebserviceContractPublisher.class)
public class SOAPProcessor extends AbstractActionPipelineProcessor 
{
  // ...
}</programlisting>

  
Actual results:
<xslthl:annotation>@Publish(WebserviceContractPublisher.class)</xslthl:annotation>
public class SOAPProcessor extends AbstractActionPipelineProcessor 
{
  // ...
}


Expected results:
@Publish(WebserviceContractPublisher.class)
public class SOAPProcessor extends AbstractActionPipelineProcessor 
{
  // ...
}


Additional info:
log output when building html
Element annotation in namespace 'http://xslthl.sf.net' encountered, but no template matches.

log output when building pdf
xslthl:annotation encountered, but no template matches.

Comment 1 Jeff Fearn 🐞 2008-11-24 00:02:28 UTC
Added handling of xslthl:annotation to PDF and XHTML outputs.

Comment 2 Fedora Update System 2009-01-15 02:57:05 UTC
publican-0.39-0.fc9, publican-fedora-0.16-0.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.