[Bug 30042] New: XmppReader treats nodes containing only whitespace as empty nodes.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 6 14:53:30 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30042

           Summary: XmppReader treats nodes containing only whitespace as
                    empty nodes.
           Product: Wocky
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


WockyXmppReader seems to treat "<foo>    </foo>" as equivalent to "<foo/>".

This seems harmless, but... it breaks sending people messages containing only
whitespace. It's surprising, and I think wrong, that if I send "   " to a
contact who uses Gabble, they don't actually get notified for the message I
sent them.

By contrast, the padding in "<body>  hai  </body>" is included in the node's
content.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list