############################################################################# # # $RCSfile: xmlparse.cfg.in,v $ # $Date: 1999/03/17 16:17:40 $ # $Source: /home/richard/Xml/RCS/xmlparse.cfg.in,v $ # $Revision: 1.14 $ # $Author: richard $ # ############################################################################# # # Copyright 1998, 1999 Brown University and Richard Goerwitz # ############################################################################# # # This is a sample config file for xmlparse. The settings given # below override both compiled-in defaults and command-line arguments. # For a usage summary, invoke the main program with the -h argument, # or take a look at the manual page. # # Normally, the only reason to use this file is to provide a global # setting for the url_resolution_cmd_string. It can also be used to # set site policy. # ############################################################################# # # There is a compile-time default for this variable; see the Makefile. # This can be overridden by the SGML_CATALOG_FILES environment var, or # by uncommenting the following line: # # sgml_catalog_filename "/usr/local/lib/sgml/CATALOG" # The compiled default for debug level is 0; you may set it as high as # 7 in order to get a complete stream of information about what # xmlparse is doing internally. Note that debugging output always # goes to syslog (DAEMON, DEBUG) whether use_syslog is yes or no (see # below). Also, this setting will only work if you have compiled # xmlparse with debugging enabled. # # debug_level 1 # Maximum warnings/errors to issue for any given XML file (corrupt files # can generate huge numbers of errors). Default is 200. # # max_errors 200 # By default this is set to "no". Set it to "yes" to tighten security # if you're running xmlparse behind a web-based validator. What this # does is tell xmlparse to resolve system identifiers only if they look # like URIs. # # no_local_files yes # The default error output channel is stderr; change "no" below to "yes" # and uncomment if you want messages to go to syslog (facility, DAEMON; # level WARNING or ERR) # # use_syslog no # The message catalog file is the file used to house strings output to # the user. The idea is to make it easy to switch output languages. # # message_catalog_filename "messages" # The fpi_resolution_cmd_string value below is the command used to # convert FPIs into URIs (which are then, generally, resolved and # fetched). Note that the command named below must accept an FPI on # its standard input, and produce a URI on its standard output. A # zero exit code indicates successful resolution; non-zero indicates # failure. # # Note that fpi_resolution_cmd_string, if defined, will be tried # before any catalog files. # # fpi_resolution_cmd_string "/usr/local/bin/resolve_fpi" # This url_resolution_cmd_string is the command used to retrieve URIs. # This command must contain two %s strings, the first representing the # URI itself, and the second representing the tempfile the retrieved # text will be stored in. This command must also exit with a status > # 0 if, for any reason, the URI can't be retrieved. If the URI can be # retrieved, it must output the final URI returned by the server to # stdout. # # The get_uri program used here is included with the xmlparse source # distribution. Edit it so that it works on your system, and copy it # to @prefix@/bin. If you replace it with another program, make sure # that that program behaves exactly as described above. # url_resolution_cmd_string "@prefix@/bin/get_uri '%s' '%s'"