Originally posted by basshead
View Post
I find the OPs question strange; without a schema the xml can contain anything. As others have advised some tools do exist to infer a schema from a document but that's all they do..infer the schema. It doesn't mean the correct schema is inferred and often it won't be. You could equally just look at the xml document and create your own schema from scratch to match what you think it should look like..and then you'll get it wrong all on your own.
The owner / source vendor of the xml document needs to confirm the validity and content of the xml document and if they can do that then they should provide a valid schema. If this isn't possible then this sounds like a train wreck waiting to happen to me.
Comment