BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-25-2008, 05:57 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: verizon
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default WBXML parsing

Please Login to Remove!

Hi ,
I would like to parse a WBXML coming from a server. Is there a code sample available for using the WBXMLParser class to parse the content ?

After some experimenting i did the following

WBXMLParser xmlParser = new WBXMLParser((InputStream)bin);
xmlParser.setTagTable(0,tagTable);
xmlParser.parse(new XMLParserHandler());

but i get the following exception exception "org.xml.sax.SAXException: Element does not exist in tag table". I added "WML" to the tagtable.

pls help



thanks
krishnan

Last edited by krishnanrajah : 07-29-2008 at 04:25 AM.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

40pcs 4864-2 DRAM RAM 4864 HITACHI USED 100% TESTED WORKING CONDITION
$34.99
40pcs 4864-2 DRAM RAM 4864 HITACHI USED 100% TESTED WORKING CONDITION picturePneumatic Ram for Heidelberg Quickmaster & Printmaster Presses Y7
$35.0
Pneumatic Ram for Heidelberg Quickmaster & Printmaster Presses Y7 picture(1PCS) PIC16F1847-E/SO MCU 14KB FLASH 1KB RAM 18SOIC PIC16F1847-E 16F1847 PIC16F
$2.47
(1PCS) PIC16F1847-E/SO MCU 14KB FLASH 1KB RAM 18SOIC PIC16F1847-E 16F1847 PIC16F pictureGREENLEE Hydraulic Knockout Punch Ram, 1 746
$1187.0
GREENLEE Hydraulic Knockout Punch Ram, 1 746 pictureGAMMA 4 ROTEC G4-CPU-C G4-VME with Fixed disk 720 MB & Ram
$516.12
GAMMA 4 ROTEC G4-CPU-C G4-VME with Fixed disk 720 MB & Ram picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.