I see your point. Actually, the wbxmllib will not decode an WBXML document encoded from an XML containing CDATA into the same XML (since the CDATA tags are not added when decoding OPAQUE WBXML).
My key-point is, that you CAN'T ensure interoperability when talking about WBXML (since there is an almost unlimited number of WBXML documents representing the same XML document), so as long as your decoder can handle the different combinations of encodings, the interoperability should be ensured (in XML that is).
Never write any logic (except in the decoder) that uses the WBXML content, since the WBXML content is so ambiguous, you will most likely increase the code-complexity and still not have a 100% interoperability coverage.
Br. Rasmus
On 8/22/05, Philippe Laporte <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for your answer.
My question is about how to ensure interoperability between different
WBXML servers and clients when it comes to encoding of CDATA.
Thanks a lot,
Philippe Laporte
Software
Gatespace Telematics
Första Långgatan 18
41328 Göteborg
Sweden
Phone: +46 702 04 35 11
Fax: +46 31 24 16 50
Email: [EMAIL PROTECTED]
Philippe Laporte wrote:
> Hi,
> Looking at the code in libwbxml it appears that CDATAs are encoded
> into opaque for WBXML.
>
> I couldn't find the section in the WBXML specification document that
> specifies this.
>
> Is it specified at all, or is it in any way standardized to do this?
>
> Similar question for not encoding in <![CDATA[ and ]]>
> (although of course it makes a lot of sense).
>
> So the complementary question is what is the heuristics for knowing
> what's in an OPAQUE section?
>
> Thanks,
> Philippe
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wbxmllib-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/wbxmllib-devel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wbxmllib-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wbxmllib-devel
--
Med venlig hilsen / Best regards
Rasmus Lock Larsen
[EMAIL PROTECTED]