How difficult would it be to have trang take .xml files and some pre-existing .xsd files, and create only the schemas for the namespaces not already represented in the pre-existing set, throwing errors if there were unresolved references into any of those preexisting schemas?
One approach would be to generate the full set of schemas from the xml files and replace the ones with the same namespaces as those in the pre-existing set with the corresponding pre-existing schemas, and validate the xml files against this final set of .xsds.
How difficult would it be to have trang take .xml files and some pre-existing .xsd files, and create only the schemas for the namespaces not already represented in the pre-existing set, throwing errors if there were unresolved references into any of those preexisting schemas?
One approach would be to generate the full set of schemas from the xml files and replace the ones with the same namespaces as those in the pre-existing set with the corresponding pre-existing schemas, and validate the xml files against this final set of .xsds.