[DAIS-WG] namespace mismatch on some elements

Mike Jackson michaelj at epcc.ed.ac.uk
Thu Jul 2 07:15:51 CDT 2009


Hi Sunil,

On Thu, 2 Jul 2009, Sunil Ahn wrote:

> Hello. How have you been ?
>
> I have found one interoperability problem, and wish to have a comment 
> from you. 
>
> It is about the namespace mismatch on some elements.
>
> For example,  AMGA has <wsdai:DefaultConfigurationDocument> in the 
> output of GetSQLPropertyDocument,   but OGSA-DAI includes 
> <DefaultConfigurationDocument>.
> I know that <DefaultConfigurationDocument> is used in the WS-DAIR spec 
> page 8. 
>
> As far as I know, If the ElementFormDefault is set to "qualified", then 
> <wsdai:DefaultConfigurationDocument> should be a correct output. In 
> reverse, If it is set to "unqualified", then 
> <DefaultConfigurationDocument> is the right one. 
>
> WS-DAIR Appendix A.2 (SQLAccess WSDL) defines a schema with "qualified" 
> ElementFormDefault,
>  and it imports "wsdai_core_type.xsd" whose schema has no declaration on 
> ElementFormDefault, which means "unqualifed". 
>
> In gsoap, If a schema(A) includes(or imports) other schema(B),
> it seems that the ElementFormDefault of schema(B) is just ignored.
> It just produces a warning as follows
>>> Warning: attempt to include schema with mismatching elementFormDefault in schema 'http://www.ggf.org/namespaces/2005/12/WS-DAI'

In wsdai_core_types.xsd there is

targetNamespace="http://www.ggf.org/namespaces/2005/12/WS-DAI

which implicitly declares the namespace for where any explicit namespace 
prefix is missing. I suspect in Apache Axis it's relying on any schema 
parser doing some form of implicit namespace resolution based on these 
default target namespaces and so, unlike gSoap, we don't get any warnings 
when running Axis WSDL2Java.

> I have noticed that you already mentioned similar issue at the following 
> page. 
> https://forge.gridforum.org/sf/wiki/do/viewPage/projects.dais-wg/wiki/DAIAMGAInterop
> That is about <Expression> elements.
>
> I think it is better to set all the schema in xsd files to have 
> "qualified" ElementFormDefault, in order to have some consistency.

Yes I agree totally. This should be explicity set in all files and
I think we should recommend should be that the specifications should 
be changed to do this likewise.

cheers,

mike

> If I have any misunderstanding, please let me know, and any comment 
> would be appreciated. 
>
> Best Regards,
> Sunil Ahn.
>
>
>
>
>
> -----------------------------
>
> Sunil Ahn
> e-Science Division,
> KISTI,
> 52-11, Eoeundong, Yuseonggu,
> Daejeon, 305-806, Republic of Korea
>
> e-mail : siahn at kisti.re.kr
> Phone : +82-42-869-0639
> Fax : +82-42-869-0799
>
>

-------------------------------------------------------------------
Dr. Michael (Mike) Jackson      E-mail: m.jackson at epcc.ed.ac.uk
EPCC                            OGSA-DAI Project
WWW:  http://www.epcc.ed.ac.uk  WWW: http://www.ogsadai.org.uk

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


More information about the dais-wg mailing list