[
https://issues.apache.org/jira/browse/SHINDIG-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pan Jie updated SHINDIG-839:
----------------------------
Attachment: 20090112.patch
I changed "public function getMessages(SimpleXMLElement $doc)" to "public
function getMessages($doc)" to fix this error.
Also I added an unittest to reproduce this exception.
> Argument error when MessageBundleParser::parse an error xml
> -----------------------------------------------------------
>
> Key: SHINDIG-839
> URL: https://issues.apache.org/jira/browse/SHINDIG-839
> Project: Shindig
> Issue Type: Bug
> Components: Gadget Rendering Server (PHP)
> Reporter: Pan Jie
> Priority: Minor
> Attachments: 20090112.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.