Lists Home |
Date Index |
I don't understand this focus on XML as serialization format.
Isn't the most important thing about XML that we have:
- cross-platform standards like XML Schema, RELAX, etc. to define tree
- generic parsers/validators/APIs to process those trees ?
At development/QA time, XML serialization is great since it's WYSIWYG, which
is much better than any binary format like ISO8583 (used in POS/ATM apps)
require a viewer for debugging (hence the question: is my bug in my program
or in the viewer?).
But once in production, why not switch my Serializer to serialize to YAML,
Binary or what have you (even keep DOM objects for ex. for in-process
communications), as long as both service consumers and producers
agree? I could keep my application that receives DOM objects or SAX events
but have actually something sent on the network that looks totally different
I know this would greatly help performance.
Anyway, my point is: XML is more about metadata than serialization.