OpenSP 1.5.2Release NotesOpenJade ProjectRelease 1.5.2September 2005200220032005OpenJade ProjectOpenSP 1.5.2 Release NotesThe OpenJade project provides a suite of tools and libraries for
validating, processing and applying DSSSL (Document Style Semantics and
Specification Language) style sheets to SGML and XML documents.OpenJade is a project undertaken by the community to maintain and
extend James Clark's Jade, as well as the related SP suite of SGML/XML
processing tools. OpenJade and OpenSP are distributed under the same license
as Jade.OpenSP is written in C++ and provides a class library, libosp, which
can be used as a basis for either open source or commerical projects. The
library can be built as either a dynamic or static library.
Applications of OpenSPThe OpenSP library has been used in a number of projects. The
World Wide Web consortium on-line HTML and XHTML validator is based on the
OpenSP library. In addition to the OpenSP library a set of command line tools
are provided to support the validation and transformation of SGML files. In
particular onsgmls can validate both XML and SGML documents
held on a local file system or accessed remotely via a web server using the
HTTP protocol with standard URI notation; osx will convert
SGML to XML to allow a library of SGML documents to be processed with XML
tools.Obtaining OpenSPOpenSP is a project hosted at sourceforge.net and is available
from the OpenJade web site at http://openjade.sourceforge.net or directly from
the OpenJade project page at http://sourceforge.net/projects/openjadeOpenSP is provided in source code form. However, see for information on how to obtain pre-compiled
binary packages.Supported PlatformsOpenSP is intended to be as portable as possible. It should be
possible to compile and build on most contemporary UNIX type platforms. In
addition OpenSP should also build on Microsoft's Win32 based operating
systems.
OpenSP is known to compile with both the GNU gcc c++ compiler and
Microsoft Visual C++. Other compilers have not been extensively tested.OpenSP 1.5.2 should build with the GNU gcc c++ compiler from
version 2.95 up to version 4.0. OpenSP has been built on a number of architectures including Intel
i386 and ia64, Alpha AXP, Sparc, PPC and S/390.The following table details known successful builds
Platforms on which OpenSP
1.5 is known to buildArch.OSCompilerNotesalphaDebian 3.1GNU gcc 4.0armDebian 3.1GNU gcc 4.0hppaDebian 3.1GNU gcc 4.0i386Debian 3.1GNU gcc 4.0Red Hat Linux 7.3Red Hat gcc 2.96Red Hat Linux 7.3GNU gcc 3.2SuSE Linux 8.1GNU gcc 3.2ia64Debian 3.1GNU gcc 4.0m68kDebian 3.1GNU gcc 4.0mips, mipselDebian 3.1GNU gcc 4.0powerpcDebian 3.1GNU gcc 4.0s390Debian 3.1GNU gcc 4.0sparcDebian 3.1GNU gcc 4.0sparcSolaris 8/SunOS 5.8GNU gcc 4.0
Please report any successful builds not mentioned above to
openjade-devel@lists.sourceforge.net, including any
diffs/patches you have used.Building OpenSP from SourceOpenSP requires 20Mb to 50Mb of disk space to build. An
installation will require around 10Mb to 20Mb depending on
architecture.On UNIX platforms, OpenSP makes use of the GNU software
configuration tools (autoconf, libtool, automake etc). The GNU C++ compiler
and make utility should also be used. The steps required to build the OpenSP
tools (onsgmls, osgmlnorm,
ospam, ospcat,
ospent, osx) and libraries are as
follows:
gzip -d OpenSP-1.5.2.tar.gz | tar xvf -
cd OpenSP-1.5.2
./configure
make You may need to switch to the super user
root to complete the installation
make install
The configure script supports many options. These
can be displayed using the command
./configure --help
In addition to the standard options, the following table describes options
specific to OpenSP.
OpenSP specific configure
optionsOptionDefaultExplanationNo http supportInclude support for http. This allows the OpenSP tools to
be used to validate or process SGML or XML documents directly from the World
Wide Web. Example: onsgmls -s http://www.example.comNot enabledProvide one or more default catalog files or sysids, e.g.
/usr/local/lib/sgml/catalogNot enabledProvide a default value for
SGML_SEARCH_PATHNot enabledInclude support for XML Formatted MessagesEnabledDo not build docs (man pages and release notes)EnabledDo not include support for DTDDECL
Please refer to the system documentation for details on building
on the Win32 platform.Binary DistributionsIn addition to binary packages availble from the project, OpenSP
has been a part of many software distributions, including the major Linux
distributions as well as FreeBSD. Expect pre-compiled and packaged versions of
the latest version of OpenSP to be available from your distributor in due
course.InstallationIn addition to the OpenSP executables and libraries you will also
need various DTDs and declaration files. Some DTDs and associated files
(entity definitions) are available in the pubtext
directory of the distribution. However, more authoritative sources should be
referenced to ensure that up-to-date versions are used. If you wish to process
XML files, then suitable SGML declarations for valid XML documents should be
used. Again, a sample set of declarations (xml.dcl) is
provided in the pubtext, but more complete or recent
versions may be available from other sources.OpenSP supports the standard SGML catalog facility; it is
recommended that you set up and use such a catalog system.
SupportIf, after reading the documentation, you still have a problem,
then you may require some additional help. The OpenJade project is a volunteer
effort and as such does not provide any formal support. Instead, you should
look to the community for support. Once part of the community, you, in turn,
will be able to play your part in helping those that come after you. Here are
some pointers to obtaining help:If you obtained your OpenSP distribution in binary form from
your operating system distributor and you have a build related problem - such
as onsgmls crashing, then your first port of call should be
your distributor.If you have a problem with the usage of the OpenSP tools, then
you should try the openjade-users mailing list, see
http://sf.net/projects/openjade/ for details.If you have a patch or bug fix for OpenJade, or are trying to
use the OpenSP API then the openjade-devel mailing list is the appropriate
forum.Please choose only one mailing list to post to, as cross-posting
is generally frowned upon. The various mailing lists are archived and
searchable. It is always worth searching for your problem first, as it is
often the case that someone has had the same problem before.Version 1.5.2Released December 2005.The release contains a number of enhancements together with
support for version 4.0 of the GNU C++ compiler.The following table details the major improvements in OpenSP
1.5.2
Changes for release
1.5.2Item 1Added doc building and config optionContributorsTerje Bless, Neil RoethCategoryEnhancementDescriptionEnable creation of release notes and man pages as
part of the standard build process. Added option --disable-doc-build; this
step requires several additional software packages, so a user who chooses not
to install those tools or otherwise has problems building the docs can skip
this step.Item 2Updated local gettextContributorTerje BlessCategoryEnhancementDescriptionA local gettext is provided for those platforms
that have an old or broken gettext. This has been updated to
version 0.14.5.Item 3Added config option to turn off DTDDECL supportContributorNeil RoethCategoryEnhancementDescriptionAdded option --disable-dtddecl to disable DTDDECL
support. The combination of DTDDECL support and enabling a default catalog
and default SGML search path can cause poor performance. Using this option
allows you to use a default catalog and search path and still get good
performance if DTDDECL support is not needed.Item 4Updated/added translationsContributorKarl EichwalderCategoryEnhancementDescriptionUpdated German and French translations, added
Turkish translation.
Version 1.5.1Released October 2003.The release contains a number of new features together with
support for version 3.3 for the GNU C++ compiler.The following table details the major improvements in OpenSP
1.5.1
Changes for release
1.5.1Item 1Runtime selection of message formatContributorNick KewCategoryEnhancementDescriptionEnable run time selection of message format with
SP_MESSAGE_FORMAT environment variable. Value is one of
XML, NONE,
TRADITIONAL.Item 2Support for HTTP redirectionContributorNick KewCategoryEnhancementDescriptionWhen validating/parseing a document using http,
OpenSP will now follow any redirects headers/requests from the
serverItem 3Specification of http user agent headerContributorNick KewCategoryEnhancementDescriptionThe environment variable
SP_HTTP_USER_AGENT can be used to specify a UserAgent:
header.Item 4Specification of http Accept: headersContributorNick KewCategoryEnhancementDescriptionThe environment variable
SP_HTTP_ACCEPT can be used to specify Accept:
headers.Item 5Enhancements to osxContributorJessica Perry HekmanCategoryEnhancementDescriptionA number of enhancements have been made to the
osx tool: security fixes in the handling of output files;
addition of the "preserve case option".Item 6Addition of a test suiteContributorKarl EichwalderCategoryEnhancementDescriptionA testing framework together with some initial
tests have been added. Currently there are 22 tests. 6 of which
fail.Item 7Sundry build improvmentsContributorNeil Roeth, Peter O'Gorman et alCategoryEnhancement/FixesDescriptionSupport for Mac OS/X, Darwin has been improved.
Build infrastructure and localisation fixes and enhancements. Improved
compiler support
Version 1.5Released November 2002.In addition to many new features this version also supports the
latest GNU C++ compiler: gcc 3.2 at the time of writing.The following table details the major improvements in OpenSP
1.5
Changes for release
1.5.1Item 1"--restricted" optionContributorLiam QuinnCategorySecurity EnhancementDescriptionThis new option restricts parsing of web based
documents to local files. This can be classed as a security fix and is
especially useful when using OpenSP within a CGI (Common Gateway Interface)
application on a web server.Item 2UNIX on-line manual pagesContributorIan CastleCategoryDocumentation BugDescriptionon-line manual (man) pages for the commands
included in the OpenSP package are now available for UNIX
platformsItem 3Upgrade GNU source configuration toolsContributorVariousCategorySoftware BugDescriptionIf you wish to create the various autoconf files
then newer versions are required (autoconf 2.52 and later). As a result of the
upgrades more platforms are potentially supported.Item 4"-x" option to osx and other
enhancementsContributorJessica HekmanCategorySoftware EnhancementDescriptionThe "-x" command line option enables SDATA entities
to be transformed into PIs or treated like normal entities (the
default).Item 5New TranslationsContributorsVariousCategoryDocumentation BugDescriptionNew and updated translations are available for
"ja", "fr", "de" and "sv" languages.Item 6Enhanced Message HandlingContributorEpremis Corporation (Peter Newcomb)CategorySoftware EnhancementDescriptionImprovement in message handling within the library.
This allows Windows (Win32) applications which make use of the OpenSP DLL to
include other DLLs which can also make use of the message handling
facility.Item 7Error Messages formatted as XMLContributorNick KewCategorySoftware EnhancementDescriptionA build time option to allow error messages to be
output in XML format as opposed to plain old ASCII. Specify with the
./configure option --enable-xml-messagesItem 8New syntax for PI based architecture
declarationsContributorEpremis Corporation (Peter Newcomb)CategorySoftware EnhancementDescription Added support for the PI-based architecture using
declaration syntax defined by Amendment 1 to ISO/IEC 10744:1997 (HyTime). This
makes it possible to specify architectural support attributes when using
architectures with XML, and is generally simpler than the original syntax. See
http://www.ornl.gov/sgml/wg8/document/1985.htm for details. Item 9Support name based virtual hosts when parsing a
URIContributorLiam Quinn (and others)CategorySoftware EnhancementDescriptionAdds an HTTP/1.0 host header to HTTP requests. This
makes it possible to parse and fetch DTDs specified in SYSTEM identifiers when
the DTD resides on a name-based "Virutal Host".Item 1064 Bit Platform SupportCategorySoftware EnhancementsDescriptionRemove 32-bit assumptions so that 64 bit platforms
such as Alpha, IA64, UltraSparc are supported.Item 11New output options: comment, omitted, tagomit,
attromitContributorRobert BraddockCategorySoftware EnhancementDescriptionSupport for new output options: this allows
comments and implied elements and/or attributes to be produced.Item 12Enhanced Support for Annex K of ISO 8879CategorySoftware EnhancementDescriptionMore of Annex K is now supported. Common data
attributes can now be specified in external entity
declarations.Item 13Support for GCC 3.2CategorySoftware EnhancementDescriptionGCC 3.2 is now supported.Item 14Enhance Unicode supportCategorySoftware EnhancementDescriptionThe multibyte version of OpenSP now uses 32 bit
characters and supports the full UTF-16 range 0x000000-0x10ffff
Version 1.4Released February 2000Version 1.4 added many improvements. Changes
included:Support for the koi8-r (RFC 1489) encoding.OpenSP now supports long (GNU Style) command line
options.OpenSP is internationalizedNew option -h or --help shows a list of all available options
with descriptions.New option -n and -x to see message numbers/relevant clauses
with messages.More of Annex K of ISO 8879 supported: SGML declarations on
subdocs, DATA declared value for attribures, DTD data entities and DTD
notations for doctypes, complete IMPLYDEF support, ENTITIES REF constraints,
URN parsing. Many new -w flags.DTDDECL supportNew spcat command line interface to the catalog
manager.Version 1.3.4Released October 1999The second release from the OpenJade project. This version was
distributed as part of OpenJade 1.3Changes in OpenJade 1.3.4
Added the Entity classes to the public interface of the library/DLL.
Version 1.3.3The first release from the OpenJade project