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/07/13 21:23:20 UTC

cvs commit: ws-jaxme/src/xs/org/apache/ws/jaxme/xs/jaxb/impl JAXBElementImpl.java

jochen      2005/07/13 12:23:20

  Modified:    .        status.xml
               src/xs/org/apache/ws/jaxme/xs/jaxb/impl JAXBElementImpl.java
  Log:
  Fixed a ClassCastException, which appeared for unknown
  reasons.
  
  Revision  Changes    Path
  1.61      +4 -0      ws-jaxme/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/status.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- status.xml	8 Jul 2005 20:43:57 -0000	1.60
  +++ status.xml	13 Jul 2005 19:23:20 -0000	1.61
  @@ -50,6 +50,10 @@
           Fixed that the generator didn't detect top level groups with
           multiplicity > 1 in a complex type.
         </action>
  +      <action dev="JW" type="fix" context="generator">
  +        Fixed a ClassCastException, which appeared for unknown
  +        reasons.
  +      </action>
   	</release>
       <release version="0.4" date="2005-May-19">
         <action dev="JW" type="fix" context="xs">
  
  
  
  1.3       +1 -1      ws-jaxme/src/xs/org/apache/ws/jaxme/xs/jaxb/impl/JAXBElementImpl.java
  
  Index: JAXBElementImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/jaxb/impl/JAXBElementImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JAXBElementImpl.java	16 Feb 2004 23:39:56 -0000	1.2
  +++ JAXBElementImpl.java	13 Jul 2005 19:23:20 -0000	1.3
  @@ -61,7 +61,7 @@
       if (jaxbProperty == null) {
         XsTElement elem = (XsTElement) getXsObject();
         if (elem.getRef() != null) {
  -        JAXBElement refElem = (JAXBElement) getXSSchema().getAttribute(elem.getRef());
  +        JAXBElement refElem = (JAXBElement) getXSSchema().getElement(elem.getRef());
           if (refElem != null) {
             jaxbProperty = refElem.getJAXBProperty();
           }
  
  
  

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