Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
cssicamp
Posts: 1
Registered: ‎08-25-2009
My Device: Not Specified

Unable to load 256+ byte XHTML-MP page

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?

Please use plain text.