You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2005/03/20 23:55:00 UTC

1.2 -> 1.4 upgrade patch for publications based on the default pub

as explained in http://issues.apache.org/bugzilla/show_bug.cgi?id=34088 
i created a patch to attempt to upgrade publications based on the 
default pub to 1.4. i made a few changes to the patch that should make 
this more feasible.

i am wondering if someone would volunteer to apply the patch to a copy 
of one of their 1.2 publications, and report back results?

i don't expect it to work out of the box just yet (that would be too 
nice to be true), but would like to collect some data about the sucess 
rate for various people.

obviously, the more your publication differs from the default 
publication, the more mismatches you will have with this patch. it may 
be necessary to eventually move to a mixed model of XSLT and patches, 
because your XML files may be too different from the default publication 
for diff to work. on the other hand, XSLT will go much further and can 
probably be made to work in those scenarios too.

since creating these XSLT is real work, i'd like to determine to what 
extent we can get away with a simple diff (hence this test patch).

i also looked into various xml diff tools, but they all seem to insist 
on creating xpaths like /root/node[2]/item[1]/data which is not much 
better than the line numbers diff uses. xslt can be written to be 
position-independent, but you basically have to write them by hand.

beyond this, i would also be interested in general thoughts and 
approaches for upgrading. it strikes me as the one area we need for 1.4 
where work has not started yet.

http://wiki.apache.org/lenya/14Planning

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: 1.2 -> 1.4 upgrade patch for publications based on the default pub

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Gregor J. Rothfuss wrote:
> as explained in http://issues.apache.org/bugzilla/show_bug.cgi?id=34088 
> i created a patch to attempt to upgrade publications based on the 
> default pub to 1.4. i made a few changes to the patch that should make 
> this more feasible.

anyone tried this out yet?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org