Hi Chethiya,

> I added new attribute called "<xs:attribute name="validate"
> type="xs:string"/>" to repository/resources/rxt.xsd and added new RXT with
> validate attribute in some fields.
>
> Now when I'm going to update the rxt it gives the following error. That's
> due to ManageGenericArtifactService using
> org.wso2.carbon.governance.services.util.Util to validate updated content.
> But that services.ui.Util class uses "service-ui-config.xsd" hardcoded in
> it to validate.
>
> Ah yes, in the configure, configuration update is
using service-ui-config.xsd to validate the service and the RXT contents.


> Is it correct to put "<xs:attribute name="validate" type="xs:string"/>" in
> "service-ui-config.xsd" too? In fact what are the usages
> of service-ui-config.xsd and rxt.xsd?
>
> Yes, you should do the same changes to the service-ui-config.xsd if it is
a change to the content. Though we have the same content we cannot keep it
in a single schema and import, because the content doesn't have a separate
namespace.

thanks
Eranda
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to