axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Premalal <xydin...@gmail.com>
Subject Re: [AXIS2] Should newlines be preserved in AXIOM.
Date Mon, 04 Dec 2006 09:08:54 GMT
Hi Dumindu,

Dumindu Pallewela <dumindu@wso2.com> writes:
>
> Please let me know if this actually is the case for AXIOM, 
Had a look at axiom code and got to know this is a bug in AXIOM. in
libxml_reader_wrapper.c there is some mapping like
<snip>
parser->event_map[XML_READER_TYPE_TEXT] = AXIOM_XML_READER_CHARACTER; 
parser->event_map[XML_READER_TYPE_CDATA] = AXIOM_XML_READER_CHARACTER; 
parser->event_map[XML_READER_TYPE_SIGNIFICANT_WHITESPACE] = AXIOM_XML_READER_SPACE;
parser->event_map[XML_READER_TYPE_WHITESPACE] = AXIOM_XML_READER_SPACE;
parser->event_map[XML_READER_TYPE_END_ELEMENT] =   AXIOM_XML_READER_END_ELEMENT;
parser->event_map [XML_READER_TYPE_ENTITY_REFERENCE] = AXIOM_XML_READER_ENTITY_REFERENCE;
parser->event_map [XML_READER_TYPE_END_ENTITY] = AXIOM_XML_READER_SPACE;
</snip>

please note that several libxml events map to
AXIOM_XML_READER_CHARACTER and AXIOM_XML_READER_SPACE where as
AXIOM_XML_READER_SPACE event doesn't do anything inside the stax
builder. afaik this is a bug. Could you please raise a jira. 

thanks,
Dinesh

-- 
Dinesh Premalal
dinesh@wso2.com
WSO2, Inc.; http://www.wso2.com/
GPG Key ID : A255955C
GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 266E A255 955C

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message