best practice to "XMLify" binary data

"Stefan Momma" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
We have the following situation:

XML documents are generated by an application, and sometimes there are
binary characters embedded somewhere inside a CDATA section of the document
which are not valid UTF-8.
These XML data are parsed using expat in a different application.

Is there a "best practice" what to do as the final step in the XML
generation process to manipulate the data such that they do not end up with
invalid token errors for this material inside CDATA? We want to retain as
much as possible of the original data, so some kind of replacement
representation would be helpful. Which tools can you recommend for that
task?

thanks for your help in advance.

--s.


-- 
-- stefan momma
-- johannesstrasse 7 
-- 70794 filderstadt-bernhausen
-- [email protected]

GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

_______________________________________________
Expat-discuss mailing list
[email protected]
http://mail.libexpat.org/mailman/listinfo/expat-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.