Bug 739466

Summary:   (possibly all global entities) breaks topics
Product: [Community] PressGang CCMS Reporter: Misha H. Ali <mhusnain>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact: Misha H. Ali <mhusnain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, sgordon, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 825005 (view as bug list) Environment:
Last Closed: 2011-10-18 09:01:15 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:
Bug Depends On:    
Bug Blocks: 825005    

Description Misha H. Ali 2011-09-19 07:23:01 UTC
Description of problem:

Using the &nbsp; entity to indicate a non breaking space, as follows:

Red Hat Enterprise Linux&nbsp;6 (this allows no breaks between the name of the product and the version number)

The above usage causes a topic failed XML validation error (Example error below):

Topic 5158 failed xml validation.

Note: A topic which had &nbsp; removed is still breaking. This may be due to other global entities (&lt; and &gt; are used in this topic) but it may be due to some other factor therefore the global entities is still not completely tested.

How reproducible:

100%

Steps to Reproduce:
1. Create a topic.
2. Enter a product name then &nbsp; and product version between para tags.
3. Brew.
  
Actual results:

Topic xxxx failed xml validation. 

Expected results:

Successful brew to stage.

Comment 1 Stephen Gordon 2011-09-21 22:14:39 UTC
This issue also affects the CLI tool, as seen in Bug # 734986.

Comment 2 Matthew Casperson 2011-10-11 00:41:17 UTC
Fixed in 20111011-1034

See http://sourceforge.net/p/commonclasses/code/14/tree/trunk/src/com/redhat/ecs/commonutils/XMLUtilities.java convertStringToDocument() for details.