5

I have a chm file of the Book Java and XML, 3rd Edition and a section looks like this:

With the DOMSerializer class complete, all that's left is to invoke the serializer's serialize( ) method in the test class. To do this, add the following lines to the SerializeTester class:

// code here

I ran this program on a couple of files, most notably an XML version of the DOM Level 3 Load and Save module specification (http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/xml-source.xml).

The link http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/xml-source.xml was linked to

mk:@MSITStore:D:\Desktop\McLaughlin%20-%20Java%20and%20XML%203e%20(O'Reilly,%202006).chm::/059610149X/(http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/xml-source.xml

which obviously gives me:

enter image description here

What is mk:@MSITStore? What does it mean?

1 Answer 1

6

mk:@MSITStore is an URI scheme, according to

and is used in Windows help files as the "InfoTech" protocol handler:

The following is a list of correct HTML Help URLs:

  • Filename.chm::/page.htm - Only works inside of HTML Help. Microsoft strongly discourages its use (also known as "super-automagic" URL).
  • Mk:@MSITStore:filename.chm::/page.htm - The standard HTML Help URL that works with Internet Explorer 3.0 and later (also known as "automagic" URL).
  • Ms-its:filename.chm::/page.htm - The new standard HTML Help URL that works with Internet Explorer 4.0 and later (also know as "automagic" URL).

It is used similarly to, let's say, an http link. Help files, which are just HTML pages, are compiled into one CHM file. When doing so, pointers to those internally compiled HTML files use the MSITStore URI scheme.

For example, this link would point to a general copyright page:

mk:@MSITStore:%windir%\Help\ntshared.chm::/copyright.htm

This can also be done using other protocol handlers, as explained here: Using a URL to Open a Page in a Compiled HTML Help File

It seems that in your case, the CHM file was improperly generated.

3
  • 1
    Hey thanks for the help =D Btw if I understand it correctly, is it true to say that this is purely a microsoft thing?
    – Pacerier
    Commented Dec 31, 2011 at 18:57
  • 1
    Yes. Haven't seen it anywhere else.
    – slhck
    Commented Dec 31, 2011 at 19:00
  • @@slhck ok cool =)
    – Pacerier
    Commented Dec 31, 2011 at 19:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .