08-25-2009 02:48 PM
I am running Apache2 in a Windows XP environment. I am trying to load a simple XHTML-MP page using the Blackberry Simulator 8520 (4.6.1) where the BrowserID is set to BlackBerry. The simulator loads the page as long as the total byte length is less than 256 bytes. Whenever the page contains over 256 bytes the browser returns a 'The XML is not well-formed’ error.
The following will load using the Simulator:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Page is less than 256 bytes</p>
</body>
</html>
The following causes an 'XML is not well-formed' error:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>This Page is more than 256 bytes</p>
</body>
</html>
Anyone have a clue?