Pinned topicDB2 9 pureXML Guide

‏2012-10-17T06:03:36Z
|Tags:

Answered question
This question has been answered.

Unanswered question
This question has not been answered yet.

I have read the Redbook DB2 9 pureXML Guide and while it renewed my interest in pureXML there is one problem and I hope someone has a solution. There is nothing wrong with the document per se, yes some minor things have changed since it was published but the problem is that the example app "XMLoan.war" with sources is noplace to be found. It says its in the distribution, but of course it isn't in the latest DB2 Express-C. Does someone have a copy they can share here? or DropBox? or ftp?

Re: DB2 9 pureXML Guide

There is an old saying, "I don't know what I don't know". As the former CTO of the Knowledge Management Professional Society, one of the aspects of Knowledge Management is retiring of elements of the Knowledge Base that are out of date or irrelevant. In Military and other Intelligence agencies there is the concept of "time of significant value", i.e. intelligence is often stampled with a "LTIOV" latest time of value. Certainly articles in developer works, that are no longer of significant value as they are out of date, provide irrelevant or erroneious information, should be retired. Sure the user / reader should look to see if something is current, but that's not always apparent. Those of you that are in the know, don't see a problem, after all you know what the latest version of this or that is, and can filter results easily. But someone that isn't as well informed and searches your knowledge base / library of documentation and articles cannot judge until they spend time.

Some sort of feedback mechanism, "not popularity contest" needs to be implemented where the consumers of the data can flag content that is out of date or irrelevant or just plain wrong for others to see automatically in the heading meta data for your articles. Then if there is some content of merit and therefore needs to be retained, but some out of date information, the reader can much more easily see that before spending time only to find out it was wrong.

Re: DB2 9 pureXML Guide

thanks for your comment on retiring old or outdated material. You have a valid point.

As for the problem that "CREATE DATABASE xmltut~" fails, please note the advice on the first page of the tutorial where it says:

In a DB2 command window, start the DB2 command-line processor by issuing the db2 -td~ command, the db2 command with the -td~ option.The -td option sets the tilde (~) as the statement termination character. Specifying a termination character other than the default semicolon (-t option) ensures that statements or queries that use namespace declarations are not misinterpreted, because namespace declarations are also terminated by a semicolon. The examples throughout this tutorial use the ~ termination character.

If you start the DB2 command line processor with the -td~ option, than the specified create database statement should work fine.

Regarding the download of the sample code: does it work for you if you go to the redbook page first (http://www.redbooks.ibm.com/abstracts/sg247315.html) and then click on "Additional material"?

In any case, I have attached the downloaded sample code as an attachment to this post.