Yeah, when Synapse configuration model is built and serialized these XML
comments get lost.
To facilitate this, we have added the <description> element to the synapse
config.

On Sun, Jan 23, 2011 at 12:02 PM, Senaka Fernando <[email protected]> wrote:

>
>
> On Sun, Jan 23, 2011 at 12:00 PM, Senaka Fernando <[email protected]> wrote:
>
>>
>>
>> On Sun, Jan 23, 2011 at 11:15 AM, Tharindu Mathew <[email protected]>wrote:
>>
>>> I commented out some lines from a synapse config and saved it. This
>>> resulted in those lines being wiped out from the config!!
>>>
>>
>>> Is this a known issue?
>>>
>>
>> I think yes. IIRC, you can't have XML-style comments in the synapse.xml.
>> But, given your explanation, IMHO, its a fairly-big usability issue. IMO,
>> commenting out and testing is a common practice that most developers are
>> used to. Its worth discussing this on synapse AT apache.org.
>>
>
> I mean if its a synapse-level issue.
>
> Thanks,
> Senaka.
>
>>
>> Thanks,
>> Senaka.
>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kasun Indrasiri
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to