Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
Description
In SchemaBuilder, when an "unknown" attribute contains a ":", it tries to create an xmlns attribute for the prefix so the qname can be parsed later. However, it does so via:
Attr nsAttr = attrEl.getOwnerDocument().createAttribute("xmlns:" + prefix);
nsAttr.setValue(namespace);
attrs.add(nsAttr);
which doesn't set the namespace to the xmlns namespace. This causes problems when serializing later.
Attachments
Issue Links
- is depended upon by
-
CXF-6207 While Parsing wsdl url getting NAMESPACE_ERR
- Closed