Thursday, January 24, 2008

The Joy of Standards

At Vasont we work with many Fortune 500 companies. Each department we work with is well-established and has developed their business processes to a great extent. Many of these departments and procedures pre-date common XML usage. And they certainly predate the establishment of XML standards like DITA and (X)DOCBOOK.

It is difficult for them to adopt these standards yet many of their architectural leaders see the great advantages of moving to standards-based content management. But problems arise as writers and editors are exposed to the new model. They begin asking questions like, "what happened to the sub-chapter element?" Answers like, "use the section2 element for both sub-chapters and section2s" are not greeted with fondness.

In short, there is a large negative push-back from the user community if the basic standard is enforced. So, as a compromise, the company develops its own custom dialect of the standard. Now the users are happy. They can work similarly to how they used to work.

Of course, many of the advantages of using the standard are negated. Third-party tools to generate output, transform content, reuse content, etc. must be reworked to function with the custom dialect.

Perhaps the tool is not open-source. Perhaps the tool is open-source but the expertise to modify it is unavailable or too costly. In either case it is useless or very crippled.

But perhaps the tool is open-source and can be modified at reasonable cost. That's great! Now we see some of the benefit of using standards. But the tool might change - time to modify it again :-(

My advice: before adopting a standard be very aware of its limitations and recognize the tremendous costs of overcoming them through customization. Often it is better to lose control of all the details and submit to the standard. Its often just a matter of ego and inertia that pushes an organization toward customization. In my opinion it is rarely really needed.

Wednesday, January 23, 2008

The two XMLs

Living, as I do, in two worlds, I see the myopia of both. "What is he babbling about?" you might ask. I'll tell 'ya.

I work for a company that develops content management software. The company is deeply steeped in the publishing industry. Our sister divisions makes complexly styled documents ready to publish. The roots of the company are in typesetting; first mechanical and then later electronic. To this industry XML should really be written xML - the emphasis is on the Markup Language part of the acronym. XML, is the most recent of a long line of markup languages, designed to act as a guide to styling a publishable document (SGML, TEX, etc.). The industry knows the importance of rules-based control of the content and requires that enforcement through the DTDs (or, to a greatly lesser extent, the XSDs) that XML supports.

But, I am also a software developer and am aware that the general development community views it more like this: Xml. The emphasis is on the eXtensible part of the acronym. To them, XML is used as a conduit for passing information - it might be as part of a SOAP message for Web Services or used by servlets to send information to a web client or used like a database table to hold information. To them XML elements represent programming objects or properties or functions. All these activities require rules-based control of the XML structure, just like a programming language does (this is done with XSD or DTD files ).

This duality is proof of XML's great power. It is also the source of great confusion. Remember, if you will, the story of the blind men and the elephant.

Document people and developers need XML for different reasons yet XML tools usually concern themselves with one. Each group might wander off the trail with a tool that does not meet their needs.

"It was labelled as an XML editor, yet I cannot see my document as it will look when published," says the document person. "It was labelled as an XML tool, yet there is no way to use it in data entry form mode," says the developer. Each group's blindness to the existence of the other world of XML leads to this confusion.

Added to the crossed purposes is the general piling on we always see with any emerging and sometimes fad-driven technology. If you want to know the buzz phrase of the quarter in computer circles, just look at the ccomputer bookshelves in your local Borders: "XML Bible", "XML for Dummies", "XML and Java", "Beginning XML", "Advanced XML" You get the idea. Now imagine some innocent document specialist who wanders down that aisle. Lost in a sea of wrong direction.

My point - being aware of the duality can help people looking for books or tools to say, "ohh, this was not designed for my use" more quickly and allow them to move on to a book or tool that was.

A welcome and statement of purpose

Howdy!

This blog is NOT a Vasont Systems blog.

It is an outlet for thoughts about Vasont, content management, XML, computer software, software development and almost anything else that pops into my head during the course of the workday.

Hopefully, you will find some of my ramblings interesting enough to come back. Hopefully, this idea will spur others within and outside the company to join the fun. Hopefully, this will not be looked at by management as another marketing tool :-)