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

Java Development

New Developer
Posts: 12
Registered: ‎11-12-2008
My Device: Not Specified

Unknown WBXML version

I am trying to parse an XML file (specifically, the one at http://dev.cinequest.org/mobileCQ.php?type=schedules&day=2008-03-01) with this call:



new SAXParserImpl().parse(url, handler, true);

On the simulator, all is well. On an actual device (7100i, running OS on Sprint/Nextel in the U.S., the call throws an exception in the WBXML constructor, with the message "Unknown WBXML version".


No, I am not using WBXML. 



What would drive the parser to think that this is WBXML?








BlackBerry Development Advisor
Posts: 15,766
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Unknown WBXML version

Are you testing with a matching version of the BlackBerry Simulator?  Is the data being downloaded using the same route in your tests?  This link explains the routes available further.


What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396


Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker