Tom
2007-11-23 12:14:49 UTC
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?
Regards,
Tom
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?
Regards,
Tom