cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DemonShi <...@git.apache.org>
Subject [GitHub] cxf pull request: (CXF-6148) Added a basic support of xsd:choice e...
Date Tue, 09 Dec 2014 18:47:40 GMT
GitHub user DemonShi opened a pull request:

    https://github.com/apache/cxf/pull/37

    (CXF-6148) Added a basic support of xsd:choice elements in JS generator.

    This fix adds a basic support for xsd:choice elements.
    There are several limitations:
    * JS does not check xsd:choice restrictions (it is currently possible to set several xsd:choice
members at the same time, but this should eventually result in SOAP BE error)
    * xsd:choice with maxOccurs > 1 still not support
    * xsd:any inside xsd:choice is not supported as well
    
    Covered it with tests and did small improvement to the tests.
    Also added log message when not supported exception is raisen, since it was not enabled
previously.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DemonShi/cxf cxf-6148

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/37.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #37
    
----
commit 0ff70b6bc99733271ba556d53515d176e08a13bd
Author: Andrii Nikitiuk <demonshi.ua@gmail.com>
Date:   2014-12-09T18:38:32Z

    (CXF-6148) Added support for basic xsd:choice elements for JS generator. Covered with
tests and improved tests. Added log message when not supported exception is raisen.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message