[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Engineering versus Science, Anecdote versus Evidence... [W
- From: Greg Hunt <firstname.lastname@example.org>
- To: Andrew Welch <email@example.com>
- Date: Wed, 4 Jan 2012 22:16:25 +1100
What is astonishing is how bad XML document designs frequently are. Its as though people make up a schema and never look at the documents that they define or at the documents that are generated based on those schemas. The android schema below is a good example. Another example is one that I was given by some developers a few months ago. They were frankly puzzled by what they were being sent by a partner organisation and by how long it was taking to process. It had thousands of distinct namespace prefixes and hundreds of distinct namespaces. There was a separate namespace for every element and it was not a small document.
The qualities of documents: their ease of understanding, the ease of writing the things, maximised simplicity, maximised performance, just general aesthetics, all seem to get lost at times when things are expected to just technically work. Addressing this type of design madness through rules (an engineering approach) would require definition of all possible pathologies so that rules could be defined. The role of aesthetics in engineering seems to be less well understood than the role of aesthetics in the traditional sciences, but plugging into the aesthetics of what we do seems to be the simplest answer sometimes.
On Wed, Jan 4, 2012 at 9:10 PM, Andrew Welch <firstname.lastname@example.org>
To bring it kind of back on topic, in Android (which uses Java so
would be the better choice for your friend) you can use XML for
specifying the layout, however whoever designed it made a bad mistake
- the elements are in no namespace, but the attributes are in the
android namespace... so you end up with the 'android' prefix
android:text="Hello, I am a TextView" />
android:text="Hello, I am a Button" />
...so as you can imagine, the xml layout isn't very popular.
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [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
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please