You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by am...@apache.org on 2011/01/07 13:33:04 UTC

svn commit: r1056285 - /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Author: amilas
Date: Fri Jan  7 12:33:04 2011
New Revision: 1056285

URL: http://svn.apache.org/viewvc?rev=1056285&view=rev
Log:
fixed the issue AXIS2-4174

Modified:
    axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Modified: axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?rev=1056285&r1=1056284&r2=1056285&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java (original)
+++ axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java Fri Jan  7 12:33:04 2011
@@ -1652,6 +1652,7 @@ public class SchemaCompiler {
                 String patternString = pattern.getValue().toString();
                 // replace backword slashes
                 patternString = patternString.replaceAll("\\\\", "\\\\\\\\");
+                patternString = patternString.replaceAll("\"","\\\\\"");
                 if ((metaInfHolder.getPatternFacet() != null) &&
                         (metaInfHolder.getPatternFacet().trim().length() > 0)){
                     // i.e there is a pattern faceset