|
From: Jason H. <ja...@cs...> - 2002-11-21 01:57:47
|
After perusing thru XML Schemas for a while yesterday and today, I think I'm ready to recommend that the Pope add it to the Index of banned books. Basically, it suffers the same problem a lot of XML does, which is that it mixes the easy and the hard together, making it pretty difficult to understand. So here's my current opinion on types, which is that we should just use "well-known" attributes and tags that have well-known types. So for example, attribute "dateformat" is always type date, "confidence" is always type int, and so on. One way to manage this in the long run is to have a lib that helps do this for us, instead of sprinkling parsing and all thru the code. Thoughts? |