<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>APPENDIX B: Outstanding issues</div><div><br></div><div>
4) Need to write xsds :(</div></div></blockquote><div><br></div><div>This is easy if you design a model which works with XML.  If you have an XML compatible model, you can generate an XSD and a JSON model from that.  Also, it means you can just use common middleware to map XML to JSON, rather than coding XML parsing functions.</div>
<div><br></div><div>I think the one thing you'd have to change is that XML won't allow you to serialize a dictionary with elements as keys (e.g. { "key1": "value1", "key2": "value2" }, you have to do this: [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value2" } ]</div>
<div><br></div><div>I think this is only done in the image properties.</div><div><br></div><div>On the downside: The JSON isn't as JSON-ic as it could be.</div><div>On the upside: You need never worry about XML again</div>
</div>