[jboss-jira] [JBoss JIRA] Created: (JBXB-208) Provide an annotation based tutorial for JBossXB

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jul 1 04:07:31 EDT 2009


Provide an annotation based tutorial for JBossXB
------------------------------------------------

                 Key: JBXB-208
                 URL: https://jira.jboss.org/jira/browse/JBXB-208
             Project: JBoss XML Binding (JBossXB)
          Issue Type: Bug
            Reporter: Thomas Diesler


You've specified the namespace using JBossXmlSchema annotation. Which is correct. You should still add namespace element to the XmlRootElement annotation, which is a bit confusing having JBossXmlSchema. You don't have to do that XmlElement annotations.

Unfortunately, we don't have JAXB tutorial for JBossXB. But you can find one for JAXB on Sun's web-site and use javadoc. For examples you can see tests in XB http://anonsvn.jboss.org/repos/common/jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/

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

        



More information about the jboss-jira mailing list