History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SMACK-93
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Wenckus
Reporter: Matt Tucker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Smack

XHTML provider doesn't handle some tags correctly

Created: 10/16/05 12:56 PM   Updated: 07/10/06 01:15 PM
Component/s: Extensions
Affects Version/s: 2.0.0
Fix Version/s: 3.0.0 Beta 1

Time Tracking:
Not Specified

Resolution Date: 07/10/06 01:15 PM


 Description  « Hide
Tags such as <br/> aren't handled correctly by the XHTML parser.

John suggests the following:

--------------
I did something like this on line 70 to fix:

String text = parser.getText();
// For simple tags like <BR/> we get START_TAG and END_TAG.
// Ignore END_TAG (otherwise it doubles the output).
if (!text.endsWith("/>")) {
buffer.append(text);
}
--------------



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.