[Repost] Re: [PATCH]: A couple fixes to org/xml/sax/package.html

David Megginson <[email protected]> Wed, 21 Apr 2004 10:49:41 -0400
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
[Originally posted earlier today, but it didn't get through.]

Karl Waclawek wrote:

>>2) Specify that the use-entity-resolver2 is read-write with a default 
>>value of true, instead of read-only with no default value. The description 
>>of EntityResolver2 in CVS says: "If a SAX application requires the 
>>customized handling which this interface defines for external entities, it 
>>must ensure that it uses an XMLReader with the 
>>http://xml.org/sax/features/use-entity-resolver2 feature flag set to true 
>>(which is its default value when the feature is recognized). If that flag 
>>is unrecognized, or its value is false, or the resolver does not implement 
>>this interface, then only the EntityResolver method will be used." 
>>Therefore this feature has a default value of true (when it is 
>>recognized). Since the default value is true, the value of the feature 
>>could only ever be false if it were read-write. Parsers which do not 
>>support setting this feature to false would throw a 
>>SAXNotSupportedException.
> 
> Alternatively, you could fix the description of EntityResolver2
> with the attached patch and leave it read-only.

Thanks for the patch.  Before I commit, will we need a patch to package.html
(with Michael's recent changes) for consistency?


All the best,


David



-------------------------------------------------------
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