[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    [jira] Updated: (AXIS2C-1534) XML writers handle errors
From:       "Thomas Gentsch (JIRA)" <jira () apache ! org>
Date:       2011-01-30 12:28:43
Message-ID: 21820100.292961296390523810.JavaMail.jira () thor
[Download RAW message or body]


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

Thomas Gentsch updated AXIS2C-1534:
-----------------------------------

    Priority: Minor  (was: Major)
     Summary: XML writers handle errors differently, add char offset in case of \
errors  (was: XML reader/writer truncates content with large XML data)

sorry, not Axis' fault ... the input.xml is wrong. Hard to spot, but
there was an opening tag <num50000000> missing.
However
 - still unclear why the two writer types behave that differently ??
 - the error message in the log might be a bit better (my input.xml 
   consists of *one* line of a length of 460000 chars, hence line 1 :-) 
   maybe a char offset might have helped)
Updating headline ...

> XML writers handle errors differently, add char offset in case of errors
> ------------------------------------------------------------------------
> 
> Key: AXIS2C-1534
> URL: https://issues.apache.org/jira/browse/AXIS2C-1534
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: 1.6.0
> Reporter: Thomas Gentsch
> Priority: Minor
> Attachments: axis2xml.tar.gz
> 
> 
> Have a test prog which reads in an XML doc and prints it put again. With large \
> input data sizes (in my example ~400k) the output gets truncated. Interestingly the \
> behavior is different when using axiom_xml_writer_create() or \
> axiom_xml_writer_create_for_memory(). With the first
> - the output is ~380k large
> - some error appears in the log file
> whereas with the second
> - the output is only 16k
> - no error
> Attached are two testprogs - tstxml.cpp and tstxml2.cpp with both the xml writer \
> types. The input and output xml files are contained as well, plus the log file \
> mentioned above.

-- 
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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic