Author: sandygao
Date: Wed Sep  9 02:57:55 2009
New Revision: 812754

URL: http://svn.apache.org/viewvc?rev=812754&view=rev
Log:
When resetting XSElementDecl, we need to clear the "scope" field.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java

Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java?rev=812754&r1=812753&r2=812754&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java 
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java Wed Sep  
9 02:57:55 2009
@@ -170,7 +170,7 @@
       * Reset current element declaration
       */
     public void reset(){
-
+        fScope = XSConstants.SCOPE_ABSENT;
         fName = null;
         fTargetNamespace = null;
         fType = null;



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to