changes to templates in system/generators

3 views
Skip to first unread message

Ashok Hariharan

unread,
Dec 6, 2012, 8:54:09 AM12/6/12
to bungeni...@googlegroups.com, Samar Ayesh
Samar --

I noticed in this revision --

http://code.google.com/p/bungeni-editor/source/detail?r=2769

You added some local changes to what are really XSLT templates used by the system e.g. :

http://code.google.com/p/bungeni-editor/source/browse/BungeniEditor_configs/birzeit_configs/system/generators/type_meta_ident_publi_generator.xsl?spec=svn2769&r=2769

Now , I know why you had to make those changes, but this poses a problem because I its likely i will update those XSLTs as they are intenrally  used by the Editor so you are allways in danger of breaking your system if you have local modifications .

There are 2 steps to fixing this problem --

1) i include some of your changes in the main master copy of the generator xslts  I will be moving them into  BungeniEditor_configs/sytem_configs/xsl in the svn repo  and we always pull them in from externals. Though many of your changes are actually bug fixes so it makes sense for me to include it.

2) we dont change this master copy anymore for local configuration customizations ... it should always be pulled in from svn:externals. I will provide a way for you to include your custom overrides via xsl:override mechanism. ..

This way it can be much easier to manage and less likely to break ... and you will still have the freedom to make your own modifications to the internal XSLT without being in danger of working on something out of date ...

Ashok
Reply all
Reply to author
Forward
0 new messages