[
https://issues.apache.org/jira/browse/AXIS2C-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Lazarski resolved AXIS2C-1396.
-------------------------------------
Resolution: Won't Fix
1. Significant API change: Adding namespace support to text nodes
would require:
- New public API function axiom_text_set_namespace()
- Modifying the serializer to prepend namespace prefixes
- Potential breaking changes for existing consumers
2. Workaround exists: Users can manually construct the prefixed QName
string (e.g., set the text to "env:Sender" directly) - this works for
serialization even if it's not "pure" from an XML infoset perspective
3. Narrow use case: This mainly affects SOAP fault code values, which
is a specific scenario
> When outputting faults, sometimes, it is necessary to namespace qualify text
> values. Currently this is not suported in Axis2/C
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1396
> URL: https://issues.apache.org/jira/browse/AXIS2C-1396
> Project: Axis2-C
> Issue Type: Improvement
> Components: xml/om
> Affects Versions: 1.6.0
> Environment: Any
> Reporter: Korale Gamaralalage Nandika Chandrasiri Jayawardana
> Priority: Major
>
> When handling Soap faults, it is necessary to qualify the text data with a
> namespace prefix.
> Eg.
> <env:Code>
> <env:Value>env:Sender</env:Value>
> <env:Subcode>
> <env:Value>m:MessageTimeout</env:Value>
> </env:Subcode>
> </env:Code>
> For this, it is necessary to have a method to axiom_text_t to set the
> namespce and that correct namespace prefix must be appended to the text value
> serialized
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]