Bug 1233800

Summary: [QE] Syntax highlighting in samples
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Hynek Mlnarik <hmlnarik>
Component: DocumentationAssignee: Zach Rhoads <zrhoads>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Tymel <jtymel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: athornto, eap-docs, msvehla, pslavice, sgilda, smumford
Target Milestone: post-GA   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://access.stage.redhat.com/beta/documentation/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-20 13:01:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1233489, 1233490, 1233491, 1233492, 1233494    

Comment 8 Martin Svehla 2015-09-30 10:45:36 UTC
Hey,

There are still several issues that needs fixing

First, books
- Security Architecture (revision n_1621063_security-architecture_version_6.4_edition_1.0_release_0-revision_7256631)
- Login Module Reference (n_1625523_login-module-reference_version_6.4_edition_1.0_release_0-revision_7256591)
- How to Configure Server Security (n_1624093_how-to-configure-server-security_version_6.4_edition_1.0_release_0-revision_7256611)
are ok.


In book How to Configure Identity Management (revision n_1623523_how-to-configure-identity-management_version_6.4_edition_1.0_release_0-revision_7256621):
- There's an issue where the highlighting gets broken if there's ellipsis inside the XML element (all XML snippets in chapter 3.3.2. Combining LDAP and RBAC for Authorization)


In book How to Setup SSO with SAMLv2  (revision n_1625073_how-to-setup-sso-with-saml-v2_version_6.4_edition_1.0_release_0-revision_7256601):
- Example logout.jsp (in 2.2.5.1. Global Logout Profile) is missing highlighting, while other .jsp examples have it.
- (Suggestion) If possible please add highlighting to LDIF example too (in 2.4.1.2. Configuring the Identity Store for the Ldap Login Module)


In book How to Setup SSO with Kerberos (revision n_1624663_how-to-setup-sso-with-kerberos_version_6.4_edition_1.0_release_0-revision_7256641):
- In 2.1.4.2.2 snippet Resulting XML - Some lines are indented by 1 space, some by 2, comment lines are misaligned.
- In 2.1.5.1.1 snippet web.xml example - Some line indented by 1 space, some by 2. Elements <web-resource-name> and <url-pattern> are not aligned properly.
- In 2.1.5.2.2 snippet An example jboss-web.xml file - Closing </valve> and <jacc-star-role-allow> elements are misaligned.
- In 3.1.4.4 snippet Example updated web.xml file - <web-resource-name> and <url-pattern> are misaligned.

Comment 10 Martin Svehla 2015-10-01 13:48:19 UTC
Verified with following build IDs:

n_1623523_how-to-configure-identity-management_version_6.4_edition_1.0_release_0-revision_7260641
n_1625073_how-to-setup-sso-with-saml-v2_version_6.4_edition_1.0_release_0-revision_7260651
n_1624663_how-to-setup-sso-with-kerberos_version_6.4_edition_1.0_release_0-revision_7260661

Thanks for the quick fixes Zach!