[publican-list] [Bug 472500] New: java annotations in sample code causes problems for <programlisting>

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 21 07:12:31 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: java annotations in sample code causes problems for <programlisting>

https://bugzilla.redhat.com/show_bug.cgi?id=472500

           Summary: java annotations in sample code causes problems for
                    <programlisting>
           Product: Red Hat Enterprise Linux 5
           Version: 5.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: publican
        AssignedTo: jfearn at redhat.com
        ReportedBy: dmison at redhat.com
         QAContact: ecs-dev-list at redhat.com
                CC: publican-list at redhat.com
    Classification: Red Hat


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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list