I'm integrating on a Large Enterprise Platform and the vendor likes to update their XML format frequently, although they have promised that changes will continue to be backwards-compatible. I have an XSD that works...now...but I'd like to deploy that schema with our application code and not have to redeploy for every web service update. As an additional impetus, the (JVM-based) configuration language has very nice XSD type importing.
As a fallback, I can extract specific elements using XPath queries, but that's much less pleasant.
- How can I continue to parse evolving XML against a schema file that is outdated but not obsolete?
I'm looking for something like a 'loose parse' option or 'ignore unknown tags' that will get me access to the parts of the document that our application currently knows and cares about. Any new tags can be discarded - from the business standpoint, they're irrelevant.