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

Reply via email to