I do declare! But my XML doesn't.
February 26, 2008 5:24 PM Subscribe
We are moving our sites from a WAMP to a LAMP and one of the XML parser classes has gone all haywire. Eeep.
posted by foxydot to computers & internet (9 answers total)
I love that I have another developer on my team now, but unfortunately, that means I don't know every piece of code on our sites. Kid Wonder created an app for sending our product (video based) to mobile devices using the class WURFL_PHP. He *said* he tested everything on the new server before we changed, but now that the A records are switched (something I need a third party for) the parse in his application is returning "XML error: XML declaration not finished at line 1 column 15".
A Google of the error turned up a few CMS install issues, and several pages displaying the error, but nothing too useful to me. Everything was fine on the WAMP server, so I'm wondering if there's something I'm missing. (God knows I've had my head in the trees today and my grey matter isn't where it should be.)
I checked out the XML doc, and it's properly formatted, as far as I can tell. (It's the doc supplied here
.) The class is well written and doesn't seem to be missing anything. XML features are all enabled in PHP. Help Mefites!