I've been working with code synthesis xsd to generate an xml tree to ensure constinency of the xml output to the original xsd.
After initial testing, everything looked ok but when I tried entering invalid values (correct type, but outside the defined range), the values were allowed.
Although the xml is well formed and conforms to the types set in the xsd, it is not a valid xml wrt the schema.
Has anybody else used this tool and/or come up across this problem?
The tool may not do the sort of checking you want when creating the document.
If your document is small, you may just want to generate the XML,then re-parse it with XSD checking on and let that be your checking.