axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana" <jayaw...@gmail.com>
Subject Re: [Axis2] Xml Schema parser and annotations
Date Wed, 22 Nov 2006 04:49:00 GMT
Hi jose,

yes, there was a bug and i corrected it.
Can you check whether it works now,

Thanks
Nandika


On 11/21/06, Jose Miguel Sanchez Martin <jose.sanchez@swissrisk.com> wrote:
>
>
> Hi,
>
> The xml schema parser fails to parse XSDs with annotations like for
> example this one:
>
>     <xs:annotation>
>       <xs:appinfo>Test</xs:appinfo>
>       <xs:appinfo>Test</xs:appinfo>
>     </xs:annotation>
>
>
> Maybe this is a bug in xml_schema_builder.c in the following line:
>
>     static xml_schema_app_info_t*
>     handle_app_info(
>         xml_schema_builder_t *builder,
>         const axis2_env_t *env,
>         axiom_node_t *content)
>     {
>     [...]
>         if (!ele_iter &&
>     !AXIOM_CHILD_ELEMENT_ITERATOR_HAS_NEXT(ele_iter, env))
>             return NULL;
>     [...]
>     }
>
>
> Should this && be changed to || ?
>
> Best regards,
>
> jms.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Mime
View raw message