[Home] [By Thread] [By Date] [Recent Entries]
>> In CSV, you do have to watch for an endless file. There isn't much else to watch for, however. << CSV was my most trivial example ... but even sticking with it I disagree. There are MANY things that can go wrong in a CSV processor ... some can be "dangerous" and some can produce bad data, (which may be more "dangerous" then crashing ... e.g. say the wrong $ amount to take out of my account or the wrong person taken off the do-not-fly list). Some examples * Misconfiguring the field and row separators * Incorrect quoting and escaping (CSV has many variants which are incompatible ... you have to agree with the sender to get it right). * Passing sensitive data in an unsecure channel * Column data larger than the expected maximum size. * Mismatch of number of columns from expected columns * Missing header rows (thus requiring implicit column definitions) * Putting the wrong data type in a column. (say a date instead of a number) * Formatting the wrong data in a column (dates, units, numeric formats etc). * Storing tree or graph data -- how to match up the parent/child relationships * Inconsistent duplication of data when storing a typical master/detail CSV as repeated rows (master columns repeated). Thats just a few. Any of these things could cause incorrect data, loss of data, crashes, insecurities. Some of these are really bad errors that simply can't occur with reasonable XML (such as getting the field name wrong, or master/detail inconsistencies). Some are errors that pretty much any data format can break with. IMHO simply using a simpler format doesn't make the data "safer". ---------------------------------------- David A. Lee dlee@c... http://www.xmlsh.org Thanks, -- Simon St.Laurent http://simonstl.com/ _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@l... subscribe: xml-dev-subscribe@l... List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



