You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/02/03 22:22:05 UTC
[jira] Commented: (WSCOMMONS-161) OMSourcedElementImpl forceExpand
should update the prefix
[ https://issues.apache.org/jira/browse/WSCOMMONS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469995 ]
Rich Scheuerle commented on WSCOMMONS-161:
------------------------------------------
Committed revision 503313.
> OMSourcedElementImpl forceExpand should update the prefix
> ---------------------------------------------------------
>
> Key: WSCOMMONS-161
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-161
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Reporter: Rich Scheuerle
> Assigned To: Rich Scheuerle
> Attachments: codepatch.txt, testpatch.txt, testpatch.txt
>
>
> Chunlong Liang found the following issue during C14N processing.
> An OMSourcedElementImpl is constructed with a namespace, localPart and prefix.
> When the OMSourcedElementImpl is expanded, the prefix should be updated with the new value (from the OMDataSource parse).
> I have supplied a patch that properly updates the prefix on the OMSourcedElement during expansion.
> NOTE: OMSourcedElementImpl verifies that the namespace uri and local name are not changed during expansion. This validation is not changed by this patch. This patch only updates the prefix name.
> I have supplied 12 new tests that validate the behavior. I included tests that intentionally fail if an attempt is made to use a namespace uri or local name that is different than the one in the OMDataSource.
> I have verified this patch with all of the Axiom and Axis2 tests. I will commit the patches later today or Sunday.
> Scheu
--
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org