[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Diff

  • From: "matthew pickard" <pickard.matthew@g...>
  • To: "Richard Salz" <rsalz@u...>
  • Date: Mon, 30 Jul 2007 12:38:53 +0100

Re:  XML Diff
I never been impresses with any XML aware diff tools. You say Canonical XML... This betrays set issues.  What exactly does the the diff tool do.   Is it tree based?  Does it use a DOM?  Then you are comparing two DOMs.  Where they validated?  Then there's the whitespace issue, is it ignorable, or significant.  Still on the validation subject what about default values (DTD FIXED), or if you have schema are you going to be comparing to PSVIs.  Oh..., and is it going to resolve your entities...

These and many similar questions aside... Just what sort of XML are you going to compare, what does if describe.... Is it a regular relational type structure, is it mixed content and narrative in nature.  In the first case order may not be significant, and in the later it will.  In both cases whitespace too will play a different roles...

I once worked with an analyst who wrote his own XSLT diff tool.  It was fine because within his domain of discourse, differences and equality had a very restricted sense.    

In my favorite XML IDE there is a diff tool.  You can chose a number of modes, XML aware, line, character etc...  But often I fined plan old text base best.

My advice... If you can roll your own, or just used a vanilla diffing tool

best regards

Matt

On 30/07/07, Richard Salz < rsalz@u...> wrote:
> I will [probably] also be interested in XML cananonicalization (I
> have a copy - which I slightly modified - of James Clarke's), so if
> anyone knows of any good source for this process also ?

Check out the implementation of C14N that's part of various XML security
libraries.

        /r$

--
STSM, Senior Security Architect
DataPower SOA Appliances
http://www.ibm.com/software/integration/datapower/


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



  • Follow-Ups:
  • References:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.