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 "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org> on 2005/04/26 11:17:30 UTC

[jira] Kommentiert: (JAXME-49) Generated code does not implement JMElement

     [ http://issues.apache.org/jira/browse/JAXME-49?page=comments#action_63764 ]
     
Jochen Wiedmann commented on JAXME-49:
--------------------------------------

AFAIK, the specification requires only, that global elements be serializable. In other words, what you request is *not* portable. (I am open for discussions, though, if you give me pointers.) Note, in particular, that the sun implementation does *not* make the types
generated for inner elements to implement javax.xml.bind.

We can discuss, that this be implemented anyways. However, the main problem that I see is, that this would either require to create a pair element/type for the inner classes as well (element being an extension of type with the name added) or add the element name to the type, which would definitely be a break in style. Both I do not like that much.


> Generated code does not implement JMElement
> -------------------------------------------
>
>          Key: JAXME-49
>          URL: http://issues.apache.org/jira/browse/JAXME-49
>      Project: JaxMe
>         Type: Bug
>     Reporter: Marcus Schiesser

>
> The code generated using xjc does not implement JMElement. As the marshaller expects this a classcastexception is thrown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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