You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2005/11/24 22:03:45 UTC

svn commit: r348800 - in /webservices/jaxme/branches/b0_5: src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java src/test/jaxb/types.xsd status.xml

Author: jochen
Date: Thu Nov 24 13:03:27 2005
New Revision: 348800

URL: http://svn.apache.org/viewcvs?rev=348800&view=rev
Log:
The collection type "indexed" didn't handle strings properly.

Modified:
    webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java
    webservices/jaxme/branches/b0_5/src/test/jaxb/types.xsd
    webservices/jaxme/branches/b0_5/status.xml

Modified: webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java?rev=348800&r1=348799&r2=348800&view=diff
==============================================================================
--- webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java (original)
+++ webservices/jaxme/branches/b0_5/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/MultiplePropertySG.java Thu Nov 24 13:03:27 2005
@@ -63,7 +63,11 @@
 		return getInstanceClass().isPrimitive();
 	}
 	protected JavaQName getObjectClass() throws SAXException {
-		return getInstanceClass().getObjectType();
+		JavaQName result = getInstanceClass().getObjectType();
+		if (result == null) {
+			result = getInstanceClass();
+		}
+		return result;
 	}
 	protected Object asObject(Object pObject) throws SAXException {
 		if (isAutoBoxing()) {

Modified: webservices/jaxme/branches/b0_5/src/test/jaxb/types.xsd
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/b0_5/src/test/jaxb/types.xsd?rev=348800&r1=348799&r2=348800&view=diff
==============================================================================
Binary files - no diff available.

Modified: webservices/jaxme/branches/b0_5/status.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/b0_5/status.xml?rev=348800&r1=348799&r2=348800&view=diff
==============================================================================
--- webservices/jaxme/branches/b0_5/status.xml (original)
+++ webservices/jaxme/branches/b0_5/status.xml Thu Nov 24 13:03:27 2005
@@ -58,6 +58,10 @@
         declared by the marshaller. (JAXME-72, Andreas Arrgård,
         andreas.arrgard at octagroup.com)
       </action>
+      <action dev="JW" type="fix" context="generator">
+        The "indexed" collection type didn't handle strings properly.
+        (Ricardo Brito da Rocha, ricardo.rocha at cern.ch)
+      </action>
     </release>
 	<release version="0.5" date="2005-Aug-08">
       <action dev="JW" type="enhancement" context="js">



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