[
https://issues.apache.org/jira/browse/CXF-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525433
]
benson margulies commented on CXF-972:
--------------------------------------
Glen,
It passes the tests because I FIXED THE TESTS. It does NOT generate redundant
prefixes. The prefixes are created, lazily, for namespaces that aren't already
in the map. Since the patch put the tns prefix in the map first, the code finds
no need to generate redundant prefixes.
If you look at the replaced captured wsdl files, you'll see this happening.
> Define a tns prefix
> -------------------
>
> Key: CXF-972
> URL: https://issues.apache.org/jira/browse/CXF-972
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.1
> Reporter: benson margulies
> Fix For: 2.1
>
> Attachments: patches.tns.jar
>
>
> Currently, the CXF wsdl generator never creates a tns prefix. Types in the
> schema (or even wsdl) target namespace get automatically generated prefixes,
> like 'ns1'. The wsdl's would be more readable with the explicit namespace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.