Re: Interesting XSV message

Mark Feblowitz <mfeblowitz@frictionless.com> writes:

> In using today's build of XSV 1.4, I got the following message:
> 
> 		file:/OAGIS/BODs/ProcessPurchaseOrder.xsd:19:3: Invalid:
> Content model of None not actually a restriction of base type
> BusinessObjectDocument: a {http://www.openapplications.org/OAGIS}:DataArea
> element at node 1 of this model can't be matched by any edge leaving node 1
> of the base Base model: This model: 
> 
> I guessed (correctly) that the base type BusinessObjectDocument had a
> content model requiring an ApplicationArea element (minOccurs="1") but that
> the element ProcessPurchaseOrder (incorrectly reported as "None" in the
> error message), incorrectly changed the minOccurs to "0". 
> 
> In spite of the somewhat confusing error report, XSV now looks to catch an
> improper restriction in cardinality.

Sorry the message is obscure.  The None is the name of the derived
type definition.  There's a dump of the content model FSMs in the raw
XML -- I'll update the stylesheet, it should be showing them.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Monday, 19 November 2001 06:41:30 UTC