SAX2: Parser interface

David Brownell david-b at
Wed Dec 22 16:26:48 GMT 1999

David Megginson wrote:
> Questions:
> 1. Should there be getters as well as setters for the handlers and the
>    locale?

I've certainly needed them often enough; "write-only" properties
are a model that's best avoided.  (They push value coordination up
a level, where it's error prone; and errors can't easily be caught.)

> 4. Should we explicitly allow the systemId argument to parse() to be a
>    relative URI?  If so, what should it be relative to?

I'd vote for requiring it to be absolute.  If relative URIs are allowed,
the base URI should be a read/write property, with a meaningful default.

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe 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