Originally Posted by sunfighter
It's easy enough, after parsing the xml, to insure that you have integers when you do math by forcing them to be numbers.
Ok, but imagine that xml file has 100 different elements.
How does the parser know which is meant to be a decimal, which a string, which a date, etc.
You either hardcode it in the software or you check the schema?