Xml diff module - feedback needed

View: New views
5 Messages — Rating Filter:   Alert me  

Xml diff module - feedback needed

by Alexander S. Sizemin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello devs,
I've been working on XML diff module and now it will be great to hear some feedback from you.
You can use the following command to checkout module:

svn checkout http://lenyadiff.googlecode.com/svn/trunk/ BRANCH_2_0_X/src/modules/

or download it as a zipped tarball

http://google-summer-of-code-2009-apache.googlecode.com/files/AlexanderS_Sizemin.tar.gz

Thank you.

Regards,
Alexander Sizemin

Re: Xml diff module - feedback needed

by Florent André-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexander,

First, big thank you for this module, it will be really helpfull !

Second, I'm just a user, so my feedbacks are just on user level.

third, I don't have try this for now but when I will have one minute, be
sure I try it !

So, my main question is "Can you add some documentation" ?

Not on installation (I think it's like usual), but "end-user thinks" like :

- what kind of diff do the module ?
- what is the output format/specification of the output ?
- what kind of diff the module do well ? (identify a same node but at a
different level, do diff on attribute, content, etc...)
- what kind of diff the module don't do well (or don't do) for now ?

And "user thinks" like :
- What is/are the main important classes and functions in your code ? For
example, I have to do a diff between two files in my own .java, how I can
do that ?
- Can we use your code directly in the sitemap via a transformer, a
generator, on something like that ? For example It could be possible to
wrote such a thing :
<map:generator type="xmlDiff">
<map:paramater name="fileOne" src="cocoon://getfileOne"/>
<map:parameter name="fileTwo" src="resource://folder/fileTwo.xml"/>
</map:generator>
{{syntax is approximative}}

TIA
BIG THANKS !
Have a good day

On Mon, 14 Sep 2009 23:50:07 +0400, "Alexander S. Sizemin"
<salexse@...> wrote:
> Hello devs,
> I've been working on XML diff module and now it will be great to hear
some
> feedback from you.
> You can use the following command to checkout module:
>
> svn checkout
> http://lenyadiff.googlecode.com/svn/trunk/BRANCH_2_0_X/src/modules/
>
> or download it as a zipped tarball
>
>
http://google-summer-of-code-2009-apache.googlecode.com/files/AlexanderS_Sizemin.tar.gz
>
> Thank you.
>
> Regards,
> Alexander Sizemin

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


Re: Xml diff module - feedback needed

by Florent André-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexander,

I have just try your xmldiff and it seem to be buggy.

Here my test :
After a clean instal and an import samples pages, I modify the index page.

I apply this changes in the attached file (move 1 paragraph, add a text,
create a new paragraph)

After that, I want to diff beetween this two versions and I have this
message :
"Error while parsing document for diffing: "
with no further explanations

I do another try on a just created html document were I had some
"TESTTS" letters in the <h1>...</h1>

--------
There is also a little problem on ui with two buttons labelled
"untranslated".
-------

Do you think you can work on it ?

Thanks in advance.
++


Alexander S. Sizemin wrote:

> Hello devs,
> I've been working on XML diff module and now it will be great to hear
> some feedback from you.
> You can use the following command to checkout module:
>
> svn checkout http://lenyadiff.googlecode.com/svn/trunk/ 
> BRANCH_2_0_X/src/modules/
>
> or download it as a zipped tarball
>
> http://google-summer-of-code-2009-apache.googlecode.com/files/AlexanderS_Sizemin.tar.gz
>
> Thank you.
>
> Regards,
> Alexander Sizemin

