You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by nd...@apache.org on 2005/06/21 16:06:57 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom ElementImpl.java

nddelima    2005/06/21 07:06:57

  Modified:    java/src/org/apache/xerces/dom ElementImpl.java
  Log:
  A TypeInfo.getTypeName(...) bug fix.
  
  Revision  Changes    Path
  1.71      +5 -2      xml-xerces/java/src/org/apache/xerces/dom/ElementImpl.java
  
  Index: ElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/ElementImpl.java,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- ElementImpl.java	2 May 2005 22:02:22 -0000	1.70
  +++ ElementImpl.java	21 Jun 2005 14:06:57 -0000	1.71
  @@ -1062,7 +1062,10 @@
   	 * @return TypeInfo
   	 */
       public TypeInfo getSchemaTypeInfo(){
  -      return this;
  +        if(needsSyncData()) {
  +            synchronizeData();
  +        }
  +        return this;
       }
   
       //
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org