Results 1 to 5 of 5
Feb 9, 2012, 15:38 #1
- Join Date
- Aug 2008
- 0 Post(s)
- 0 Thread(s)
XML Generating Script Suddenly Not Working... Database Content Issue???
I have 2 identical XML feed generators. The only difference is the customer content the feeds pull from the database. One feed pulls content of a specific customer from the database, while the other feed pulls content from all other customers.
Both feeds have been working, until now.
My feed dedicated to a specific customer is generating this error:
XML Parsing Error: no element found Location: [url]http://www.mydomain/indeed-general-xml-generator/[/url] Line Number 1, Column 1:
As I mentioned this has just started happening. Another funny thing is, when I swap out the customer info in the broken feed, the XML document renders correctly.
Is it possible my customer has some content in the database that is breaking my XML tags?
I'm using PHP's DOMDocument class to generate the XML files and wrapping all values with the createCDATASection() method.