Tom wrote:
> Hi guys!
>
> The following code produces malformed XML output:
>
> $type = $sdo->getTypeName();
> $xdoc = $this->xml_das->createDocument('', $type, $sdo);
> $xmlstr = $this->xml_das->saveString($xdoc);
>
> Try looking at this document that was produced this way:
> http://codestar.se/malformedxml.xml
>
> The problem seems to be that characters like & are not escaped during
> XML creation.
>
> How can I fix this? Seems like the SDO_DAS_XML class is not part of
> the installed PHP SCA SDO package?
Hi Tom,
The SDO_DAS_XML is part of the SDO extension. You'll need to dig into
the C source if you want to work with it - look in CVS for this
(http://cvs.php.net/viewvc.cgi/pecl/sdo/).
I agree that it's wrong for SDO to output xml containing & characters
rather than & in values, as this is not well-formed xml. I'll think
about a fix. This problem may be quite pervasive.
Also, I'd like to know what a Thai crème brûlée tastes like.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"phpsoa" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---