Loading login details...

DeltaXML Support Forums

Not found what you where looking for? Try the  advanced search 
DeltaXML Core > Error in DeltaV2 Introduction Document
Joined: 25-August-2008
Posts: 1
Posted: 08-August-2008 18:43
Error in DeltaV2 Introduction Document
In the introductory document to the new DeltaV2 format specification, there is an error in the table that maps DeltaV1 attributes to DeltaV2 attributes.  It says that "delete" in V1 is equivalent to "B" in V2; it also says that "add" in V1 is equivalent to "A" in V2.  The comments in the table and the examples at the bottom of the document speak to the contrary (and so does my actual experience with the product).

The document can be located here:  http://www.deltaxml.com/library/deltav2-introduction.html

Just thought it would be helpful to you if I pointed out the oversight.  Thank you.
DeltaXML Sync > Demo downloads from DeltaXML - Sync
Joined: 27-March-2007
Posts: 54
Location: Malvern, United Kingdom
Posted: 08-August-2008 14:39
Re: Demo downloads from DeltaXML - Sync
Hello Ragu,

Thanks for your kind words about Core.

DeltaXML Sync should be available in exactly the same
way and place as core.  Here are the URLs, some of which
require you to login to the website:

Downloads: http://www.deltaxml.com/library/downloads.html
Evaluation keys: http://www.deltaxml.com/services/evaluation/

At these URLs you can request 4 week evaluations of the named-user and professional-server license types. 