1c1,3
< <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
---
> <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
>
>
3,18d4
< <!--
<   Licensed to the Apache Software Foundation (ASF) under one or more
<   contributor license agreements.  See the NOTICE file distributed with
<   this work for additional information regarding copyright ownership.
<   The ASF licenses this file to You under the Apache License, Version 2.0
<   (the "License"); you may not use this file except in compliance with
<   the License.  You may obtain a copy of the License at
<
<       http://www.apache.org/licenses/LICENSE-2.0
<
<   Unless required by applicable law or agreed to in writing, software
<   distributed under the License is distributed on an "AS IS" BASIS,
<   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<   See the License for the specific language governing permissions and
<   limitations under the License.
< -->
20d5
< <!-- $Id: index_en 473861 2006-11-12 03:51:14Z gregor $ -->
27,30c12
<     <p>Apache Lenya is a Java Open-Source Content Management System
<     based on open standards such as XML and XSLT and the Apache
<     Software Stack, in particular the XML publishing framework Apache
<     Cocoon.</p>

---
>     <p>new p test</p>
35c17
<     refer to the <a href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
---
>     refer TESTTTTSto the <a href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
41a24,27
> <p>Apache Lenya is a Java Open-Source Content Management System
>     based on open standards such as XML and XSLT and the Apache
>     Software Stack, in particular the XML publishing framework Apache
>     Cocoon.</p>



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

Re: Xml diff module - feedback needed

by Alexander S. Sizemin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your time.
I'm not sure I will be able to take a look at it in the next few days,
but I will check and test everything once again the next week for sure.

Thanks, Alexander

2009/11/4 florent andré <florent.andre-dev@...>
Hi Alexander,

I have just try your xmldiff and it seem to be buggy.

Here my test :
After a clean instal and an import samples pages, I modify the index page.

I apply this changes in the attached file (move 1 paragraph, add a text, create a new paragraph)

After that, I want to diff beetween this two versions and I have this message :
"Error while parsing document for diffing: "
with no further explanations

I do another try on a just created html document were I had some "TESTTS" letters in the <h1>...</h1>

--------
There is also a little problem on ui with two buttons labelled "untranslated".
-------

Do you think you can work on it ?

Thanks in advance.
++



Alexander S. Sizemin wrote:
Hello devs,
I've been working on XML diff module and now it will be great to hear some feedback from you.
You can use the following command to checkout module:

svn checkout http://lenyadiff.googlecode.com/svn/trunk/ BRANCH_2_0_X/src/modules/

or download it as a zipped tarball

http://google-summer-of-code-2009-apache.googlecode.com/files/AlexanderS_Sizemin.tar.gz

Thank you.

Regards,
Alexander Sizemin


1c1,3
< <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
---
> <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
>
>
3,18d4
< <!--
<   Licensed to the Apache Software Foundation (ASF) under one or more
<   contributor license agreements.  See the NOTICE file distributed with
<   this work for additional information regarding copyright ownership.
<   The ASF licenses this file to You under the Apache License, Version 2.0
<   (the "License"); you may not use this file except in compliance with
<   the License.  You may obtain a copy of the License at
<
<       http://www.apache.org/licenses/LICENSE-2.0
<
<   Unless required by applicable law or agreed to in writing, software
<   distributed under the License is distributed on an "AS IS" BASIS,
<   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<   See the License for the specific language governing permissions and
<   limitations under the License.
< -->
20d5
< <!-- $Id: index_en 473861 2006-11-12 03:51:14Z gregor $ -->
27,30c12
<     <p>Apache Lenya is a Java Open-Source Content Management System
<     based on open standards such as XML and XSLT and the Apache
<     Software Stack, in particular the XML publishing framework Apache
<     Cocoon.</p>

---
>     <p>new p test</p>
35c17
<     refer to the <a href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
---
>     refer TESTTTTSto the <a href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
41a24,27
> <p>Apache Lenya is a Java Open-Source Content Management System
>     based on open standards such as XML and XSLT and the Apache
>     Software Stack, in particular the XML publishing framework Apache
>     Cocoon.</p>



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


Re: Xml diff module - feedback needed

by Florent André-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay,

Keep in touch when you have update your repository I will try it ASAP.

Have a good day

Alexander S. Sizemin wrote:

