[ 
https://issues.apache.org/jira/browse/AXIS2C-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samisa Abeysinghe resolved AXIS2C-474.
--------------------------------------

    Resolution: Won't Fix

The guththila parser uses a similar model. But this right now is a major change 
to the current API and hence should be revisited for 2.x

> Use pointer plus length instead of nul-terminated string for text content
> -------------------------------------------------------------------------
>
>                 Key: AXIS2C-474
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-474
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: xml/om
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>            Priority: Minor
>
> Nul-terminated strings are fine for short strings, but for potentially long 
> strings, it's better to use a pointer plus a length.  (Sometimes it's good to 
> nul-terminate it as well as providing a length.)  One case where I would in 
> particular suggest using a length is for axiom_text.  At the same time, other 
> functions that deal with XML text content (such as 
> axiom_xml_writer::write_characters) should also be fixed.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to