Subject: Re: Ordered union of sequences
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Thu, 8 Apr 2010 17:45:47 +0200
|
On Thu, Apr 8, 2010 at 3:28 PM, Michael M|ller-Hillebrand
<mmh@xxxxxxxxxxxxx> wrote:
>
> BTW, the idea behind this is to create part of an XML Schema from evaluating
document instances.
>
You do realize that this isn't possible. Any number of XML documents
you analyze, you can't be sure that the XML Schema contains
<xs:sequence>, <xs:all> or <xs:choice>, with minOccurs="0" or
maxOccurs="x" in the "right" place.
Have you considered investigating the approach of using "exclusion by
contradiction"? Rather than trying to construct the correct ordering,
look for contradictions to one of the aforementioned particle
structures, and use whatever remains.
-W
| Current Thread |
|
Wolfgang Laun - 8 Apr 2010 15:46:11 -0000 <=
|
|