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:


Comments welcome.

Received on Saturday, 30 April 2011 22:20:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:19 UTC