Re:XML Can Give the Same Performance as JSON
by zdw on Thursday August 15, 2013 @12:23PM
(#6218866)
The "producing valid documents" issue is solved by running the output through the schema before, or immediately after it's saved, and throwing an error if the code has generated an invalid document.
[ Parent
| on HN ]
Re:XML Can Give the Same Performance as JSON
by acdha on Thursday August 15, 2013 @06:02PM
(#6220884)
Again, this approach does not work on projects where you can't immediately reject invalid documents. In many cases, this is unacceptable from a business standpoint and so you're forced to attempt to salvage minor conformance problems.