Juanpa,

this is something that I discussed with Asier and we decided based on
"theoretical" facts more than testing. I've seen the tests you have prepared
and it is true that we don't get any advantage for the extra-line we add for
each "cell". I've included this change in the backlog of platform 1 team.

Thanks,

Ismael

-----Mensaje original-----
De: Juan Pablo Aroztegi [mailto:[email protected]]
Enviado el: miercoles, 04 de febrero de 2009 12:35
Para: [email protected]
Asunto: [Openbravo-development] Database XML files format - comments
withcolumn name


Currently the database XML files have an extra line per column with a
comment that shows the column name that is set in the next line. For
example in AD_FORM.xml:

<!--101**************--><AD_FORM>
<!--101 AD_FORM_ID-->
<!--101-->              <AD_FORM_ID><![CDATA[101]]></AD_FORM_ID>
<!--101 AD_CLIENT_ID-->
<!--101-->              <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
(...)

I've been asking around why these comments exist, and the reason most
people have given me is that this helps to have less conflicts in
Subversion, because it takes 3 lines as reference.

I've been playing with it and trying to reproduce various kind of
conflicts with and without these lines of comments. And I get exactly
the same results.

I've also asked to those same people how can I see the benefits of those
lines in terms of conflicts, but the test cases they've given me give
the same results without the commentary lines.

I have 2 questions:

1) What testcase has to be run to see the benefits of having these extra
   lines? (in conflicts)
2) Why are the lines with the comment necessary? Don't the real lines
   identify uniquely those 3 lines anyway?

If they weren't really needed, having the half number of lines in each
XML would be nice.



Thank you,

Juan Pablo


----------------------------------------------------------------------------
--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to