Evaluations of enterprise server licenses (see:  http://www.deltaxml.com/dxml/legal/licensing.html) are also available (we have to build them individually); please either fill in the contact form on the website or contact sales@deltaxml.com

Thanks,

Nigel
DeltaXML Core > Folding HTML Stylesheet
Joined: 28-March-2007
Posts: 18
Location: Salisbury, UK
Posted: 08-August-2008 11:05
Re: Folding HTML Stylesheet
Hi Tom,

The meaning of 'too large or complex' is very difficult to quantify. As you can probably appreciate, with very large files, particularly using a full-context result, the amount of HTML produced is substantial and some browsers would take some time to load and render it. According to your other post, you are using the HTML output on changes-only results from 30M plus files. If you are doing this successfully then you shouldn't have too much trouble with the HTML output, but that might change if you want to produce an unfiltered full-context result.

I would also point out that the HTML output no longer uses tables to display the XML structure, the comment is a bit out of date!

Tristan[/xml]
DeltaXML Core > Including attributes in non-Full Context HTML Output Results
Joined: 28-March-2007
Posts: 18
Location: Salisbury, UK
Posted: 08-August-2008 10:54
Re: Including attributes in non-Full Context HTML Output Results
Hi Tom,

thanks for the post. The changes-only delta format is just that, it shows only those things that have changed but in the context of unchanged siblings. If you want to include attributes for all elements (unchanged or not) but still want to preserve the behaviour that subtrees of unchanged elements are not included, you will need to produce a full-context delta and apply a post filter. This filter should be fairly simple, the following should work:


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:deltaxml="http://www.deltaxml.com/ns/well-formed-delta-v1" version="2.0">
  <!-- identity transform as the default match -->
  <xsl:template match="node() | @*">
    <xsl:copy>
      <xsl:apply-templates select="@* | node()" />
    </xsl:copy>
  </xsl:template>
  <!-- match an unchanged element, copy and output attributes but not children -->
  <xsl:template match="*[@deltaxml:deltaV2='A=B']">
    <xsl:copy>
      <xsl:apply-templates select="@*" />
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>


This could then be fed through the HTML output filter to produce your HTML result as expected.

Hope that works ok for you, many thanks,

Tristan
DeltaXML Core > Folding HTML Stylesheet
Joined: 22-August-2008
Posts: 2
Posted: 08-August-2008 18:24
Folding HTML Stylesheet
There is a note in the dx2-deltaxml-folding-html.xls stylesheet that reads:

<!--
This stylesheet converts a delta file, produced by deltaXML programs, into HTML that can be displayed in a browser and gives a table structure for the changed data. It may run into trouble for large delta files because the HTML tables may be too large or complex to display in browsers.
-->

Can you tell us roughly how large or complex is "too large or complex"?

Thanks
DeltaXML Sync > Demo downloads from DeltaXML - Sync
Joined: 14-July-2008
Posts: 2
Location: Chennai, India
Posted: 08-August-2008 004:30
Demo downloads from DeltaXML - Sync
Dear Support,

I am very much impressed with the DeltaXML tools. We have tested the tool, DeltaXML-Core. It is very useful to our production environment. Thanks to your hardwork.

The same manner, we like to test the DeltaXML-Sync, in a command prompt. Do we have any such downloads.

Regards
Ragu
Manager - Technical, MPS Journals (Chennai)
Macmillan Publishing Solutions
Direct: +91 44 4200 4404
Mobile: +91 99941 90964
www.macmillansolutions.com




DeltaXML Core > Including attributes in non-Full Context HTML Output Results
Joined: 22-August-2008
Posts: 2
Posted: 08-August-2008 21:18
Including attributes in non-Full Context HTML Output Results
I've copied and customized the compare-delta.dxp file to contain an HTML output filter (su-weet!).  My input files are each 30+ meg in size and the results do get produced in a nicely formatted HTML file as expected.

The problem is that all of the attributes have been stripped out of the elements rendered in the output HTML file so it is no possible to easily identify the element instance in which the change occured.  For example, if I have a structure like the following in two input XML files being compared:

    <title number="6">
        <chapter number="1">...
        <chapter number="2">...
        <chapter number="3">...
        <chapter number="4">...
        <chapter number="5">... (assume a change is made in the second file inside this chapter)
        <chapter number="6">...
        <chapter number="7">...
        <chapter number="8">...
        <chapter number="9">...
    </title>

the output delta HTML files displays results similar to the following:

    <title>
        <chapter />
        <chapter />
        <chapter />
        <chapter />
        <chapter ><source.text > This is a change that Tom added to the document. </source.text></chapter>
        <chapter />
        <chapter />
        <chapter />
        <chapter />
    </title>

What I expected (or would like to see) is the above elements displayed with their attribute values maintained.

Suggestions?

Thanks,
Tom
Filters > ignore attributes
Joined: 28-March-2007
Posts: 18
Location: Salisbury, UK
Posted: 08-August-2008 009:42
Re: ignore attributes
Hi,

"How do I ignore changes?" is a question we get asked a lot and so we have added a new feature to Core 5.1 to make it easier. The process is explained in our Resource Library at: http://www.deltaxml.com/dxml/library/ignore-changes.html but you will need to download a copy of 5.1 if you are currently using 5.0. We have reset the website accounts so that you are able to download another evaluation.

Many thanks,

Tristan
Filters > ignore attributes
Joined: 22-July-2008
Posts: 4
Location: , India
Posted: 08-August-2008 20:00
ignore attributes
Hi,
  I would like to know that how to ignore attributes for comparison. I don't want the attributes to be compared for some tags.
Could you provide me a quick solution?

Thanks
DeltaXML Core > problem in working with DeltaxmlCore 5.0
Joined: 28-March-2007
Posts: 18
Location: Salisbury, UK
Posted: 08-August-2008 14:45
Re: problem in working with DeltaxmlCore 5.0
Hi,

Thanks for your question. It looks like you're having some sort of classpath problem. The org.w3c.dom package has been provided as part of the JDK since version 1.4 (http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/package-summary.html) and so should be available to you at runtime. In order to understand why this is happening, could you please provide some more details on what you were doing at the time. In particular:

* Were you running samples, using the command-line comparator or using the API?
* What Operating System are you using?
* What version of the JVM are you running (run "java -version" to find out)
* Are you running your code using a developer tool such as an IDE?

If you could provide as much information as possible, we will be able to give you more guidance.

Many thanks,

Tristan