Hi all,
Just to add more information, I also tried with jixb then I got several
error messages like the one below, just with different groups involved
ERROR codegen.CodeGen - Error: Referenced group '{
http://www.w3.org/1998/Math/MathML}:Content-expr.class' is not defined for
'group' at (line 104, col 41, in
http://www.w3.org/Math/XMLSchema/mathml2/content/statistics.xsd)
cheers, Håkon
2009/11/25 Håkon Sagehaug <[email protected]>
> Hi all,
>
> I've developing a service that uses the MathML schema for something, but
> when I try to run wsdl2java(axis2 1.5) like this
>
> wsdl2java.sh -uri SbmlService.wsdl -d adb
>
> using I always get this error
>
> Caused by: org.apache.axis2.schema.SchemaCompilationException: Can not find
> the group with the qname{
> http://www.w3.org/1998/Math/MathML}Presentation-token.class<http://www.w3.org/1998/Math/MathML%7DPresentation-token.class>from
> the parent schema
> http://www.w3.org/1998/Math/MathML
>
> Is there something with the schema that adb does not support here, the
> group Presentation-token looks like this in it's schema[1]
>
> <xs:group name="Presentation-token.class">
>
> <xs:choice>
> <xs:element ref="mi"/>
>
> <xs:element ref="mo"/>
> <xs:element ref="mn"/>
>
> <xs:element ref="mtext"/>
> <xs:element ref="ms"/>
>
> </xs:choice>
> </xs:group>
>
>
> I know that adb may not support the hole xml schema, but I'd like to use
> adb instead of xml beans, so was wondering if anyone else had ssen this
> error before.
>
> cheers, Håkon
>
> [1] http://www.w3.org/Math/XMLSchema/mathml2/presentation/tokens.xsd
>
> --
> Håkon Sagehaug, Scientific Programmer
> Parallab, Bergen Center for Computational Science
> [email protected], phone +47 55584125
>
--
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science(BCCS)
Uni BCCS/Uni Research
[email protected], phone +47 55584125