W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2011

ANN: Algorithm for Merging a simpleType Dependency Chain

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 30 Apr 2011 18:20:18 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB50053EE989B4@IMCMBX3.MITRE.ORG>
Hi Folks,

An XML Schema simpleType can have a base type. And that base type may have a base type. And so on.  Further, the types may be in different schema files and in different namespaces.

Determining the constraints on a simpleType in this "dependency chain" can be challenging.

I created an algorithm for merging all the constraints in the dependency chain and rendering a single, standalone simpleType:

http://www.xfront.com/XML-Schema-library/papers/Algorithm-for-Merging-a-simpleType-Dependency-Chain.pdf 

Comments welcome.

/Roger
Received on Saturday, 30 April 2011 22:20:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 30 April 2011 22:20:49 GMT