Comments (2)
@lukasj After we upgraded from JAXB-RI 4.0.2 to 4.03 we started getting form=qualified added to all our xsd elements that are generated using the com.sun.xml.ws:jaxws-maven-plugin. We don't find anything in the JAXB-RI release notes that seem related, but we stumbled on this change and It seems like it could be related. Do you know of a way to stop that from happening?
I've tried adding the following to the package-info.java
@jakarta.xml.bind.annotation.XmlSchema (
elementFormDefault= XmlNsForm.UNQUALIFIED
)
For example using JAXB-RI 4.0.3 "element1" has form="qualified"...
<xs:element name="element1" type="xs:string" form="qualified" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
If I move back to JAXB-RI 4.0.2 then form="qualified" is gone.
<xs:element name="element1" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
I am aware that it is recommended to qualify all elements, but I am hesitant to inform all of our clients as it would require them to modify their SOAP requests, and I fear the potential backlash that could result from it.
from jaxb-ri.
that regression is now fixed
from jaxb-ri.
Related Issues (20)
- Unexpected form=qualified Attribute in XSD Elements After Upgrading to JAXB-RI 4.0.3 HOT 1
- Add istack-commons-tools to jaxb-bom HOT 6
- ElementOutlineImpl produces raw type and proposed fix
- License information is inconsistent HOT 1
- ElementOutlineImpl omits serialVersionUID and proposed fix
- Issues due to #1734 #1746 HOT 1
- txw runtime and compiler should have different module names
- Move JavaCompiler, Reference and J2SJAXBModel from XJC API to JXC API
- Remove JavaCompiler, Reference and J2SJAXBModel from XJC API
- Update ant tasks
- Allow globalBindings to set nameXmlTransform like in schemaBindings HOT 2
- [Regress] Namespace inheritance by children element
- Dependency Exclusion for stax-ex in jaxb-bom is incompatible with dependency:analyze-dep-mgt
- XJC ConstField generates empty javadoc comment blocks
- Backport of PR in v2.x
- schemaLocation="*" leads to issue in applicated binding
- Backport 1661 fix for 3.x
- Unmarshalling Issues HOT 1
- Custom namespace marshalling using JAXB RI results in property "org.glassfish.jaxb.runtime.marshaller.NamespacePrefixMapper" is not supported HOT 3
- JAXB.unmarshal of string fails with data generated by JAXB.marshal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaxb-ri.