# Copyright (c) 1994 SoftQuad Inc. @(#)extid.shp 1.2 94/03/27 # This file contains a list of mappings from # SGML Public-System Identifier pairs to Author/Editor # compiled rules file names. (The name does not include # a path. The path is obtained from the rules_path SQCONFIG # variable or from the command line.) # # Entries in this file consist of one mapping per line. A # mapping is a Public Identifier regular expression, a System # Identifier regular expression, and a result file name. # #The important things to know are these: # To match an unspecified public or system identifier, use the character # '~'; # To match anything else, use a regular expression. # #So # ~ (.*)\.dtd \1.rls # # will match an external identifier which has no public identifier and # whose system identifier ends in ".dtd". It will match # SYSTEM "bob.dtd" # for example, but it will not match # PUBLIC "something" "bob.dtd" # # On the other hand, # ".*" (.*)\.dtd \1.rls # # will match an external identifier which has a public identifier and # whose system identifier ends in ".dtd". It will match # PUBLIC "something" "bob.dtd" # for example, but it will not match # SYSTEM "bob.dtd" # # In the case where you don't care about the public identifier at all, # you need two (2) entries in the extid.map file. Like this: # # ~ (.*)\.dtd \1.rls # ".*" (.*)\.dtd \1.rls # # Similarly, if you don't care about the system identifier, then you will # need two (2) entries like this # # "some public id" ~ bob.rls # "some public id" .* bob.rls # # The first case handles mapping when no system identifier is present, # and the second one handles mapping when it is present but you wish # to ignore the name of the system identifier. # You should tailor this file to suit the preferences in your user community. # # ".*" (.*)\.dtd \1.rls # will map a System Identifier ending in ".dtd" to a rules file # name that has the same beginning as the System Identifier but # with ".dtd" replaced by ".rls". E.g. "anything.dtd" will get # mapped to "anything.rls". (Note: the "." in "\.dtd" is escaped # by the backslash since it is a regular expression special # character which, unescaped, will match any single character.) # #~ (.*)\.dtd \1.rls #".*" (.*)\.dtd \1.rls #~ (.*)\.dtd \1.rules #".*" (.*)\.dtd \1.rules #! ! html.mtl ~ html.dtd html.mtl ~ legacy.dtd legacy.mtl ".*" html.dtd html.mtl ".*" legacy.dtd legacy.mtl