You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2010/08/11 10:47:43 UTC
svn commit: r984342 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
Author: mukulg
Date: Wed Aug 11 08:47:43 2010
New Revision: 984342
URL: http://svn.apache.org/viewvc?rev=984342&view=rev
Log:
fix for problems with XSSerializer
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java?rev=984342&r1=984341&r2=984342&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java Wed Aug 11 08:47:43 2010
@@ -38,9 +38,11 @@ public class XSTypeHelper {
String type1Name = typeDefn1.getName();
String type2Name = typeDefn2.getName();
- if ("anyType".equals(type1Name) &&
- "anyType".equals(type2Name)) {
- typesIdentical = true;
+ if (("anyType".equals(type1Name) &&
+ "anyType".equals(type2Name)) ||
+ ("anySimpleType".equals(type1Name) &&
+ "anySimpleType".equals(type2Name))) {
+ typesIdentical = true;
}
if (!typesIdentical) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org