http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2434

*** shadow/2434 Tue Jul  3 05:00:26 2001
--- shadow/2434.tmp.6193        Tue Jul  3 05:01:48 2001
***************
*** 14,17 ****
  |          URL:                                                              |
  +============================================================================+
  |                              DESCRIPTION                                   |
! When asked with getFeature() Crimson admits that it supports EXTERNAL_GENERAL and 
EXTERNAL_PARAMETER. However, when one tries to set these Crimson invariably says they 
are not supported. It should only do this if one tries to turn them off, which is not 
supported.
--- 14,61 ----
  |          URL:                                                              |
  +============================================================================+
  |                              DESCRIPTION                                   |
! When asked with getFeature() Crimson admits that it supports EXTERNAL_GENERAL and 
EXTERNAL_PARAMETER. However, when one tries to set these Crimson invariably says they 
are not supported. It should only do this if one tries to turn them off, which is not 
supported.
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-07-03 05:01 -------
! Since the bug tracker won't accept my attachment (invalid id 2434) I'm putting the 
patch here. Note that this patch assumes that #2433 has already been applied.
! 
! *** XMLReaderImpl.java.old    Tue Jul  3 13:49:14 2001
! --- XMLReaderImpl.java        Tue Jul  3 13:50:57 2001
! ***************
! *** 193,199 ****
!               if (!prefixes && !namespaces) {
!                   namespaces = true;
!               }
! !         } else if (name.equals(STRING_INTERNING)) {
!               checkNotParsing("feature", name);
!           if (!state)
!             throw new SAXNotSupportedException("Feature " + name +
! --- 193,201 ----
!               if (!prefixes && !namespaces) {
!                   namespaces = true;
!               }
! !         } else if (name.equals(STRING_INTERNING) ||
! !                name.equals(EXTERNAL_GENERAL) ||
! !                    name.equals(EXTERNAL_PARAMETER)) {
!               checkNotParsing("feature", name);
!           if (!state)
!             throw new SAXNotSupportedException("Feature " + name +
! ***************
! *** 204,212 ****
!                   parser = null;
!               }
!               validation = state;
! !         } else if (name.equals(EXTERNAL_GENERAL) ||
! !                    name.equals(EXTERNAL_PARAMETER) ||
! !                    name.equals(LEXICAL_PARAMETER_ENTITIES)) {
!               throw new SAXNotSupportedException("Feature: " + name);
!           } else {
!               throw new SAXNotRecognizedException("Feature: " + name);
! --- 206,212 ----
!                   parser = null;
!               }
!               validation = state;
! !         } else if (name.equals(LEXICAL_PARAMETER_ENTITIES)) {
!               throw new SAXNotSupportedException("Feature: " + name);
!           } else {
!               throw new SAXNotRecognizedException("Feature: " + name);

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

Reply via email to