Hi Elena,

I wasn't aware of it.I'm sorry 'bout it.
Please find the attached text file.

Thank you,
Pavani


> Date: Tue, 28 Aug 2001 12:30:38 -0400
> From: Elena Litani <[EMAIL PROTECTED]>
> X-Accept-Language: en,pdf
> To: [EMAIL PROTECTED]
> Subject: [Fwd: patch for Bug# 2093 Dynamic Validation and XML Schema]
> Content-Transfer-Encoding: 7bit
> 
> Hi, Pavani,
> 
> Did you copy/paste the patch? My cvs complains it is malformed.
> You should always send the patch as a text file. 
> 
> Can you send the file to me?
> 
> Thank you,
> Elena.
> 
> -------- Original Message --------
> Subject: patch for Bug# 2093 Dynamic Validation and XML Schema
> Date: Tue, 28 Aug 2001 05:07:43 +0000 (Asia/Calcutta)
> From: Pavani Mukthipudi <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED],Pavani Mukthipudi
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> 
> cvs server: Diffing .
> Index: XMLValidator.java
> ===================================================================
> RCS file: 
> 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/validators/common/Attic/XM
> LValidator.java,v
> retrieving revision 1.186
> diff -c -r1.186 XMLValidator.java
> *** XMLValidator.java   2001/08/09 19:21:49     1.186
> --- XMLValidator.java   2001/08/28 05:01:25
> ***************
> *** 1151,1156 ****
> --- 1151,1161 ----
>         if (fNamespacesEnabled) {
>            bindNamespacesToElementAndAttributes(element, fAttrList);
>         }
> + 
> +       // modified
> +       if (fDynamicValidation && fGrammar==null) {
> +                fValidating = false;
> +       }
>   
>         if (!fSeenRootElement) {
>             fSeenRootElement = true;
> ***************
> *** 2413,2422 ****
>            if (fGrammar == null) {
>   
>               fGrammar = fGrammarResolver.getGrammar("");
> -             if (fDynamicValidation && fGrammar==null) {
> -                fValidating = false;
> -             }
>   
>               if (fGrammar != null) {
>                  if (fGrammar instanceof DTDGrammar) {
>                     fGrammarIsDTDGrammar = true;
> --- 2418,2431 ----
>            if (fGrammar == null) {
>   
>               fGrammar = fGrammarResolver.getGrammar("");
>   
> +           // Schema file is not yet parsed.This check should be done
> after the 
> method
> +             // bindNamespacesToElementAndAttributes() is called.
> + 
> +             // if (fDynamicValidation && fGrammar==null) {
> +             //   fValidating = false;
> +             // }
> +          
>               if (fGrammar != null) {
>                  if (fGrammar instanceof DTDGrammar) {
>                     fGrammarIsDTDGrammar = true;
> 
> 
> 
> -- 
> 
> Pavani Mukthipudi
> Sun Microsystems Inc.
> 
> Phone: 080 - 2298989   Extn: 87390
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 

Pavani Mukthipudi
Sun Microsystems Inc.

Phone: 080 - 2298989   Extn: 87390
Index: XMLValidator.java
===================================================================
RCS file: 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/validators/common/Attic/XMLValidator.java,v
retrieving revision 1.186
diff -c -r1.186 XMLValidator.java
*** XMLValidator.java   2001/08/09 19:21:49     1.186
--- XMLValidator.java   2001/08/28 17:15:47
***************
*** 1152,1157 ****
--- 1152,1162 ----
           bindNamespacesToElementAndAttributes(element, fAttrList);
        }
  
+       // modified
+       if (fDynamicValidation && fGrammar==null) {
+                fValidating = false;
+       }
+ 
        if (!fSeenRootElement) {
            fSeenRootElement = true;
        }
***************
*** 2413,2422 ****
           if (fGrammar == null) {
  
              fGrammar = fGrammarResolver.getGrammar("");
-             if (fDynamicValidation && fGrammar==null) {
-                fValidating = false;
-             }
  
              if (fGrammar != null) {
                 if (fGrammar instanceof DTDGrammar) {
                    fGrammarIsDTDGrammar = true;
--- 2418,2431 ----
           if (fGrammar == null) {
  
              fGrammar = fGrammarResolver.getGrammar("");
  
+           // Schema file is not yet parsed.This check should be done after the method
+             // bindNamespacesToElementAndAttributes() is called.
+ 
+             // if (fDynamicValidation && fGrammar==null) {
+             //   fValidating = false;
+             // }
+          
              if (fGrammar != null) {
                 if (fGrammar instanceof DTDGrammar) {
                    fGrammarIsDTDGrammar = true;

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

Reply via email to