Canonical XML Schema

Henry,

A while back you said (see below) that you had some form of 
canonicalization as part of XSV. Is this accessible for use?

If not, do you (or anyone else) know of any tools that will read an 
XML Schema file and generate a canonical version of it? By 
'canonical' I mean that all references to purely structural items are 
replaced with the actual items. Two schemas that produce exactly the 
same validation should be equal in their canonical form.

Regards,
Robin


At 3:44 PM +0100 7/13/00, Henry S. Thompson wrote:
>Robin LaFontaine <robin@monsell.co.uk> writes:
>
><snip/>
>
> > I wonder which approach your canonicalisation takes. I presume it also
> > looks at the structured document, and our tool could be useful in that
> > it should indicate that the output of your canonicalisation process is
> > 'equal' to the input.
>
>It's actually a side-effect (and originally a debugging tool) of the
>construction of XSV.  I just dump the internal representations of the
>schema components back out as XML, and yes, sort things such as
>attributes and disjuncts to normalise for side-effects in their
>internal ordering.
>
>ht
>--
>  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
>          W3C Fellow 1999--2001, part-time member of W3C Team
>     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
>		     URL: http://www.ltg.ed.ac.uk/~ht/

-- -----------------------------------------------------------------
Robin La Fontaine, Monsell EDM Ltd
(XML file comparison, Engineering data exchange and management using 
XML, R&D Project Management)
Tel: +44 1684 592 144 Fax: +44 1684 594 504
Email: robin@monsell.co.uk      http://www.deltaxml.com

Received on Wednesday, 28 February 2001 10:27:56 UTC