Issue Type: Bug Bug
Affects Versions: 1.5
Assignee: Unassigned
Created: 10/Sep/13 6:00 AM
Description:

In the plugin's configuration transformSchema section the target namespace prefix and target schema file name is configured for a certain namespace uri.
While running this plugin to generate schema files from annotated classes, first a file named schema1.xsd is created, which uses for that namespace tns as prefix. In a second step this file is renamed to the filename as specified in the transformSchema section and the tns prefix replaced by the prefix as configured in the same section.
BUT: this prefix replacement is not complete, it does - at least - miss the type and base attributes

Example excerpts from such a schema file:

<xs:element name="someOtherImportItem" type="tns:someOtherImportItem"/>

or

<xs:complexType name="someImportItem">
     <xs:complexContent>
       <xs:extension base="tns:importItem">
...

I attached an example project

Project: Mojo's JAXB-2 Maven Plugin
Priority: Major Major
Reporter: Stefan Albrecht
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to