On Sat, 22 Apr 2006 20:50:12 +0000, Jeremiah Farmer <> wrote:
>first of all, XML is hardly a "flavor of the day".
It is for companies who are indiscriminately using it for working with data,
outside the sphere of developing Web applications and/or sharing data that is
system independent, where XML was intentioned to be used, without regard for how
it affects their end users and the corporations who employ them.
In other words, Autodesk.
XML is a markup language. A great mechanism to tag and store information that is
created on one system (Windows) and read on another (Linux). As such, XML is an
excellent data interchange format that is not reliant on any particular OS,
DBMS, or any other application more sophisticated than a web browser.
I'm not suggesting it cannot be useful in the CAD world. Certainly, it would
make a better DXF format than DXF, and allow DWG data to be easily transferred
from one CAD app to another with a high degree of fidelity. But that would
require standards between software companies in a market where cooperation is
seen to be an evil impediment to profitability.
But XML can hardly be considered proper for dealing with an application-specific
component like the CUI, tool palettes and such. In essence we are using the
wrong tool for the job.
>secondly, one of the incredible benefits of the utilization of XML is the ability to edit it as raw text, in fact very much like parsing an ASCII file.
Okay. Hands up, everyone here who finds working with CUI files in Notepad to be
easy and fun. And, how often are you encouraged to edit any AutoCAD-generated
XML file outside of a GUI provided by AutoCAD?
>If you had ever worked with XML, you would know two very simple things: (1), it's a dream to work with, and it's unsettling why more companies don't must move everything to XML, for instance, just move the MNU/CTB/PGP formats directly into XML; (2), the cumbersome, quasi-1.1 utilization that companies such as Intuit and Autodesk have gone into can hardly even be called XML, as it does not follow two of the basic tenants: all information stored as plain text attributes, and able to be edited by a text editor.
All information generated in a CUI is stored as plain text; all data is stored
inside of attribute tags, defined by a schema, in a hierachical fashion; and it
is all able to be (painfully) edited with a text editor. I don't see how it's
anything else BUT XML.
It is hideously formatted, of course. The only "violation" that Autodesk has
committed here is that it is so convoluted, not to say undocumented, as to make
editing any of this stuff through Notepad to be a horrible experience.
>I'd agree that where they got the idea to use XML is hardly a worthy discussion topic.
I argue that the idea to use XML IS a worthy discussion topic, because it is
clearly evident that moving menus to it was the wrong move. I simply fail to see
how using XML to store menu data is any better than the MNS/MNC format. The CUI
editor is oviously more comprehensive than MENULOAD, but that's not saying much.
>The vast recurring theme of posts in here is the desire to be able to edit a configuration file manually in a text editor. Converting the menu system to XML should allow that.
MNS did this already, and you didn't hear everyone complaining. The beauty was
that it compiled down to very small, fast loading MNC files. Also, if you
screwed up, it was simple to fix. If a CUI file gets corrupted, you could be
seriously up a creek.
> But Autodesk has chosen to use XML as merely a database format. Since they are not moving CTB and other formats to XML, it can hardly be taken as an indication of supporting the standard.
Maybe it's because they realized how bloated it became to store such data in
XML, and figured it was a bad move. My CTB file is 5KB. I would hate to see what
it would be in XML.
>And lastly, since they clearly did outsource the creation of the CUI, I feel that is also a perfect point of contention regarding its design.
And you have evidence of this...where, again?
Matt
mstachoni@comcast.net
mstachoni@bhhtait.com