In your experience with tools that generate code from XML schemas, do they typically respect, or ignore, user-defined simple types, like length restrictions on xsd:string?
I'm currently reading Thomas Erl's new book, "Web Service Contract Design & Versioning for SOA", where he makes the statement that "most" tools ignore them. I believe this would result in code-driven validation of XML documents ignoring issues with element values outside of the defined length restrictions. I believe almost everything Thomas Erl tells me :) , but I'd really like to see some more support for this statement before I believe it.