OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Tools for comparing/merging =?UTF-8?Q?schemas=3F?=


You are in luck!  Check out the latest CAM v1.8 toolkit from sourceforge.net/projects/camprocessor

It will ingest XSD schema and create CAM templates for each one - now - go to Tools / Generation dictionary. For the first schema merge with the empty dictionary default, for second merge with results from first step and so on.

At the end of the process you will have one large dictionary.  Drag and drop that into Excel - and you can analyse the spreadsheet.  Now you can see what definition you have, duplicates, inconsistencies, context of use and more.

Additional steps you may want to consider.  On each template run the naming and design rules evaluation - Tools / Evaluate template.  It will highlight inconsistencies and potential issues.  It will also allow you to do a spell check.

Then there is also the renamer tool.  This will refactor names to make them more consistent.  It uses XSLT - so you could tune the naming rules to suit your domain abbreviations, acronyms and so on.

The aim is to allow you to take a collection of schema and iterate until you have a consistent dictionary of domain components.

Once you have that - then you can also run the Cross-reference tool - which will for each schema template - produce a report of matching components in the dictionary.

Want more?  You could reverse engineer the original schema using blueprints and the dictionary definitions - with the expander tool.  Then from those - write out new consistent XSD schema aligned with your dictionary.

Reverse engineering is always fun!

Enjoy, DW

-------- Original Message --------
Subject: [xml-dev] Tools for comparing/merging schemas?
From: "HILLMAN, Tomos" <tomos.hillman@oup.com>
Date: Thu, April 08, 2010 9:00 am
To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>

Hi List,

I've been asked to start a project looking at potentially merging from several to a single data model. Are there any tools that anyone can recommend for comparing (i.e. identifying conflicts between) schemas?

The data models in question are already somewhat modularized, with some shared content, and are currently defined by/validated against a set of DTDs (with some complex entity based inclusion) - but I'm more than happy to convert to schema or RELAX NG if there are good schema language specific tools out there. There are currently some elements which are 'extended' in one data model compared to others, and some where the definitions are completely different.

Thanks in advance!

Oxford University Press (UK) Disclaimer

This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. OUP does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of OUP. If this email has come to you in error, please delete it, along with any attachments. Please note that OUP may intercept incoming and outgoing email communications.


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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

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

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS