Comments (24)
I don't understand the bug. Cannot seem to replicate..
I've tried adding in the connectionStrings node on the demo page (https://fatantelopetester.apphb.com/) and it appears to generate the correct output?
Are you able to provide an example web configs (source and target)?
Obviously remove any private and sensitive information from the configs first..
Thanks,
Cameron
from fatantelope.
[File removed]
FatAntelope.exe SampleWeb.config Web.Config webxdt.config finalweb.config is the call i made.
from fatantelope.
from fatantelope.
Hi Camerone, sorry to be a pest, is there any outlook on this?
from fatantelope.
Hi Rafik,
I've pushed a fix in the latest version: https://github.com/CameronWills/FatAntelope/releases/tag/0.2.10
I'll close this issue now, be feel free to reopen if still experiencing problems.
from fatantelope.
I have a question, is everything in the target file always preserved?
from fatantelope.
Yes. That is the intention..
Applying the 'patch' file to the 'source' file should generate the same/equivalent XML as the 'target' file. With the one exception: nodes in the transformed file can appear in a different order to the target file.
Are you seeing some nodes not being preserved?
from fatantelope.
from fatantelope.
The purpose of the tool is to generate a patch, which is then used to convert 'source' into 'target'.
In your example, if there are XML nodes that exist in SampleWeb.config but don't exist in Web.config - they will be removed when the webxdt.config is applied.
Once the webxdt.config is applied to SampleWeb.config, the <basicHttpBinding>
section` is the same as it appears in the 'Web.config'. Assuming you're using the new version 0.2.10 to generate the patch
Does that make sense?
from fatantelope.
from fatantelope.
Yep, the bugs in 0.2.9 were affecting the that <basicHttpBinding>
node as well.
from fatantelope.
from fatantelope.
I need to know if i need to make the code that will call the FatAntelope.exe freely available to the public or if I can just refer back to this site and the original algorithm implementation's site.
from fatantelope.
Cameron sorry once again for pestering you but do you have an answer for two comments above?
from fatantelope.
The license terms and conditions were from the original developer of the X-Diff algorithm and source code, which I ported from Java to C#. The X-Diff algorithm handles the comparison of XML documents.
From what I understand of condition 3 of their license, the source code of any binary that uses X-Diff, or it's derivatives, must be freely available and reproduce the license copyright and conditions..
So I think this would prohibit using FatAntelope being used in a closed-source or commercial product.
May I ask what you're building?
from fatantelope.
from fatantelope.
Ok, from my understanding of the license, the conditions relate to redistribution of X-Diff derivatives.
So you're ok to use the FatAntelope privately within your organisation - as long as you're not redistributing software containing the X-Diff algorithm to third parties, or particularly if you're trying to commercially sell a piece of software that contains it.
From what you describe, you're using FatAntelope as part of your build / deployment process for your web apps? But the webapps themselves do not contain or use it ?
In this scenario, most people would use FatAntelope one time only, generate the patch file (web.release.config), and then include it webapp project (.csproj) underneath web.config. Then your developers would maintain this file going forward, alongside the web.config:
But I might be mis-understanding your use.
from fatantelope.
from fatantelope.
from fatantelope.
I'm not aware of a commercial license - you would need to contact the creator of X-Diff for their commercial licensing options..
Alternatively, you could offer the source code for your updater utility to your customers if they asked for it? If there is no risk to your business of loosing valuable intellectual property by sharing the source code? And then you would also just reproduce the copyright/license somewhere in the utility output?
from fatantelope.
from fatantelope.
No problem. Thanks for the feedback and sorry I cant be more helpful. I'm by no means a licensing guru, so feel free to get a second opinion. I chose X-Diff because it seemed like the simple implementation for unordered XML diffing.
What feature we're you referring to? Perhaps something worth implementing for the community?
from fatantelope.
from fatantelope.
from fatantelope.
Related Issues (11)
- NPE at XdtDiffWriter: line 409 HOT 1
- Use Insert instead of InsertBefore when the delta only exist in target HOT 1
- Error when creating Transformed File HOT 3
- XPath in an InsertBefore transform is using a trait of the parent node that's been transformed into something else HOT 2
- Deploy command line tool with NuGet dist HOT 3
- Case error in generated XDT HOT 1
- Microsoft.Web.XmlTransform.XmlNodeException: No element in the source document matches HOT 8
- Wrong patch file generated when the attribute has xml namespace
- remove namespace xdt did not work HOT 2
- Incorrect condition? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fatantelope.