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 <[EMAIL PROTECTED]> 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*
> * <tuscany-user@ws.apache.org>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to