> Thanks for your time.
> I'm not sure I will be able to take a look at it in the next few days,
> but I will check and test everything once again the next week for sure.
>
> Thanks, Alexander
>
> 2009/11/4 florent andré <florent.andre-dev@...
> <mailto:florent.andre-dev@...>>
>
>     Hi Alexander,
>
>     I have just try your xmldiff and it seem to be buggy.
>
>     Here my test :
>     After a clean instal and an import samples pages, I modify the
>     index page.
>
>     I apply this changes in the attached file (move 1 paragraph, add a
>     text, create a new paragraph)
>
>     After that, I want to diff beetween this two versions and I have
>     this message :
>     "Error while parsing document for diffing: "
>     with no further explanations
>
>     I do another try on a just created html document were I had some
>     "TESTTS" letters in the <h1>...</h1>
>
>     --------
>     There is also a little problem on ui with two buttons labelled
>     "untranslated".
>     -------
>
>     Do you think you can work on it ?
>
>     Thanks in advance.
>     ++
>
>
>
>     Alexander S. Sizemin wrote:
>
>         Hello devs,
>         I've been working on XML diff module and now it will be great
>         to hear some feedback from you.
>         You can use the following command to checkout module:
>
>         svn checkout http://lenyadiff.googlecode.com/svn/trunk/
>         BRANCH_2_0_X/src/modules/
>
>         or download it as a zipped tarball
>
>         http://google-summer-of-code-2009-apache.googlecode.com/files/AlexanderS_Sizemin.tar.gz
>
>         Thank you.
>
>         Regards,
>         Alexander Sizemin
>
>
>
>     1c1,3
>     < <?xml version="1.0" encoding="UTF-8"?><html
>     xmlns="http://www.w3.org/1999/xhtml"
>     xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
>     xmlns:xhtml="http://www.w3.org/1999/xhtml">
>     ---
>     > <?xml version="1.0" encoding="UTF-8"?><html
>     xmlns="http://www.w3.org/1999/xhtml">
>     >
>     >
>     3,18d4
>     < <!--
>     <   Licensed to the Apache Software Foundation (ASF) under one or more
>     <   contributor license agreements.  See the NOTICE file
>     distributed with
>     <   this work for additional information regarding copyright
>     ownership.
>     <   The ASF licenses this file to You under the Apache License,
>     Version 2.0
>     <   (the "License"); you may not use this file except in
>     compliance with
>     <   the License.  You may obtain a copy of the License at
>     <
>     <       http://www.apache.org/licenses/LICENSE-2.0
>     <
>     <   Unless required by applicable law or agreed to in writing,
>     software
>     <   distributed under the License is distributed on an "AS IS" BASIS,
>     <   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
>     or implied.
>     <   See the License for the specific language governing
>     permissions and
>     <   limitations under the License.
>     < -->
>     20d5
>     < <!-- $Id: index_en 473861 2006-11-12 03:51:14Z gregor $ -->
>     27,30c12
>     <     <p>Apache Lenya is a Java Open-Source Content Management System
>     <     based on open standards such as XML and XSLT and the Apache
>     <     Software Stack, in particular the XML publishing framework
>     Apache
>     <     Cocoon.</p>
>
>     ---
>     >     <p>new p test</p>
>     35c17
>     <     refer to the <a
>     href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
>     ---
>     >     refer TESTTTTSto the <a
>     href="lenya-document:422dc090-c968-11de-bfe8-e7803ecc604f">Features
>     41a24,27
>     > <p>Apache Lenya is a Java Open-Source Content Management System
>     >     based on open standards such as XML and XSLT and the Apache
>     >     Software Stack, in particular the XML publishing framework
>     Apache
>     >     Cocoon.</p>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: dev-unsubscribe@...
>     <mailto:dev-unsubscribe@...>
>     For additional commands, e-mail: dev-help@...
>     <mailto:dev-help@...>
>
>


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