SAX2: Parser interface

David Brownell david-b at pacbell.net
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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list