Issue Type: Improvement Improvement
Affects Versions: 1.5
Assignee: Unassigned
Created: 30/Sep/13 2:09 AM
Description:

If i declare named type's in my jaxb classses their declarations in xsd are pointing to missing namespace "tns".

Package:
@javax.xml.bind.annotation.XmlSchema(elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED, namespace="http://www.someuri")

Class:
@XmlType(name = "SomeType", namespace="##default")

POM:
<transformSchemas>
<transformSchema>
<uri>http://www.someuri</uri>
<toPrefix>som</toPrefix>
<toFile>some.xsd</toFile>
</transformSchema>
</transformSchemas>

RESULT:
some.xsd contains

  • xmlns:som="http://www.someuri"
    and
  • <xs:element name="..." type="tns:SomeType"/>
Project: Mojo's JAXB-2 Maven Plugin
Priority: Blocker Blocker
Reporter: Dieter König
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