You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by du...@apache.org on 2001/05/25 21:26:47 UTC

cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMIDeserializer.java XMISerializer.java

duftler     01/05/25 12:26:47

  Modified:    java/src/org/apache/soap/util/xml XMIDeserializer.java
                        XMISerializer.java
  Log:
  Put 2 lines back into XMISerializer and XMIDeserializer (the same 1 line in each,
  actually) to enable them to work with the xmisoap.jar which is posted on the site.
  These lines were originally there, but were removed to try to work with the latest
  XMI version. For now, the code works with the posted version.
  Submitted by: Bill Nagy (nagy@watson.ibm.com)
  Reviewed by: Matthew J. Duftler (duftler@us.ibm.com)
  
  Revision  Changes    Path
  1.6       +1 -0      xml-soap/java/src/org/apache/soap/util/xml/XMIDeserializer.java
  
  Index: XMIDeserializer.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/xml/XMIDeserializer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMIDeserializer.java	2001/01/08 17:18:32	1.5
  +++ XMIDeserializer.java	2001/05/25 19:26:39	1.6
  @@ -92,6 +92,7 @@
       byte[] bytes = document.getBytes();
       ByteArrayInputStream bs = new  ByteArrayInputStream(bytes);
   
  +    com.ibm.xmi.framework.WriterFactory.setInline(true);
       Collection objects = Job.readObjects(bs);
   
       try{
  
  
  
  1.9       +1 -0      xml-soap/java/src/org/apache/soap/util/xml/XMISerializer.java
  
  Index: XMISerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/xml/XMISerializer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMISerializer.java	2001/05/17 21:24:27	1.8
  +++ XMISerializer.java	2001/05/25 19:26:41	1.9
  @@ -107,6 +107,7 @@
   
       // removed: GDA 4/17/2001 tmpin.connect(tmpout);
   
  +    com.ibm.xmi.framework.WriterFactory.setInline(true);
       Job.writeObjects((List)olist, (OutputStream)tmpout);
       sink.write(tmpout.toString());