You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2009/09/09 04:57:55 UTC

svn commit: r812754 - /xerces/java/trunk/src/org/apache/xerces/impl/xs/XSElementDecl.java

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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org