|
Re: multiple code pages in kXML, die zweite: msg#00001java.enhydra.kxml
hello big sorry to all english-speaking people on this list - this mail was supposed to be PM... :) a short abstract of my problem: the current WBXML parser seems to assume that all XML-tags belong to the same namespace, so the only important thing to feed to it are code pages defining _one_ namespace. if, however, the XML contains namespace changes, this scheme no longer works. my question is now: how do I best solve this problem? My idea is to catch 'xmlns' attributes and switch as well the WBXML-name-space and at the end-tag to swtich back. regards nicola On Thu, 2002-11-14 at 11:09, Nicola Fankhauser wrote: > hallo stefan (snip) to this XML: SyncML defines two code pages for WBXML: 0x00 (SyncML) and 0x01 (MetInf). But inside the data tag, a DevInf tag from an alien namespace is (according to the specs) defined to have a WBXML code page 0x00 (!). > <SyncML xmlns='SYNCML:SYNCML1.0'> > <SyncHdr> > <Target> > <LocURI> > http://10.95.12.202:80 > </LocURI> > </Target> > > <Cred> > <Meta> > <Format xmlns='syncml:metinf'> > b64 > </Format> > <Type xmlns='syncml:metinf'> > syncml:auth-basic > </Type> > </Meta> > </Cred> > </SyncHdr> > <SyncBody> > <Data> > <DevInf xmlns='syncml:devinf'> > <VerDTD>1.0</VerDTD> > <Man>Ericsson</Man> > <SwV>R1A</SwV> > <HwV>R1A</HwV> > </DevInf> > </Data> > </SyncBody> > </SyncML>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | multiple code pages in kXML, die zweite, Nicola Fankhauser |
|---|---|
| Next by Date: | kdom.Node.getType, Bert Hobbs |
| Previous by Thread: | multiple code pages in kXML, die zweite, Nicola Fankhauser |
| Next by Thread: | kdom.Node.getType, Bert Hobbs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |