Browse Source

fix minor problems in Marshal

master
Philipp Balzarek 12 years ago
parent
commit
faacff422e
  1. 6
      source/Network/Xmpp/Marshal.hs

6
source/Network/Xmpp/Marshal.hs

@ -1,6 +1,6 @@
-- Picklers and unpicklers convert Haskell data to XML and XML to Haskell data, -- Picklers and unpicklers convert Haskell data to XML and XML to Haskell data,
-- respectively. By convensions, pickler/unpickler ("PU") function names start -- respectively. By convention, pickler/unpickler ("PU") function names start
-- out with "xp". -- with "xp".
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE ViewPatterns #-}
@ -137,7 +137,7 @@ xpStanzaError = ("xpStanzaError" , "") <?+> xpWrap
xpErrorCondition xpErrorCondition
(xpOption $ xpElem "{jabber:client}text" (xpOption $ xpElem "{jabber:client}text"
(xpAttrImplied xmlLang xpLang) (xpAttrImplied xmlLang xpLang)
(xpContent xpId) (xpContent xpText)
) )
(xpOption xpElemVerbatim) (xpOption xpElemVerbatim)
) )

Loading…
Cancel
Save