Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-839

Argument error when MessageBundleParser::parse an error xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0, 1.1-BETA1
    • PHP
    • None

    Description

      It seems that "$doc = @simplexml_load_string($xml);" returned false when error on interpreting xml string.
      I think change "public function getMessages(SimpleXMLElement $doc)" to "public function getMessages($doc)" will fix this error.

      Attachments

        1. 20090112.patch
          2 kB
          Pan Jie

        Activity

          People

            chabotc Chris Chabot
            panjie Pan Jie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: