cvs commit: xml-axis-wsif/java/src/org/apache/wsif/compiler/schema/tools Schema2Java.java

[email protected]
Newsgroups gmane.comp.apache.webservices.wsif.devel
Message-ID <[email protected]>
owenb       2003/07/18 07:34:31

  Modified:    java/src/org/apache/wsif/compiler/schema/tools
                        Schema2Java.java
  Log:
  Fix for bugzilla 21437 - http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21437
  
  Revision  Changes    Path
  1.13      +4 -4      xml-axis-wsif/java/src/org/apache/wsif/compiler/schema/tools/Schema2Java.java
  
  Index: Schema2Java.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/compiler/schema/tools/Schema2Java.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Schema2Java.java	26 Feb 2003 15:55:19 -0000	1.12
  +++ Schema2Java.java	18 Jul 2003 14:34:31 -0000	1.13
  @@ -112,9 +112,9 @@
           registry.put(new QName(schemaURI, "boolean"), "boolean");
           registry.put(new QName(schemaURI, "float"), "float");
           registry.put(new QName(schemaURI, "double"), "double");
  -        registry.put(new QName(schemaURI, "binary"), "byte[]");
  -        registry.put(new QName(schemaURI, "base64Binary"), "byte[]");
  -        registry.put(new QName(schemaURI, "hexBinary"), "byte[]");
  +        registry.put(new QName(schemaURI, "binary"), "[B");
  +        registry.put(new QName(schemaURI, "base64Binary"), "[B");
  +        registry.put(new QName(schemaURI, "hexBinary"), "[B");
           registry.put(new QName(schemaURI, "long"), "long");
           registry.put(new QName(schemaURI, "int"), "int");
           registry.put(new QName(schemaURI, "short"), "short");
  @@ -163,7 +163,7 @@
               "java.lang.Byte");
           registry.put(
               new QName(WSIFConstants.NS_URI_SOAP_ENC, "base64"),
  -            "byte[]");
  +            "[B");
       }
   
       /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.