-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jaxp issue #12799
Comments
I have added many class which seems loaded by reflection in cxf or in jab jaxp but still failing. reflectiveItems.produce(new ReflectiveClassBuildItem(true, true, |
Have you tried adding a dependency to |
yes I have already added it ;-) |
the whole project is in https://github.com/dufoli/quarkus-cxf |
I have nother exception upper: |
@dufoli If I understand correctly, the problem is that I am myself not that familiar with jaxp / jaxb apis, but managed to find a place a bit earlier where the nsUri is returned as blank: (localname is schema, so that is the right tag). I started a bit of cleanup in https://github.com/Postremus/quarkus-cxf/commits/try-fix-native-tests. |
hello @Postremus , |
OK, I have gone further... com.sun.xml.txw2.ContainerElement handle the invoke method |
ok got the point. Indeed, I end exactly to the same place. So XMLNamespace target (package) must be loaded. |
I have sent a pull request for that and few other things: |
Is this still an issue? |
The code is inside cxf extension for quarkus. I try to fix the native support. But I am stuck on an issue with jaxp.
I have added a substitution to debug and my schema seems right but the namespace is not returned.
Utilisation of JAXP in native with Document()
Code executed
DOMSource domSource = new DOMSource(d);
StringWriter writer = new StringWriter();
StreamResult result = new StreamResult(writer);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer transformer = null;
try {
transformer = tf.newTransformer();
transformer.transform(domSource, result);
} catch (Exception e) {
}
The text was updated successfully, but these errors were encountered: