I have the following xml: <wml:MLWeather NAVTEQVersion="1.1.0" serialNumber="1251825849597" feedCreation="2009-10-26T15:51:04.662Z"> <observation long="-87.75" lat="41.78" location="Chicago Midway Airport" city="Chicago" sourceID="KMDW"> <dataItem sourceCreation="2009-10-26T15:42:07.000Z" name="current"> <item value="1018.60" name="barometer"/> <item value="R" name="barometerTrend"/> <item value="18" name="cloudCode"/> <item value="Overcast" name="cloudCover"/> <item value="Overcast. Cool." name="description"/> <item value="7.78" name="dewPoint"/> <item value="9.79" name="feelsLike"/> <item value="80" name="humidity"/> <item value="" name="precip"/> <item value="11.11" name="tempCurrent"/> <item value="16.09" name="visibility"/> <item value="180" name="windDirection"/> <item value="11.12" name="windSpeed"/> </dataItem> </observation> </wml:MLWeather>
My binding file: <binding> <mapping name="MLWeather" class="com.traffic.hdradio.b2b.weather.MLWeather"> <value name="NAVTEQVersion" field="navteqVersion" usage="optional"/> <value name="serialNumber" field="serialNumber" usage="optional"/> <value name="feedCreation" field="feedCreation" usage="optional"/> <structure field="observation" usage="optional"/> </mapping> ... My question is what namespace binding can I add to parse the above with th "wml" namespace? <namespace uri="http://www.navteq.com/schemas/" default="all" prefix="wml"/> If I add the namespace snippet I get invalid xml at line 1 column 1. Also, Is the above standard xml? Valid? ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users