You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2012/03/15 00:42:16 UTC

svn commit: r1300788 - /xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java

Author: mrglavas
Date: Wed Mar 14 23:42:16 2012
New Revision: 1300788

URL: http://svn.apache.org/viewvc?rev=1300788&view=rev
Log:
Fixing a compilation error caused by recent refactoring.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java

Modified: xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java?rev=1300788&r1=1300787&r2=1300788&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/samples/xs/XSSerializer.java Wed Mar 14 23:42:16 2012
@@ -39,7 +39,7 @@ import org.apache.xerces.impl.xs.identit
 import org.apache.xerces.impl.xs.identity.IdentityConstraint;
 import org.apache.xerces.impl.xs.identity.KeyRef;
 import org.apache.xerces.impl.xs.identity.Selector;
-import org.apache.xerces.impl.xs.util.XSTypeHelper;
+import org.apache.xerces.impl.xs.util.XS11TypeHelper;
 import org.apache.xerces.xs.StringList;
 import org.apache.xerces.xs.XSAttributeUse;
 import org.apache.xerces.xs.XSComplexTypeDefinition;
@@ -885,7 +885,7 @@ public class XSSerializer {
             String requiredVal = (attrUse.getRequired() == true) ? SchemaSymbols.ATTVAL_REQUIRED : SchemaSymbols.ATTVAL_OPTIONAL;           
             XSAttributeDecl attrDecl = (XSAttributeDecl) attrUse.getAttrDeclaration();
             XSComplexTypeDefinition enclosingCTDefn = attrDecl.getEnclosingCTDefinition();
-            boolean complexTypesIdentical = (enclosingCTDefn == null) ? false : XSTypeHelper.isSchemaTypesIdentical(complexTypeDecl, enclosingCTDefn);
+            boolean complexTypesIdentical = (enclosingCTDefn == null) ? false : XS11TypeHelper.isSchemaTypesIdentical(complexTypeDecl, enclosingCTDefn);
             // do not add attributes, from the base type. they will be serialized as part of the base type serialization.
             if (complexTypesIdentical) {
                 addAttributeToSchemaComponent(document, parentDomNode, attrDecl, constraintName, constraintVal, requiredVal); 



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