[ http://issues.apache.org/jira/browse/XERCESC-1328?page=history ]
     
cargilld resolved XERCESC-1328:
-------------------------------

    Resolution: Fixed

I just checked in a fix to correct the spelling of the string defined by 
XMLUni::fgXercesUseCachedGrammarInParse (the letter
a was missing from Parse).  Please verify.

> SAX2XMLReader::setFeature() handles feature use-cachedGrammarInParse 
> incorrectly
> --------------------------------------------------------------------------------
>
>          Key: XERCESC-1328
>          URL: http://issues.apache.org/jira/browse/XERCESC-1328
>      Project: Xerces-C++
>         Type: Bug
>   Components: SAX/SAX2
>     Versions: 2.6.0
>  Environment: RedHat Linux, kernel 2.4.20-18.9, 
> xerces-c_2_6_0-redhat_80-gcc_32
>     Reporter: Stefan Letz
>     Priority: Minor

>
> According to the documentation (SAX2 Programming Guide and Xerces-C++ 
> Documentation), the setFeature() method of SAX2XMLReader is supposed to 
> handle changes of the feature 
> "http://apache.org/xml/features/validation/use-cachedGrammarInParse"; as a 
> no-op. Instead of doing so, it throws an exception, even if the feature is 
> set to its current (valid) value.
> In my eyes, setFeature() should throw a SAXNotSupportedException only if the 
> user tries to set the feature to a value different from its current value, 
> and do nothing otherwise.
> If the implemented behavior is intended, the documentation should be updated 
> accordingly.
> Stefan Letz.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to