You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2007/03/01 06:04:17 UTC

svn commit: r513143 - /webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java

Author: amilas
Date: Wed Feb 28 21:04:17 2007
New Revision: 513143

URL: http://svn.apache.org/viewvc?view=rev&rev=513143
Log:
applied the patch for AXIS2-1993.

Modified:
    webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java

Modified: webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java?view=diff&rev=513143&r1=513142&r2=513143
==============================================================================
--- webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java (original)
+++ webservices/axis2/trunk/java/modules/xmlbeans/src/org/apache/axis2/xmlbeans/CodeGenerationUtility.java Wed Feb 28 21:04:17 2007
@@ -574,7 +574,7 @@
             try {
                 for (int i = 0; i < schemas.length; i++) {
                     XmlSchema schema = schemas[i];
-                    if (schema.getSourceURI() != null && schema.getSourceURI().endsWith(systemId)) {
+                    if (schema.getSourceURI() != null && schema.getSourceURI().endsWith(systemId.replaceAll("\\\\","/"))) {
                         try {
                             return new InputSource(getSchemaAsReader(schemas[i]));
                         } catch (IOException e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org