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

Key: JM-991
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Gaston Dombiak
Reporter: LG
Votes: 1
Watchers: 2
Operations

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

Problem with /> />

Created: 03/06/07 04:17 PM   Updated: 03/29/07 02:18 PM
Component/s: Core
Affects Version/s: 3.2.2
Fix Version/s: 3.2.4, 3.3.0 Beta 1

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 03/29/07 02:18 PM
Acceptance Test - Add?: No


 Description  « Hide
I could reproduce this issue with Spark using ad-hoc messages.
<message to="recv@host" id="XRk8p-X">
<body>&lt;item/&gt;&lt;item/&gt;</body>
</message>
works fine while
<message to="lg@jivesoftware.com" id="XRk8p-X">
<body>&lt;item/>&lt;item/></body>
</message>
will disconnect the sender.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Gaston Dombiak - 03/07/07 06:40 PM
That is invalid XML. When sending ad-hoc messages from the debugger window it's up to you to send valid XML stanzas.

M.Kiesel - 03/09/07 05:53 AM
<message to="lg@jivesoftware.com" id="XRk8p-X">
<body> /> /> </body>
</message>

This IS well-formed XML. Any XML validator confirms that. See Remko's comment in http://www.igniterealtime.org/forum/thread.jspa?threadID=24992&tstart=0 .

Contact me as I might try to fix the bug in the meantime, I will give the code to you then.


Matt Tucker - 03/18/07 04:39 PM
It appears we were wrong on this one – the characters are valid XML and we should deal with this case. A patch and test cases have been kindly created by a community member:

http://www.igniterealtime.org/forum/thread.jspa?threadID=25124