[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ordered union of sequences

Subject: Re: Ordered union of sequences
From: Michael Müller-Hillebrand <mmh@xxxxxxxxxxxxx>
Date: Thu, 8 Apr 2010 18:01:17 +0200
Re:  Ordered union of sequences
Wolfgang,

Thanks for the warning/reminder! It is not planned to create a full schema
here, the complexType created is just a sequence of optional elements. At the
moment it isn't a sequence at all, they use <xs:all>, but want the sequence if
they have the method to find/correct the inconsistencies. The source data is
spread all over a 1000+ pages Reference Manual authored and changed by
humans.

- Michael

Am 08.04.2010 um 17:45 schrieb Wolfgang Laun:

> 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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.