ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-89) Case-insensitivity issues
Date Fri, 13 Apr 2012 20:04:17 GMT

    [ https://issues.apache.org/jira/browse/AXIOM-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253696#comment-13253696
] 

Hudson commented on AXIOM-89:
-----------------------------

Integrated in ws-axiom-trunk #867 (See [https://builds.apache.org/job/ws-axiom-trunk/867/])
    Refactored the test case for AXIOM-89. (Revision 1325900)

     Result = FAILURE
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/test/java/org/apache/axiom/om/impl/dom/NamespaceTest.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestFindNamespaceCaseSensitivity.java

                
> Case-insensitivity issues
> -------------------------
>
>                 Key: AXIOM-89
>                 URL: https://issues.apache.org/jira/browse/AXIOM-89
>             Project: Axiom
>          Issue Type: Bug
>            Reporter: Alexander Veit
>
> The following usage of equalsIgnoreCase seems to be incorrect.
> CI01) org.apache.axiom.om.impl.builder.XOPAwareStAXOMBuilder#createOMElement()
> - MTOMConstants.XOP_INCLUDE.equalsIgnoreCase(elementName)
>  the spec defines "Include" [1]
>  
> - MTOMConstants.XOP_NAMESPACE_URI.equalsIgnoreCase(namespaceURI))
>  namespace URIs are case sensitive [2]
> CI02) org.apache.axiom.soap.impl.builder.MTOMStAXSOAPModelBuilder#createOMElement()
>  - XOP_INCLUDE.equalsIgnoreCase(elementName)
>  the spec defines "Include" [1]
>  - XOP_NAMESPACE_URI.equalsIgnoreCase(namespaceURI))
>  namespace URIs are case sensitive [2]
> CI03) org.apache.axiom.om.impl.dom.ElementImpl#findDeclaredNamespace(String, String)
>  - (namespace != null && uri.equalsIgnoreCase(namespace.getNamespaceURI()))
>  namespace URIs are case sensitive [2]
> CI04) org.apache.axiom.soap.impl.dom.soap11.SOAP11HeaderBlockImpl#getMustUnderstand()
>  - SOAPConstants.ATTR_MUSTUNDERSTAND_TRUE.equalsIgnoreCase(mustUnderstand)
>  xsd:boolean literals are lower case [3]
>  - SOAPConstants.ATTR_MUSTUNDERSTAND_1.equalsIgnoreCase(mustUnderstand)
>  not applicable
>  - SOAPConstants.ATTR_MUSTUNDERSTAND_FALSE.equalsIgnoreCase(mustUnderstand)
>  xsd:boolean literals are lower case [3]
>  - SOAPConstants.ATTR_MUSTUNDERSTAND_0.equalsIgnoreCase(mustUnderstand)
>  not applicable
> CI05) org.apache.axiom.soap.impl.dom.soap12.SOAP12HeaderBlockImpl#getMustUnderstand()
>  same as CI04
> CI06) org.apache.axiom.soap.impl.dom.SOAPHeaderImpl#examineMustUnderstandHeaderBlocks(String)
>  - (role != null) && role.equalsIgnoreCase(actor)
>  namespace URIs are case sensitive [2,4]
> CI07) org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderBlockImpl#getMustUnderstand()
>  same as CI04
> CI08) org.apache.axiom.soap.impl.llom.soap12.SOAP12HeaderBlockImpl#getMustUnderstand()
>  same as CI04
> [1] http://www.w3.org/2004/08/xop/include
> [2] http://www.w3.org/TR/REC-xml-names/#NSNameComparison
> [3] http://www.w3.org/TR/xmlschema-2/#boolean
> [4] http://www.w3.org/2003/05/soap-envelope/

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


Mime
View raw message