incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eno...@apache.org
Subject svn commit: r487289 - /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
Date Thu, 14 Dec 2006 18:17:58 GMT
Author: enolan
Date: Thu Dec 14 10:17:57 2006
New Revision: 487289

URL: http://svn.apache.org/viewvc?view=rev&rev=487289
Log:
yoko-244 fix failure

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java?view=diff&rev=487289&r1=487288&r2=487289
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/CorbaStaxObject.java
Thu Dec 14 10:17:57 2006
@@ -275,8 +275,8 @@
         throws CorbaBindingException {
         try {
             StartElement startEl = reader.nextEvent().asStartElement();
-            // Characters charEl = reader.nextEvent().asCharacters();
-            Characters charEl = null;
+            Characters charEl = reader.nextEvent().asCharacters();
+            /*Characters charEl = null;
             XMLEvent event = reader.nextEvent();
             if (event.isStartElement()){
                 charEl = reader.nextEvent().asCharacters();
@@ -289,7 +289,9 @@
             event = reader.nextEvent();
             if (event.isEndElement()) {
                 event.asEndElement();
-            }                
+            }                */
+
+            reader.nextEvent().asEndElement();
             
             if (tc.kind().value() == TCKind._tk_any) {
                 Iterator attrIter = startEl.getAttributes();



Mime
View raw message