[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The impact of data format selection on applicationdevelopm
> > Little languages provide a powerful way to quickly implement robust tools. > > Reading the book made me keenly aware of one thing: The XML data format is complex! Compare the densely written 36-page XML specification (plus the 16-page namespace specification) to this three-sentence specification of a data format: > > The data format consists of lines. Each line contains fields. Fields are separated by a delimiter (space, tab, comma, etc.). > In my opinion that's a lousy specitication, and lousy specifications like that account for an immense about of trouble in our industry. What's missing? * It doesn't say what a line is. How are lines separated or terminated? * What on earth does "etc." mean? * It says how fields are separated, but it doesn't say what can appear within them. What happens when the value of a field contains a separator? * It says nothing about character encoding. * Does every line have to contain the same number of fields? * Can fields be empty? The only reason the specification is short is that it's woefully incomplete. Michael Kay Saxonica
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|