Quantcast
Channel: xsd2Code community edition .net class generator from XSD schema
Viewing all articles
Browse latest Browse all 543

New Post: XSD2Code - Output elements of type string as cdata

$
0
0
cjard wrote:
Isn't this a hack to work around the fact that XmlSerializer doesnt do CDATA? Should Xsd2Code implement hacks? What is the problem with using escaped data? Does your reader at the other end not perform unescaping? Another option could be: Xsd2Code should be able to be given a list of members NOT to generate code for, and then you put the relevant code in the partial class file.. i.e. put your hack in the partial, so that regeneration does not overwrite it
Unfortunately partial class does not resolve problems, because change order of markups and not always we can do this. Besides e.g. I have a client who has system with doesn't support escaped data and I have to adjust.... ;/

Viewing all articles
Browse latest Browse all 543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>