[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SAX-ext proposal #6: parser versioning
- From: David Brownell <firstname.lastname@example.org>
- To: email@example.com, firstname.lastname@example.org
- Date: Tue, 07 Aug 2001 10:04:53 -0700
- There is no conventional way for applications to identify the version
of the parser they are using, for purposes of diagnostics or other
kinds of troubleshooting.
- The best the JVM supports is the JDK 1.2 java.lang.Package facility,
depending on JARfile metadata. It provides a partial solution, at
the price of portability (JDK 1.1 APIs are much more portable) and
assumptions like "one parser per package".
- Define a new standard property ID:
Returns a string identifying the reader and its version.
This is intended for use in diagnostics.
Parsers could support that if desired, probably using some sort
of resource-based mechanism (not necessarily Package) to keep
such release-specific strings out of the source code.
- Should there be separate strings to ID the reader (likely a
constant value) and its version (ideally assigned in release