XSLTProcessor::transformToXml() ID * already defined



I'll preface this by saying I'm not server admin, but a developer trying to figure out what went wrong.


Our server, which hosts quite a few websites, was upgraded today by the company which manages it (while performing other work). The upgrade ended up breaking a lot of our sites (around 30+) which are now throwing XSLT errors.


Most of the sites are built on symphony CMS (not symfony) which uses XSLT templating to generate the (X)HTML.


Before the update we managed to output multiple IDs on the same page with the same value (eg, id='abc', I know, not valid - ignore that for now). The point was it was working without causing errors.


After the upgrade the sites are all throwing errors now when multiple id values are encountered. eg:



ID abc already defined


One of the updates, which I'm convinced is causing the error, was to the libxslt, libxml and libexslt version. Before we were using:



libxslt Version => 1.1.26
libxslt compiled against libxml Version => 2.7.8
libexslt Version => 1.1.26


Since the upgrade:



libxslt Version => 1.1.28
libxslt compiled against libxml Version => 2.9.1
libexslt Version => 1.1.28


My hunch is that it's now treating the XHTML as XML as opposed to HTML, which it did previously, and the XMl doesn't allow multiple ID values.


My question is, has anyone seen this before or know what might be causing it, and what's the appropriate steps to either revert it or force it to ignore multiple id values?


There is no real option at this stage to roll back the changes (so the server admin people say) or to fix the websites (as it would take too long).


Any ideas appreciated.


No comments:

Post a Comment