You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Julien Blass (Created) (JIRA)" <ji...@apache.org> on 2012/01/19 15:58:42 UTC

[jira] [Created] (WODEN-232) xml:lang attribute not written on the DocumentationElements

xml:lang attribute not written on the DocumentationElements
-----------------------------------------------------------

                 Key: WODEN-232
                 URL: https://issues.apache.org/jira/browse/WODEN-232
             Project: Woden
          Issue Type: Bug
    Affects Versions: M9
            Reporter: Julien Blass


I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Assigned] (WODEN-232) xml:lang attribute not written on the DocumentationElements

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  reassigned WODEN-232:
----------------------------------------

    Assignee: Sagara Gunathunga 
    
> xml:lang attribute not written on the DocumentationElements
> -----------------------------------------------------------
>
>                 Key: WODEN-232
>                 URL: https://issues.apache.org/jira/browse/WODEN-232
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M9
>            Reporter: Julien Blass
>            Assignee: Sagara Gunathunga 
>         Attachments: DOMWSDLWriterTest.java, primer-hotelReservationService.wsdl, woden-impl-commons.patch, woden-impl-dom.patch
>
>
> I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
> When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
> In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-232) xml:lang attribute not written on the DocumentationElements

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated WODEN-232:
-------------------------------------

    Fix Version/s: 1.0
    
> xml:lang attribute not written on the DocumentationElements
> -----------------------------------------------------------
>
>                 Key: WODEN-232
>                 URL: https://issues.apache.org/jira/browse/WODEN-232
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M9
>            Reporter: Julien Blass
>            Assignee: Sagara Gunathunga 
>             Fix For: 1.0
>
>         Attachments: DOMWSDLWriterTest.java, primer-hotelReservationService.wsdl, woden-impl-commons.patch, woden-impl-dom.patch
>
>
> I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
> When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
> In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-232) xml:lang attribute not written on the DocumentationElements

Posted by "Julien Blass (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Blass updated WODEN-232:
-------------------------------

    Attachment: primer-hotelReservationService.wsdl
                DOMWSDLWriterTest.java

Here are updates of the DOMWSDLWriterTest class and the primer-hotelReservationService.wsdl resource found in the woden-dom project, that emphasize the bug.
I added a documentation element with an xml:lang attribute in the WSDL, and two assertions in the method testWriteWSDLDescriptionElementWriterWithDocumentationContainingAttributes() of the Junit test class to check for the presence of the attribute.
                
> xml:lang attribute not written on the DocumentationElements
> -----------------------------------------------------------
>
>                 Key: WODEN-232
>                 URL: https://issues.apache.org/jira/browse/WODEN-232
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M9
>            Reporter: Julien Blass
>         Attachments: DOMWSDLWriterTest.java, primer-hotelReservationService.wsdl, woden-impl-commons.patch, woden-impl-dom.patch
>
>
> I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
> When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
> In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (WODEN-232) xml:lang attribute not written on the DocumentationElements

Posted by "Julien Blass (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Blass updated WODEN-232:
-------------------------------

    Attachment: woden-impl-dom.patch
                woden-impl-commons.patch

Proposed patches that manage :
* printing of reserved prefix for XML namespace URI
* printing of attributes set within wsdl document elements
                
> xml:lang attribute not written on the DocumentationElements
> -----------------------------------------------------------
>
>                 Key: WODEN-232
>                 URL: https://issues.apache.org/jira/browse/WODEN-232
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M9
>            Reporter: Julien Blass
>         Attachments: woden-impl-commons.patch, woden-impl-dom.patch
>
>
> I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
> When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
> In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Commented] (WODEN-232) xml:lang attribute not written on the DocumentationElements

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189210#comment-13189210 ] 

Sagara Gunathunga  commented on WODEN-232:
------------------------------------------

Can you provide a sample or test case to recreate the original issue you mentioned ? 
                
> xml:lang attribute not written on the DocumentationElements
> -----------------------------------------------------------
>
>                 Key: WODEN-232
>                 URL: https://issues.apache.org/jira/browse/WODEN-232
>             Project: Woden
>          Issue Type: Bug
>    Affects Versions: M9
>            Reporter: Julien Blass
>         Attachments: woden-impl-commons.patch, woden-impl-dom.patch
>
>
> I try to write a WSDL document by manipulating the Woden API but could not find the way to add an xml:lang attribute on a wsdl documentation element.
> When I looked for the source of the DOMWSDLWriter class, I found that the printExtensibilityAttributes() and printExtensibilityElements() have been commented for reasons not really detailed. 
> In a previous need, I had to add specific nodes in the documentation element. I could have reached that point by creating a DOM Element with a fake root element, that I put as content of an instance of DocumentationElement. I though first that adding an attribute on my fake root element might have been a solution to print attributes on documentations, but it seems that this approach has not been considered. It seems to be a bug or did I missed something?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org