So we have a section of software in the XML that appears as below. The problem is that this makes the PHP error, complaining about the software_uninstall line. I have narrowed it doen to the + symbol (if I remove that, it parses), but if anyone can tell me why it would be appreciated. The string is enclosed in <!CDATA{ and }}> tags, so everything inside should be ignored. I have other strings that contain the = symbol and they work fine. Even in other software_uninstall strings. I'm thinking it's some combination of the position of the " and the =. I don't have that combination anywhere else... Any help much appreciated.
FWIW - I may simply remove this from the audit script (the software_uninstall) because even though it is retrieved and stored, it's not actually displayed anywhere in the web front end that I can see.
[code] <package> <software_name>Service Pack 1 for SQL Server 2008 (KB968369)</software_name> <software_version>10.1.2531.0</software_version> <software_location></software_location> <software_uninstall><![CDATA["c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB968369\ServicePack\setup.exe" /Action&eq;RemovePatch /AllInstances]]></software_uninstall> <software_install_date>20101215</software_install_date> <software_publisher>Microsoft Corporation</software_publisher> <software_install_source></software_install_source> <software_system_component></software_system_component> <software_url></software_url> <software_email></software_email> <software_comment></software_comment> <software_code_base></software_code_base> <software_status></software_status> <software_installed_by></software_installed_by> <software_installed_on></software_installed_on> </package>[/code]
_________________ Support and Development hours available from [url=https://opmantek.com]Opmantek[/url]. Please consider a purchase to help make Open-AudIT better for everyone.
|