You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Marc Giger (JIRA)" <ji...@apache.org> on 2006/12/05 20:18:21 UTC
[jira] Created: (AXIS2C-448) axiom_xml_writer_create opened file
can't be closed correctly
axiom_xml_writer_create opened file can't be closed correctly
-------------------------------------------------------------
Key: AXIS2C-448
URL: http://issues.apache.org/jira/browse/AXIS2C-448
Project: Axis2-C
Issue Type: Bug
Components: xml/om
Affects Versions: Current (Nightly)
Environment: linux simple_http_client
Reporter: Marc Giger
xml_writer = axiom_xml_writer_create(env, filename, "UTF-8", 0, 0);
om_output = axiom_output_create(env, xml_writer);
AXIOM_XML_WRITER_WRITE_START_DOCUMENT(xml_writer, env);
AXIOM_NODE_SERIALIZE(node, env, om_output);
AXIOM_XML_WRITER_WRITE_END_DOCUMENT(xml_writer, env);
//workaround so that the file is fully written and closed
AXIOM_XML_WRITER_GET_XML(xml_writer, env);
AXIOM_OUTPUT_FREE(om_output, env);
I have to call AXIOM_XML_WRITER_GET_XML() so that the file is fully written and properly closed by
the underlying xmlTextWriter..
I think there is a function a la axiom_xml_writer_close() needed...
Patch welcome?
Thanks
Marc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-448) axiom_xml_writer_create opened file
can't be closed correctly
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-448?page=all ]
Samisa Abeysinghe updated AXIS2C-448:
-------------------------------------
Fix Version/s: 1.0.0
> axiom_xml_writer_create opened file can't be closed correctly
> -------------------------------------------------------------
>
> Key: AXIS2C-448
> URL: http://issues.apache.org/jira/browse/AXIS2C-448
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Environment: linux simple_http_client
> Reporter: Marc Giger
> Fix For: 1.0.0
>
>
> xml_writer = axiom_xml_writer_create(env, filename, "UTF-8", 0, 0);
> om_output = axiom_output_create(env, xml_writer);
> AXIOM_XML_WRITER_WRITE_START_DOCUMENT(xml_writer, env);
> AXIOM_NODE_SERIALIZE(node, env, om_output);
> AXIOM_XML_WRITER_WRITE_END_DOCUMENT(xml_writer, env);
> //workaround so that the file is fully written and closed
> AXIOM_XML_WRITER_GET_XML(xml_writer, env);
> AXIOM_OUTPUT_FREE(om_output, env);
> I have to call AXIOM_XML_WRITER_GET_XML() so that the file is fully written and properly closed by
> the underlying xmlTextWriter..
> I think there is a function a la axiom_xml_writer_close() needed...
> Patch welcome?
> Thanks
> Marc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Assigned: (AXIS2C-448) axiom_xml_writer_create opened file
can't be closed correctly
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe reassigned AXIS2C-448:
----------------------------------------
Assignee: Samisa Abeysinghe
> axiom_xml_writer_create opened file can't be closed correctly
> -------------------------------------------------------------
>
> Key: AXIS2C-448
> URL: https://issues.apache.org/jira/browse/AXIS2C-448
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Environment: linux simple_http_client
> Reporter: Marc Giger
> Assigned To: Samisa Abeysinghe
> Fix For: 1.0.0
>
>
> xml_writer = axiom_xml_writer_create(env, filename, "UTF-8", 0, 0);
> om_output = axiom_output_create(env, xml_writer);
> AXIOM_XML_WRITER_WRITE_START_DOCUMENT(xml_writer, env);
> AXIOM_NODE_SERIALIZE(node, env, om_output);
> AXIOM_XML_WRITER_WRITE_END_DOCUMENT(xml_writer, env);
> //workaround so that the file is fully written and closed
> AXIOM_XML_WRITER_GET_XML(xml_writer, env);
> AXIOM_OUTPUT_FREE(om_output, env);
> I have to call AXIOM_XML_WRITER_GET_XML() so that the file is fully written and properly closed by
> the underlying xmlTextWriter..
> I think there is a function a la axiom_xml_writer_close() needed...
> Patch welcome?
> Thanks
> Marc
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXIS2C-448) axiom_xml_writer_create opened file
can't be closed correctly
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe resolved AXIS2C-448.
--------------------------------------
Resolution: Fixed
Added AXIOM_XML_WRITER_FLUSH method to help clean up
> axiom_xml_writer_create opened file can't be closed correctly
> -------------------------------------------------------------
>
> Key: AXIS2C-448
> URL: https://issues.apache.org/jira/browse/AXIS2C-448
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Environment: linux simple_http_client
> Reporter: Marc Giger
> Assigned To: Samisa Abeysinghe
> Fix For: 1.0.0
>
>
> xml_writer = axiom_xml_writer_create(env, filename, "UTF-8", 0, 0);
> om_output = axiom_output_create(env, xml_writer);
> AXIOM_XML_WRITER_WRITE_START_DOCUMENT(xml_writer, env);
> AXIOM_NODE_SERIALIZE(node, env, om_output);
> AXIOM_XML_WRITER_WRITE_END_DOCUMENT(xml_writer, env);
> //workaround so that the file is fully written and closed
> AXIOM_XML_WRITER_GET_XML(xml_writer, env);
> AXIOM_OUTPUT_FREE(om_output, env);
> I have to call AXIOM_XML_WRITER_GET_XML() so that the file is fully written and properly closed by
> the underlying xmlTextWriter..
> I think there is a function a la axiom_xml_writer_close() needed...
> Patch welcome?
> Thanks
> Marc
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org