Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313803

Summary: Support for XML ORM annotations in XSD models
Product: [Modeling] EMFT Reporter: pesco <pescosolido>
Component: TexoAssignee: Martin Taal <mtaal>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description pesco CLA 2010-05-20 15:49:13 EDT
Texo (and Teneo) should support XML annotations from the Java Persistence ORM schema, similarly to how they are handled in HyperJaxb3.
Comment 1 Martin Taal CLA 2010-05-20 16:07:50 EDT
An example:

  <xsd:schema
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
              xmlns:hj="http://hyperjaxb3.jvnet.org/ejb/schemas/customizations"
              xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
              jaxb:extensionBindingPrefixes="hj orm">

              <!-- ... -->

              <xsd:complexType name="USAddress">
                      <xsd:annotation>
                              <xsd:appinfo>
                                      <hj:entity>
                                              <orm:table name="address"/>
                                      </hj:entity>
                              </xsd:appinfo>
                      </xsd:annotation>

                      <!-- ... -->

              </xsd:complexType>

              <!-- ... -->
       </xsd:schema>