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 2008/09/12 21:06:44 UTC

[jira] Resolved: (JAXME-100) Can't have attribute and element with the same name

     [ https://issues.apache.org/jira/browse/JAXME-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Wiedmann resolved JAXME-100.
-----------------------------------

    Resolution: Invalid
      Assignee: Jochen Wiedmann

Use <jaxb:property name="SomeElement"/> on either element or attribute. See

    http://java.sun.com/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html

for details. And, please, use the mailing list and not the bug tracking system for support.


> Can't have attribute and element with the same name
> ---------------------------------------------------
>
>                 Key: JAXME-100
>                 URL: https://issues.apache.org/jira/browse/JAXME-100
>             Project: JaxMe
>          Issue Type: Bug
>          Components: JaxMe Core
>    Affects Versions: 0.5
>            Reporter: Arnout Engelen
>            Assignee: Jochen Wiedmann
>
> I'm describing a webservice containing an element that has an 'artist' attribute as well as an 'artist' child element.
> Is it possible to model that? When doing it the traditional way I get 'The class net.bzzt.lastfmlib.model.impl.SimilarartistsTypeImpl already has a field _artist.'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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