You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Frank Cornelis (JIRA)" <ji...@apache.org> on 2007/10/24 16:02:50 UTC

[jira] Created: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

xmlsec NPE on Reference URI and ValueType attributes
----------------------------------------------------

                 Key: WSS-93
                 URL: https://issues.apache.org/jira/browse/WSS-93
             Project: WSS4J
          Issue Type: Bug
            Reporter: Frank Cornelis
            Assignee: Ruchith Udayanga Fernando


Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

Posted by "Frank Cornelis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537556 ] 

Frank Cornelis commented on WSS-93:
-----------------------------------

Apparently this patch breaks other things in WSS4J. Will try to investigate this in more detail.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

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

Fred Dushin reassigned WSS-93:
------------------------------

    Assignee: Fred Dushin  (was: Ruchith Udayanga Fernando)

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Fred Dushin
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[ANN]VTD-XML 2.2

Posted by jimmy Zhang <jz...@ximpleware.com>.
XimpleWare is proud to announce the the release of version 2.2 of VTD-XML, 
the next generation XML parsers/indexer/slicer/editor. This release 
significantly expands VTD-XML's ability to slice, split, edit and 
incrementally update the XML documents. To this end, we introduce the 
concept of namespace-compensated element fragment. This release also adds 
VTD+XML index writing capability to the VTD Navigator class. Other 
enhancements in this release include index size pre-computation, support for 
HTTP get, and some bug fixes.



To download the latest release, please go to 
http://sourceforge.net/project/showfiles.php?group_id=110612.



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


[jira] Updated: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

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

Frank Cornelis updated WSS-93:
------------------------------

    Attachment: Reference-attribute-NS.patch

The patch Reference-attribute-NS.patch fixes this issue.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587749#action_12587749 ] 

Fred Dushin commented on WSS-93:
--------------------------------

I applied your first patch, which includes changes to the getAttribute calls on the Element, and that seems to work fine in the WSS4J tests.  Please advise if you know of other areas your first patch may break (e.g., outside of WSS4J)

I'll commit the patch without a test case, as the code is hit many times in the WSS4J tests.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

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

Frank Cornelis updated WSS-93:
------------------------------

    Attachment: Reference-attribute-NS-2.patch

For somehow reason Reference-attribute-NS-2.patch seems to work.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

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

Fred Dushin resolved WSS-93.
----------------------------

    Resolution: Fixed

patch applied, with unit test

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Fred Dushin
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587784#action_12587784 ] 

Fred Dushin commented on WSS-93:
--------------------------------

Added a unit test, after all.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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