It is kind of pointless to validate if the validation cannot say what is
wrong. Specially with something like XML, it is hard for the user to locate
the error if the error message is not precise.

JS validation is good for simple fields, not that useful for something which
is a bit complex like this.
Note that, most users are not XML experts like we developers are, so they
find it difficult to loacte problems without telling them where the problem
really is.

Samisa...


On Fri, Jun 4, 2010 at 2:22 PM, Hiranya Jayathilaka <[email protected]>wrote:

> Hi,
>
> On Thu, Jun 3, 2010 at 10:46 PM, Supun Kamburugamuva <[email protected]>wrote:
>
>> When we try to update the ESB 3.0.0 configuration some times it takes
>> a very long time. Also sometimes there are errors printing on the
>> console saying invalid XML configurations without no apparent reason.
>>
>
> I think you are talking about the popup dialog that occurs at times in the
> UI. There is a UI level validation which checks the XML input for accuracy
> before invoking the admin services. This is what shows the above error. It
> is a simple JavaScript validation and hence it cannot log the error to the
> log files. It can only show an error dialog.
>
> However if it does show you the above error, that's definitely because
> there was something wrong in the input XML. Please check the isValidXML
> method in configcommon.js for details.
>
> Thanks,
> Hiranya
>
>
>> When this happens ESB becomes unstable. I think these are issues that
>> we need to figure out and fix.
>>
>> I'll create Jira's for these.
>>
>> Thanks,
>> Supun..
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected];  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to