|
We are to expect the CDATA, since we are assuming it should
tell the parser to leave things alone.
What is your understanding of "leave things alone"? My understanding is that CDATA may be used to include additional XML tags that should NOT be parsed:
<![CDATA[<custno>008_XY 00020001</custno>]]>
But in your example:
<custno><![CDATA[008_XY 00020001]]></custno>
There are no additional XML tags within your CDATA[...] structure; just data with spaces. Why include a CDATA[] structure at all? I doubt that any parser would be concerned with spaces within XML element values.
Test it, I guess ...
-Nathan
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.