Skip to main content

@XmlNs and Marshalling, are they related?

1 reply [Last post]
bmargulies
Offline
Joined: 2006-01-01

In 2.0, I find that the default Marshaller ignores namespace prefixes specified by @XmlNs annotations. Is this a feature or a defect? Is the situation the same in 2.1?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mshaffer55
Offline
Joined: 2007-02-07

You are using @XmlNs to set @XmlSchema.xmlns, and it doesn't work? That sounds like a defect to me.