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

Argument error when MessageBundleParser::parse an error xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0, 1.1-BETA1
    • Component/s: PHP
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: