cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "benson margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-972) Define a tns prefix
Date Thu, 06 Sep 2007 15:00:34 GMT

    [ 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.


Mime
View raw message