SAX 1.0: problem with InputSource

Michael Kay M.H.Kay at
Fri May 1 14:38:01 BST 1998

I am trying to subclass InputSource to allow a File to be
supplied as an alternative to a SystemId, CharacterStream,
etc. (The implementation
of this goes through the magic incantations to turn a file
name into a URL).

This is proving clumsy because the InputSource class has no
default constructor.

Since there is a full range of setX() methods, and given the
general usefulness of having a default constructor e.g. for
JavaBeans / ActiveX,
should this omission be rectified?

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list