You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by zhantao li <li...@gmail.com> on 2007/09/12 11:55:03 UTC
SDO: can't define multiple XSD files with same namespace in same XSDHelper.INSTANCE
Hi,
I have multiple XSD files.some XSDs use same namespace.
when I call XMLHelper.INSTANCE.load() to load secone XSD, it return a List
that'size is 0.
Is't a bug?
thanks
zhantao li
12-9-2007*
* <tu...@ws.apache.org>
Re: SDO: can't define multiple XSD files with same namespace in same XSDHelper.INSTANCE
Posted by kelvin goodson <ke...@gmail.com>.
You need to create a HelperContext that has the extensible namespaces
set to true. so instead of using XMLHelper.INSTANCE you must do
HelperContext scope = SDOUtil.createHelperContext(true);
then use the XSDHelper from
XSDHelper xsdHelper = scope.getXSDHelper()
if you use this instance of XSDHelper you will be able to add types to
your namespace.
Kelvin.
On 12/09/2007, zhantao li <li...@gmail.com> wrote:
> Hi,
> I have multiple XSD files.some XSDs use same namespace.
> when I call XMLHelper.INSTANCE.load() to load secone XSD, it return a List
> that'size is 0.
> Is't a bug?
>
> thanks
>
> zhantao li
> 12-9-2007*
> * <tu...@ws.apache.org>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org