Bug 472500
| Summary: | java annotations in sample code causes problems for <programlisting> | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Dana Mison <dmison> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Content Services Development <ecs-dev-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0 | CC: | mmcallis, publican-list |
| Target Milestone: | --- | Keywords: | Documentation |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.39 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-24 00:02:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Added handling of xslthl:annotation to PDF and XHTML outputs. 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. |
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.