Re: Re: [xml-dev] ues-attributes2/entity-resolver2/locator2 read-only?
Elliotte Rusty Harold <[email protected]> Fri, 9 Apr 2004 08:48:03 -0400
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <p06010205bc9c4b8748f8@[192.168.254.88]> |
At 1:07 AM -0400 4/9/04, Michael Glavassevich wrote: I agree that read-only makes sense for use-attributes2 and use-locator2, but I believe use-entity-resolver2 should be read-write to allow a user to choose between the resolution behaviour of EntityResolver and EntityResolver2 if they have registered an entity resolver which implements EntityResolver2. Perhaps this should be an option for parsers that wish to allow this to be set. However, some parsers may not wish to make this an option and prefer to make it a read-only property instead. Simialrly, some parsers may wish to allow the user to specify whether Locator2 or Locator objects are passed. Ditto for Attributes2 or Attributes objects. Certainly not all parsers would want to allow this. Read-only should be an option for all three. The question is whether write ever makes sense. I'm not sure. -- Elliotte Rusty Harold [email protected] Effective XML (Addison-Wesley, 2003) http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel