[
Lists Home |
Date Index |
Thread Index
]
Does anyone know of a good implementation for producing canonical XML (as
per W3C spec) ?
Basically I need to be able to compare to XML instances and be able to
determine any differences that may be significant from a business
stand-point. That is this difference is *NOT* significant <node></node> vs.
<node/>, but this might be <sumInsured>1000</sumInsured> vs.
<sumInsured>1000000</sumInsured>. So I need to be able to find any
differences then execute rules to determine whether the differences are of
interest.
I had thought about running each instance through a canonicalisation process
similar to what might be required in dig sig checking and then comparing the
results ??
In my case, one instance document will be coming in on an inbound HTTP
request and the second I will drag out of a state store. The point here is I
need something I can integrate into my processing rather than just a file
based or command line utility.
The programatic environment is predominatly Java based, and needs to run on
a variety of platforms. It may be that more than one technology will be
needed for each aspect (compare, rules).
Appreciate any guidance
Fraser.
|